在ubuntu 11.10下编译linux内核出现如下错误:

​​echo@echo-desktop:~/freescale/kernel/src/linux-2.6.35-sitek20091229$​​ 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] 错误 1
make: *** [menuconfig] 错误 2

解决方法:

 apt-get install ncurses-dev安装即可,再输入make menuconfig即可。