mconf.c:(.text+0x744): undefined reference to `stdscr' 当make menuconfig时

来源:互联网 发布:明解c语言 mobi 编辑:程序博客网 时间:2024/06/06 09:00

aspirs@aspirs-virtual-machine:/work/linux-3.0.86$ make menuconfig
  HOSTLD  scripts/kconfig/mconf
scripts/kconfig/mconf.o: In function `show_help':
mconf.c:(.text+0x744): undefined reference to `stdscr'
scripts/kconfig/mconf.o: In function `main':
mconf.c:(.text.startup+0x66): undefined reference to `initscr'
mconf.c:(.text.startup+0x6d): 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'

......

解决方法:

sudo apt-get install libncurses5 libncurses5-dev

0 0