在ubuntu11.10下编译Linux内核,执行make menuconfig 报错如下:
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 库未安装。
解决办法:
安装ncurses 库。
sudo apt-get install libncurses5-dev
或者
sudo apt-get install ncurses-dev