在内核编译时, 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
这是因为Ubuntu系统中没有ncurses libraries的库。
解决方法:
在连网状态下,输入命令apt-get install libncurses5-dev,安装完成后