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

问题:在Linux环境make menuconfig的时候出现一下错误。
In file included from scripts/kconfig/lxdialog/checklist.c:24:0:
scripts/kconfig/lxdialog/dialog.h:32:20: fatal error: curses.h: No such file or directory
compilation terminated.
make[1]: *** [scripts/kconfig/lxdialog/checklist.o] Error 1
make: *** [menuconfig] Error 2

解决办法:

红帽或者FC的安装ncurses-devel

sudo yum install ncurses-devel

Ubuntu的需要安装libncurses5-dev

sudo apt-get install libncurses5-dev


你可能感兴趣的:(嵌入式开发)