在之前的一篇文章linux内核2.6升级到3.11.4 http://blog.csdn.net/ssergsw/article/details/16828081中,我给出了一种升级内核的方法,但有时候升级却没有那么顺利,有时make menuconfig时出错如下:

HOSTCC  scripts/basic/fixdep

  HOSTCC scripts/kconfig/conf.o

 *** Unable to find the ncurses libraries orthe

 *** required header files.

 *** 'make menuconfig' requires the ncurseslibraries.

 ***

 *** Install ncurses (ncurses-devel) and tryagain.

 ***

make[1]:*** [scripts/kconfig/dochecklxdialog] Error 1

make:*** [menuconfig] Error 2

这是由于缺少 ncurses-devel导致的,centos下执行命令:

yum install -y ncurses-devel就可以了


Logo

openEuler 是由开放原子开源基金会孵化的全场景开源操作系统项目,面向数字基础设施四大核心场景(服务器、云计算、边缘计算、嵌入式),全面支持 ARM、x86、RISC-V、loongArch、PowerPC、SW-64 等多样性计算架构

更多推荐