mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Got error while building luajit when trying t


From: Nagaev Boris
Subject: Re: [Mingw-cross-env-list] Got error while building luajit when trying to make MXE
Date: Fri, 3 Mar 2017 01:26:41 +0000

On Thu, Mar 2, 2017 at 12:36 AM, Hello World <address@hidden> wrote:
> 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?
>

Hi

It looks you hasn't required packages: http://mxe.cc/#requirements-debian
(The package you need to fix this particular error is libc6-dev-i386.)

You can use script ./tools/install-deps to install all the
requirements automatically.

-- 
Best regards,
Boris Nagaev



reply via email to

[Prev in Thread] Current Thread [Next in Thread]