1.具体错误如下
hui@ubuntu:~/bb/shell/linux-4.9.38$ make menuconfig HOSTCC scripts/kconfig/mconf.o In file included from scripts/kconfig/mconf.c:23:0: scripts/kconfig/lxdialog/dialog.h:38:20: fatal error: curses.h: No such file or directory compilation terminated. scripts/Makefile.host:124: recipe for target 'scripts/kconfig/mconf.o' failed make[1]: *** [scripts/kconfig/mconf.o] Error 1 Makefile:546: recipe for target 'menuconfig' failed make: *** [menuconfig] Error 2
2.解决办法:sudo apt-get install libncurses5-dev
3.查看make menuconfig效果
需要程序源码的可以加我微信x241602私聊。