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
问题解决