您尚未登录。

楼主 # 2024-03-12 15:50:31

EKE
会员
注册时间: 2023-11-13
已发帖子: 19
积分: 4

编译buildroot报错

/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

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn