Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LuaJIT error with Lakka RPi2 #113

Open
RobLoach opened this issue Jul 21, 2017 · 2 comments
Open

LuaJIT error with Lakka RPi2 #113

RobLoach opened this issue Jul 21, 2017 · 2 comments

Comments

@RobLoach
Copy link
Member

Lakka error on RPi2 when compiling LuaJIT....

DISTRO=Lakka PROJECT=RPi2 ARCH=arm make noobs -j8
/Lakka-LibreELEC/build.Lakka-RPi2.arm-8.0-devel/toolchain/bin/host-gcc -m32  -O2 -fomit-frame-pointer -Wall  -O3 -fPIC -I. -DLUAJIT_TARGET=LUAJIT_ARCH_arm -DLJ_ARCH_HASFPU=1 -DLJ_ABI_SOFTFP=0  -c -o host/buildvm_lib.o host/buildvm_lib.c
In file included from host/buildvm_lib.c:6:0:
host/buildvm.h:9:23: fatal error: sys/types.h: No such file or directory
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
compilation terminated.
compilation terminated.
In file included from host/buildvm_peobj.c:9:0:
host/buildvm.h:9:23: fatal error: sys/types.h: No such file or directory
compilation terminated.
make[2]: *** [Makefile:662: host/buildvm_asm.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile:662: host/buildvm_peobj.o] Error 1
make[2]: *** [Makefile:662: host/buildvm_lib.o] Error 1
In file included from /usr/include/limits.h:25:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:168,
                 from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:34,
                 from host/minilua.c:33:
/usr/include/features.h:367:25: fatal error: sys/cdefs.h: No such file or directory
compilation terminated.
make[2]: *** [Makefile:662: host/minilua.o] Error 1
make[2]: Leaving directory 'Lakka-LibreELEC/build.Lakka-RPi2.arm-8.0-devel/lutro-d11a593/deps/luajit/src'
make[1]: *** [Makefile:277: deps/luajit/src/libluajit.a] Error 2
make[1]: Leaving directory 'Lakka-LibreELEC/build.Lakka-RPi2.arm-8.0-devel/lutro-d11a593'
Makefile:15: recipe for target 'noobs' failed
make: *** [noobs] Error 2
@kivutar
Copy link
Member

kivutar commented Jul 21, 2017

Yes it's a known issue, you need to install some lib32, I don't remember which ones

@gouchi
Copy link
Member

gouchi commented Aug 22, 2018

Try to install libc6-dev-i386 package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants