Ubuntu 12.04下执行make menuconfig的时候报如下错误:
www.linuxidc.com @www.linuxidc.com:~/work/linux_3.9.5/linux-3.9.5$ make menuconfig
HOSTLD scripts/kconfig/mconf
scripts/kconfig/mconf.o: In function `show_help’:
mconf.c:(.text+0x764): undefined reference to `stdscr’
scripts/kconfig/lxdialog/checklist.o: In function `print_arrows’:
checklist.c:(.text+0x41): undefined reference to `wmove’
checklist.c:(.text+0x61): undefined reference to `acs_map’
checklist.c:(.text+0x69): undefined reference to `waddch’
checklist.c:(.text+0x7b): undefined reference to `waddnstr’
checklist.c:(.text+0x8c): undefined reference to `wmove’
checklist.c:(.text+0xb3): undefined reference to `acs_map’
checklist.c:(.text+0xbb): undefined reference to `waddch’
checklist.c:(.text+0x10b): undefined reference to `acs_map’
解决办法:
sudo apt-get install libncurses5 libncurses5-dev
更多Ubuntu相关信息见Ubuntu 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=2