make menuconfig时报错

fei@ubuntu:/opt/GTStudio/GT2440/linux-2.6.30.4$ 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
fei@ubuntu:/opt/GTStudio/GT2440/linux-2.6.30.4$

原因是没有安装ncurses-devel库,现在虚拟机上网有点问题,改天安装库再试。

后续:解决方法是安装ncurses-devel库。

输入命令:sudo apt-get install libncurses5-dev(运行环境ubuntu 10.04)

原文地址:https://www.cnblogs.com/wangf/p/2617604.html