升级内核遇到的问题
我的内核
[root@sss src]# uname -a
Linux sss 2.4.21-15.EL #1 Thu Apr 22 00:27:41 EDT 2004 i686 i686 i386 GNU/Linux
在
http://www.kernel.org/pub/linux/kernel/v2.6/下载了tar包
linux-2.6.6.tar.gz
#tar zxvf linux-2.6.6.tar.gz
#cd linux-2.6.6
#make menuconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/split-include
HOSTCC scripts/basic/docproc
SHIPPED scripts/kconfig/zconf.tab.h
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/mconf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
HOSTCC -fPIC scripts/kconfig/zconf.tab.o
HOSTLLD -shared scripts/kconfig/libkconfig.so
HOSTLD scripts/kconfig/mconf
HOSTCC scripts/lxdialog/checklist.o
In file included from scripts/lxdialog/checklist.c:24:
scripts/lxdialog/dialog.h:29:20: curses.h: No such file or directory
make[2]: *** [scripts/lxdialog/checklist.o] Error 1
make[1]: *** [menuconfig] Error 2
make: *** [menuconfig] Error 2
一开始以为是下载的包有问题,但重新下载和上传服务器的时候改用二进制模式都存在问题,那位高手知道这个问题要怎么解决吗?
谢了
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(8)
up
make clean
make mrproper
make menuconfig
还是没有用:(
[root@sss linux-2.6.6]# make clear
Makefile:434: .config: No such file or directory
make: *** No rule to make target `clear'. Stop.
[root@sss linux-2.6.6]# make mrproper
CLEAN scripts/basic
CLEAN scripts/kconfig
CLEAN .version
[root@sss linux-2.6.6]# make menuconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/split-include
HOSTCC scripts/basic/docproc
SHIPPED scripts/kconfig/zconf.tab.h
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/mconf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
HOSTCC -fPIC scripts/kconfig/zconf.tab.o
HOSTLLD -shared scripts/kconfig/libkconfig.so
HOSTLD scripts/kconfig/mconf
HOSTCC scripts/lxdialog/checklist.o
In file included from scripts/lxdialog/checklist.c:24:
scripts/lxdialog/dialog.h:29:20: curses.h: No such file or directory
make[2]: *** [scripts/lxdialog/checklist.o] Error 1
make[1]: *** [menuconfig] Error 2
make: *** [menuconfig] Error 2
[root@sss linux-2.6.6]#
up
提示一下, kernel source 一般应该是放在 /usr/src 下的, 放在别的目录可能会有问题的.
另外, 从2.4 升到 2.6 有很多事情要做, 不只是 kernel 这么简单. 楼主要有准备.
谢谢
我就是把他放在了/usr/src/下面,
其他的还有什么事情要做吗?
再次感谢
up
搞笑, 人家明明让你 make clean...你却来一个make clear...