LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 776|回复: 0

Redhat8.0内核2.4.18升级到2.6.x的问题,请教了,谢谢!

[复制链接]
发表于 2005-3-27 16:58:26 | 显示全部楼层 |阅读模式
第一次下载了2.6.15内核,提示如下错误:

[root@autofei linux]# make xconfig
HOSTCC scripts/basic/fixdep
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: No such file or directory
make[1]: *** [scripts/basic/split-include] Error 1
make: *** [scripts_basic] Error 2
[root@autofei linux]# make menuconfig
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: No such file or directory
make[1]: *** [scripts/basic/split-include] Error 1
make: *** [scripts_basic] Error 2

今天下载了2.6.0内核,提示如下错误:

[root@autofei linux]# make xconfig
make[1]: `scripts/fixdep' is up to date.
HOSTCC scripts/kconfig/mconf.o
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/kconfig/mconf.c:12:
/usr/include/asm/errno.h:4:31: asm-generic/errno.h: No such file or directory
scripts/kconfig/mconf.c: In function `exec_conf':
scripts/kconfig/mconf.c:243: `EINTR' undeclared (first use in this function)
scripts/kconfig/mconf.c:243: (Each undeclared identifier is reported only once
scripts/kconfig/mconf.c:243: for each function it appears in.)
scripts/kconfig/mconf.c:243: `EAGAIN' undeclared (first use in this function)
make[1]: *** [scripts/kconfig/mconf.o] Error 1
make: *** [xconfig] Error 2

请问如何解决这个问题。
我按照“Linux内核编译详解”http://www.linuxsir.cn/forum.php ... mp;tid=977来做的
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表