make menuconfig 报错 undefined reference

错误信息如下:

mconf.c:(.text+0x1256): undefined reference to `initscr'

mconf.c:(.text+0x125d): 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'
checklist.c:(.text+0x113): undefined reference to `waddch'
checklist.c:(.text+0x11a): undefined reference to `acs_map'
checklist.c:(.text+0x122): undefined reference to `waddch'
checklist.c:(.text+0x129): undefined reference to `acs_map'
checklist.c:(.text+0x131): undefined reference to `waddch'
checklist.c:(.text+0x138): undefined reference to `acs_map'
checklist.c:(.text+0x183): undefined reference to `acs_map'
checklist.c:(.text+0x18b): undefined reference to `waddch'
checklist.c:(.text+0x192): undefined reference to `acs_map'
checklist.c:(.text+0x19a): undefined reference to `waddch'
checklist.c:(.text+0x1a1): undefined reference to `acs_map'
checklist.c:(.text+0x1a9): undefined reference to `waddch'
checklist.c:(.text+0x1b0): undefined reference to `acs_map'
checklist.c:(.text+0x1b8): undefined reference to `waddch'
scripts/kconfig/lxdialog/checklist.o: In function `print_item':
checklist.c:(.text+0x245): undefined reference to `wmove'
checklist.c:(.text+0x26d): undefined reference to `waddch'
checklist.c:(.text+0x287): undefined reference to `wmove'
checklist.c:(.text+0x2e0): undefined reference to `wmove'
checklist.c:(.text+0x2f2): undefined reference to `waddch'
checklist.c:(.text+0x31e): undefined reference to `waddnstr'
checklist.c:(.text+0x337): undefined reference to `wmove'
checklist.c:(.text+0x33f): undefined reference to `wrefresh'
checklist.c:(.text+0x378): undefined reference to `wprintw'
scripts/kconfig/lxdialog/checklist.o: In function `print_buttons':
checklist.c:(.text+0x433): undefined reference to `wmove'
scripts/kconfig/lxdialog/checklist.o: In function `dialog_checklist':
checklist.c:(.text+0x585): undefined reference to `stdscr'
checklist.c:(.text+0x5d2): undefined reference to `COLS'
checklist.c:(.text+0x5e6): undefined reference to `stdscr'
checklist.c:(.text+0x5f3): undefined reference to `LINES'
checklist.c:(.text+0x626): undefined reference to `newwin'
checklist.c:(.text+0x636): undefined reference to `keypad'
checklist.c:(.text+0x67e): undefined reference to `wmove'

checklist.c:(.text+0x68a): undefined reference to `acs_map'




解决方法:

sudo apt-get install libncurses5-dev

猜你喜欢

转载自blog.csdn.net/abf1234444/article/details/53862658
今日推荐