make menuconfig时出现 #include CURSES_LOC错误

来源:互联网 发布:淘宝客服售后话术技巧 编辑:程序博客网 时间:2024/05/16 09:25

In file included from scripts/kconfig/lxdialog/checklist.c:24:0:

scripts/kconfig/lxdialog/dialog.h:31:20: fatal error: curses.h: 没有那个文件或目录

 #include CURSES_LOC

                    ^

compilation terminated.

make[2]: *** [scripts/kconfig/lxdialog/checklist.o] 错误 1

make[1]: *** [menuconfig] 错误 2

make: *** [menuconfig] 错误 2


这是因为ubuntu系统中缺少一个套件 ncurses devel

sudo apt-get install libncurses5-dev


转自:  http://xouou.iteye.com/blog/2154702


0 0