您的位置:首页 > 其它

fatal error: curses.h: 没有那个文件或目录

2018-02-08 20:52 465 查看
编译内核前make menuconfig报错:
ern@MI:~/kernel/linux-4.4.115$ 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: 没有那个文件或目录
compilation terminated.
scripts/Makefile.host:108: recipe for target 'scripts/kconfig/mconf.o' failed
make[1]: *** [scripts/kconfig/mconf.o] Error 1
Makefile:542: recipe for target 'menuconfig' failed
make: *** [menuconfig] Error 2
是由于缺少libncurses5-dev。sudo apt-get install libncurses5-dev安装一下就可以解决了。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐