在ubuntu 14.04下配置编译Linux内核源码时,进行“make menuconfig”配置时会报出下边错误:
wangliang@wangliang-virtual-machine:~/LinuxSysSource/Source/linux-3.2.0-psp04.06.00.11$ make menuconfig
*** Unable to find the ncurses libraries or the*** required header files.
*** 'make menuconfig' requires the ncurses libraries.
***
*** Install ncurses (ncurses-devel) and try again.
***
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
make: *** [menuconfig] Error 2
主要是缺少ncurses libraries引起的,可以进行下边操作:
$ sudo apt-get install ncurses-dev
如果你已经是root ,就没有必要 sudo 了。待安装完毕后,再执行make menuconfig命令就可以了!