问题描述:这类问题的解决办法,提示少什么我们直接用sudo apt-get install 安装缺少的东西即可
如果使用make menuconfig的方式配置内核,又碰巧系统没有安装ncurses库(ubuntu系统
默认就没有安装此库),就会出现错误,错误信息大体上如下:
kent@hu:~/work/03-kernel/linux-4.15.1$ 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.
***
scripts/kconfig/Makefile:202: recipe for target 'scripts/kconfig/dochecklxdialog' failed
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
Makefile:504: recipe for target 'menuconfig' failed
make: *** [menuconfig] Error 2
解决办法: apt-get install libncurses5-dev