首页 > 代码库 > make menuconfig 出错

make menuconfig 出错

运行 #make menuconfig

1   HOSTLD  scripts/kconfig/mconf2 scripts/kconfig/mconf.o: In function `main:3 mconf.c:(.text.startup+0x6a): undefined reference to `stdscr

 

 1 menubox.c:(.text+0x110a): undefined reference to `waddch 2 scripts/kconfig/lxdialog/menubox.o: In function `do_scroll: 3 menubox.c:(.text+0x36): undefined reference to `wrefresh 4 scripts/kconfig/lxdialog/menubox.o: In function `do_print_item: 5 menubox.c:(.text+0x184): undefined reference to `wrefresh 6 scripts/kconfig/lxdialog/menubox.o: In function `print_buttons: 7 menubox.c:(.text+0x274): undefined reference to `wrefresh 8 scripts/kconfig/lxdialog/menubox.o: In function `print_arrows.constprop.0: 9 menubox.c:(.text+0x383): undefined reference to `wrefresh10 collect2: error: ld returned 1 exit status11 make[1]: *** [scripts/kconfig/mconf] Error 112 make: *** [menuconfig] Error 2

缺少了ncurses 库

1 sudo apt-get install libncurses5-dev

 

make menuconfig 出错