ubuntu14 make menuconfig 出错

~/TOOLS/linux-2.6.32.2$ 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
~/TOOLS/linux-2.6.32.2$ make menuconfig ARCH=arm CROSS_COMPILE=arm-linux-
* 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

解决办法:
sudo apt-get install libncurses5-dev

你可能感兴趣的:(ubuntu)