/usr/bin/make all "LJCORE_O=ljamalg.o"
HOSTCC host/minilua.o
HOSTCC host/buildvm_asm.o
HOSTCC host/buildvm_peobj.o
HOSTCC host/buildvm_lib.o
HOSTCC host/buildvm_fold.o
In file included from /usr/include/bits/errno.h:24:0,
from /usr/include/errno.h:35,
from host/buildvm.h:13,
from host/buildvm_asm.c:6:
/usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such file or directory
compilation terminated.
In file included from /usr/include/bits/errno.h:24:0,
from /usr/include/errno.h:35,
from host/buildvm.h:13,
from host/buildvm_peobj.c:9:
/usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such file or directory
compilation terminated.
Makefile:664: recipe for target 'host/buildvm_asm.o' failed
make[4]: *** [host/buildvm_asm.o] Error 1
make[4]: *** Waiting for unfinished jobs....
Makefile:664: recipe for target 'host/buildvm_peobj.o' failed
make[4]: *** [host/buildvm_peobj.o] Error 1
In file included from /usr/include/bits/errno.h:24:0,
from /usr/include/errno.h:35,
from host/buildvm.h:13,
from host/buildvm_fold.c:6:
/usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such file or directory
compilation terminated.
Makefile:664: recipe for target 'host/buildvm_fold.o' failed
make[4]: *** [host/buildvm_fold.o] Error 1
In file included from /usr/include/bits/errno.h:24:0,
from /usr/include/errno.h:35,
from host/buildvm.h:13,
from host/buildvm_lib.c:6:
/usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such file or directory
compilation terminated.
Makefile:664: recipe for target 'host/buildvm_lib.o' failed
make[4]: *** [host/buildvm_lib.o] Error 1
In file included from /usr/include/bits/errno.h:24:0,
from /usr/include/errno.h:35,
from host/minilua.c:40:
/usr/include/linux/errno.h:1:23: fatal
解决办法:sudo apt-get install linux-libc-dev:i386
离线