当前位置: 技术问答>linux和unix
编译2.6的内核时遇到一个错误
来源: 互联网 发布时间:2015-09-30
本文导语: [root@localhost linux]# make config HOSTCC scripts/basic/split-include In file included from /usr/include/linux/errno.h:4, from /usr/include/bits/errno.h:25, from /usr/include/errno.h:36, from scripts/basic/split-include.c:26: /usr/include/asm/errno.h:4:31: asm-generic/err...
[root@localhost linux]# make config
HOSTCC scripts/basic/split-include
In file included from /usr/include/linux/errno.h:4,
from /usr/include/bits/errno.h:25,
from /usr/include/errno.h:36,
from scripts/basic/split-include.c:26:
/usr/include/asm/errno.h:4:31: asm-generic/errno.h: 没有那个文件或目录
make[1]: *** [scripts/basic/split-include] 错误 1
make: *** [scripts_basic] 错误 2
HOSTCC scripts/basic/split-include
In file included from /usr/include/linux/errno.h:4,
from /usr/include/bits/errno.h:25,
from /usr/include/errno.h:36,
from scripts/basic/split-include.c:26:
/usr/include/asm/errno.h:4:31: asm-generic/errno.h: 没有那个文件或目录
make[1]: *** [scripts/basic/split-include] 错误 1
make: *** [scripts_basic] 错误 2
|
你的源代码包不完整,缺少asm-generic/errno.h
|
重下一个