/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
Lakka error on RPi2 when compiling LuaJIT....