[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mingw-cross-env-list] Got error while building luajit when trying to ma
From: |
Hello World |
Subject: |
[Mingw-cross-env-list] Got error while building luajit when trying to make MXE |
Date: |
Thu, 02 Mar 2017 08:36:51 +0800 |
Got error while building luajit in Ubuntu14.04 x86_64, here's the log
file(mxe/log/luajit_i686-w64-mingw32.static):
==== Building LuaJIT 2.0.4 ====
make -C src
make[3]: Entering directory
`/opt/mxe/tmp-luajit-i686-w64-mingw32.static/LuaJIT-2.0.4/src'
HOSTCC host/minilua.o
HOSTCC host/buildvm_asm.o
In file included from /usr/include/limits.h:25:0,
from
/usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed/limits.h:168,
from
/usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed/syslimits.h:7,
from
/usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed/limits.h:34,
from host/minilua.c:33:
/usr/include/features.h:374:25: fatal error: sys/cdefs.h: No such file or
directory
# include <sys/cdefs.h>
^
compilation terminated.
In file included from host/buildvm_asm.c:6:0:
host/buildvm.h:9:23: fatal error: sys/types.h: No such file or directory
#include <sys/types.h>
^
compilation terminated.
make[3]: *** [host/minilua.o] Error 1
make[3]: *** Waiting for task finishing....
make[3]: *** [host/buildvm_asm.o] Error 1
make[3]:Leaving directory
`/opt/mxe/tmp-luajit-i686-w64-mingw32.static/LuaJIT-2.0.4/src'
make[2]: *** [src/luajit] Error 2
make[2]:Leaving directory
`/opt/mxe/tmp-luajit-i686-w64-mingw32.static/LuaJIT-2.0.4'
make[1]: *** [build-only-luajit_i686-w64-mingw32.static] Error 2
make[1]:Leaving directory `/opt/mxe'
real 0m6.902s
user 0m5.524s
sys 0m0.148s
Anyone know what's going on??
How to fix this error?
- [Mingw-cross-env-list] Got error while building luajit when trying to make MXE,
Hello World <=