lovejobs

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

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效果

posted on 2020-01-13 21:32  lovejobs  阅读(1649)  评论(0编辑  收藏  举报