Under Debian x64 (Oracle VM) Target RPi2
Now im having this problem when compiling lakka
/home/saitoh00/Lakka/build.Lakka-RPi2.arm-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_asm.o host/buildvm_asm.c 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 #include <sys/types.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. In file included from /usr/include/limits.h:25:0, from /usr/lib/gcc/x86_64-linux-gnu/4.9/include-fixed/limits.h:168, from /usr/lib/gcc/x86_64-linux-gnu/4.9/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-linux-gnu/4.9/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. Makefile:661: recipe for target ‘host/minilua.o’ failed make[2]: *** [host/minilua.o] Error 1 make[2]: *** Waiting for unfinished jobs… Makefile:661: recipe for target ‘host/buildvm_asm.o’ failed make[2]: *** [host/buildvm_asm.o] Error 1 Makefile:661: recipe for target ‘host/buildvm_peobj.o’ failed make[2]: *** [host/buildvm_peobj.o] Error 1 make[2]: Leaving directory ‘/home/saitoh00/Lakka/build.Lakka-RPi2.arm-devel/lutro-ff99b7d/deps/luajit/src’ Makefile:137: recipe for target ‘deps/luajit/src/libluajit.a’ failed make[1]: *** [deps/luajit/src/libluajit.a] Error 2 make[1]: *** Waiting for unfinished jobs… make[1]: Leaving directory ‘/home/saitoh00/Lakka/build.Lakka-RPi2.arm-devel/lutro-ff99b7d’ Makefile:12: recipe for target ‘image’ failed make: *** [image] Error 2 saitoh00@debian:~/Lakka$
What am i doing wrong?