现在新写了一篇文章关于使用linux中遇到的问题汇总。(点击 -->Linux内核使用中遇到的问题汇总)
错误信息:
(ps: 当前系统:Linux labpc 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux)
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:108: recipe for target 'scripts/kconfig/mconf.o' failed
make[1]: *** [scripts/kconfig/mconf.o] Error 1
Makefile:541: recipe for target 'menuconfig' failed
make: *** [menuconfig] Error 2
原因:
通过查找资料与实验,发现是系统不支持图形显示。
解决方法:
sudo apt-get install libncurses5-dev