fedora21 执行make menuconfig 出错解决

时间:2022-06-21 07:08:11

平台(loongson MIPS架构)

配置内核时,执行make menuconfig出错错误:


[(100) root@Fedora~/linux_loongson/linux-4.4-master]#make menuconfig
HOSTCC scripts/kconfig/mconf.o
In file included from scripts/kconfig/mconf.c:23:0:
scripts/kconfig/lxdialog/dialog.h:38:20: 致命错误:curses.h:没有那个文件或目录
#include CURSES_LOC
^
编译中断。
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


解决:

百度后发现是缺少某些库:

执行:

yum install *curses* -y

发现问题解决了。

当然,现在也没有确定到底是缺少那个库文件,如果那个大神知道,可以留言告诉一声,谢谢了。