当前位置: 技术问答>linux和unix
编译2.6.0test1的问题
来源: 互联网 发布时间:2015-03-31
本文导语: 编译最新核心2.6.0test1,安步骤解压后,当我敲入make xconfig时,系统提示: HOSTCC scripts/split-include In file included from /usr/include/linux/errno.h:4, from /usr/include/bits/errno.h:25, ...
编译最新核心2.6.0test1,安步骤解压后,当我敲入make xconfig时,系统提示:
HOSTCC scripts/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/split-include.c:26:
/usr/include/asm/errno.h:4:31: asm-generic/errno.h: No such file or directory
make[1]: *** [scripts/split-include] Error 1
make: *** [scripts] Error 2
我检查系统文件都存在,不知为什么,谁给我点指点,先谢了。
HOSTCC scripts/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/split-include.c:26:
/usr/include/asm/errno.h:4:31: asm-generic/errno.h: No such file or directory
make[1]: *** [scripts/split-include] Error 1
make: *** [scripts] Error 2
我检查系统文件都存在,不知为什么,谁给我点指点,先谢了。
|
-I选项里的头文件目录下有asm-generic子目录?
|
asm-generic/errno.h找不到。include路径里没有asm-generic子目录或者子目录下没有errno.h。