LINUX内核升级错误提示解决方法
2010-10-31 22:26
501 查看
定制内核make menuconfig
出现错误1:configure: error: C++ preprocessor "/lib/cpp" fails sanity check See `config.log' for more details
是header和gcc没有安装的缘故,
rpm -ivh glibc-headers-2.5-12.i386.rpm
rpm -ivh gcc*即可
或
yum install libstdc++-devel.i386
出现错误2:
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h: No such file or directory
In file included from scripts/kconfig/lxdialog/checklist.c:24:
----------
scripts/kconfig/lxdialog/checklist.c:220: error: 'FALSE' undeclared (first use in this error: 'KEY_RESIZE' undeclared (first use in this function)
make[1]: *** [scripts/kconfig/lxdialog/checklist.o] Error 1
make: *** [menuconfig] Error 2
安装libncurses5-dev即可
即安装rpm -ivh ncurses-devel-5.5-24.20060715.i386.rpm
yum install ncurses-devel.i386
不出错后继续定制内核.可以正常进行内核配置了.OHOH
出现错误1:configure: error: C++ preprocessor "/lib/cpp" fails sanity check See `config.log' for more details
是header和gcc没有安装的缘故,
rpm -ivh glibc-headers-2.5-12.i386.rpm
rpm -ivh gcc*即可
或
yum install libstdc++-devel.i386
出现错误2:
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h: No such file or directory
In file included from scripts/kconfig/lxdialog/checklist.c:24:
----------
scripts/kconfig/lxdialog/checklist.c:220: error: 'FALSE' undeclared (first use in this error: 'KEY_RESIZE' undeclared (first use in this function)
make[1]: *** [scripts/kconfig/lxdialog/checklist.o] Error 1
make: *** [menuconfig] Error 2
安装libncurses5-dev即可
即安装rpm -ivh ncurses-devel-5.5-24.20060715.i386.rpm
yum install ncurses-devel.i386
不出错后继续定制内核.可以正常进行内核配置了.OHOH
相关文章推荐
- 编译升级linux由2.4.20-8到2.6.10内核时,遇到的错误,以及解决方法
- linux下mysql提示"mysql deamon failed to start"错误的解决方法
- linux升级内核,出现:mount:could not find filesystem‘/dev/root’的解决方法
- linux3.0.1内核下V4L2接口使用zc301摄像头出现segment fault错误的解决方法
- 安装Linux时,“引导分区位于一个GPT分区方案的错误提示”的解决方法
- win8升级win8.1系统失败提示错误代码0x80070006 - 0x2000c的解决方法
- GCC-4.6.3编译linux2.6.32.12内核出现“重复的成员‘page’”错误的解决方法
- Linux升级内核虽然我按照上面的方法没有成功,原因是镜像地址下载太慢导致的,后续知道怎么解决后在评论中给出方案
- linux 在使用ssh实现内网互联互通时候提示connected by ip 错误的解决方法
- VMware Workstation虚拟机中的linux系统打不开,提示“锁定文件失败 打不开磁盘“错误的解决方法
- linux升级内核,出现:mount:could not find filesystem‘/dev/root’的解决方法
- linux下mysql提示"mysql deamon failed to start"错误的解决方法
- 重新安装系统后 Sql Server 2005 升级注意!以及执行attach 错误,提示05错误的解决方法!
- Linux下安装Oracle数据库时,提示内核参数检查失败解决方法
- Linux服务器提示No space left on device错误解决方法
- Windows SP3升级出现0x80070002错误提示的解决方法.
- linux下mysql提示"mysql deamon failed to start"错误的解决方法
- linux内核编译过程中出现两个错误的解决方法~!
- linux-2.6.32内核 linux-fusion-8.1.1编译错误解决方法
- iscsitarget 在Linux2.6.32内核上编译 若干编译错误与解决方法(备忘)