Ubuntu 12.04编译kernel,make menuconfig错误


Ubuntu 12.04下执行make menuconfig的时候报如下错误:

www.bkjia.com @www.bkjia.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

相关内容

    暂无相关文章