• 编译busybox 遇到的一个编译错误


    今天要移植一个busybox 遇到个小错误 记录一下

    解决方法:

    sudo apt-get install libncurses5-dev

    编译的错误:

    yuanwei@buildserver:~/develop/8x25q/8x25q_3070/system/core/busybox-1.22.0$ make clean
      CLEAN   applets
      CLEAN   .kernelrelease
    yuanwei@buildserver:~/develop/8x25q/8x25q_3070/system/core/busybox-1.22.0$ make menuconfig
      HOSTCC  scripts/basic/fixdep
      HOSTCC  scripts/basic/split-include
    scripts/basic/split-include.c: In function ?.ain?.
    scripts/basic/split-include.c:134:11: warning: ignoring return value of ?.gets?. declared with attribute warn_unused_result [-Wunused-result]
      HOSTCC  scripts/basic/docproc
      HOSTCC  scripts/kconfig/conf.o
    scripts/kconfig/conf.c: In function ?.onf_choice?.
    scripts/kconfig/conf.c:354:9: warning: ignoring return value of ?.gets?. declared with attribute warn_unused_result [-Wunused-result]
    scripts/kconfig/conf.c: In function ?.onf_askvalue?.
    scripts/kconfig/conf.c:106:8: warning: ignoring return value of ?.gets?. declared with attribute warn_unused_result [-Wunused-result]
      HOSTCC  scripts/kconfig/kxgettext.o
      HOSTCC  scripts/kconfig/mconf.o
    scripts/kconfig/mconf.c: In function ?.how_textbox?.
    scripts/kconfig/mconf.c:847:7: warning: ignoring return value of ?.rite?. declared with attribute warn_unused_result [-Wunused-result]
    scripts/kconfig/mconf.c: In function ?.xec_conf?.
    scripts/kconfig/mconf.c:481:6: warning: ignoring return value of ?.ipe?. declared with attribute warn_unused_result [-Wunused-result]
      HOSTCC  scripts/kconfig/zconf.tab.o
      HOSTLD  scripts/kconfig/mconf
      HOSTCC  scripts/kconfig/lxdialog/checklist.o
      HOSTCC  scripts/kconfig/lxdialog/inputbox.o
      HOSTCC  scripts/kconfig/lxdialog/lxdialog.o
    scripts/kconfig/lxdialog/lxdialog.c: In function ?._inputbox?.
    scripts/kconfig/lxdialog/lxdialog.c:192:3: warning: format not a string literal and no format arguments [-Wformat-security]
      HOSTCC  scripts/kconfig/lxdialog/menubox.o
      HOSTCC  scripts/kconfig/lxdialog/msgbox.o
      HOSTCC  scripts/kconfig/lxdialog/textbox.o
      HOSTCC  scripts/kconfig/lxdialog/util.o
      HOSTCC  scripts/kconfig/lxdialog/yesno.o
      HOSTLD  scripts/kconfig/lxdialog/lxdialog
    scripts/kconfig/lxdialog/lxdialog.o: In function `main':
    lxdialog.c:(.text.startup+0x1ed): undefined reference to `COLS'
    lxdialog.c:(.text.startup+0x1f3): undefined reference to `LINES'
    lxdialog.c:(.text.startup+0x1fa): undefined reference to `stdscr'
    lxdialog.c:(.text.startup+0x206): undefined reference to `stdscr'
    lxdialog.c:(.text.startup+0x20b): undefined reference to `wrefresh'
    lxdialog.c:(.text.startup+0x21c): undefined reference to `stdscr'
    lxdialog.c:(.text.startup+0x221): undefined reference to `wrefresh'
    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_buttons':
    checklist.c:(.text+0x247): undefined reference to `wmove'
    scripts/kconfig/lxdialog/checklist.o: In function `print_item':
    checklist.c:(.text+0x2a6): undefined reference to `wmove'
    checklist.c:(.text+0x2cd): undefined reference to `waddch'
    checklist.c:(.text+0x2e7): undefined reference to `wmove'
    checklist.c:(.text+0x31b): undefined reference to `wprintw'
    checklist.c:(.text+0x341): undefined reference to `wmove'
    checklist.c:(.text+0x353): undefined reference to `waddch'
    checklist.c:(.text+0x379): undefined reference to `waddnstr'
    checklist.c:(.text+0x3d8): undefined reference to `wmove'
    scripts/kconfig/lxdialog/checklist.o: In function `dialog_checklist':
    checklist.c:(.text+0x4da): undefined reference to `stdscr'
    checklist.c:(.text+0x4e2): undefined reference to `COLS'
    checklist.c:(.text+0x4fb): undefined reference to `LINES'
    checklist.c:(.text+0x52d): undefined reference to `newwin'
    checklist.c:(.text+0x53f): undefined reference to `keypad'
    checklist.c:(.text+0x593): undefined reference to `wmove'
    checklist.c:(.text+0x59f): undefined reference to `acs_map'
    checklist.c:(.text+0x5a9): undefined reference to `waddch'
    checklist.c:(.text+0x5d3): undefined reference to `acs_map'
    checklist.c:(.text+0x5df): undefined reference to `waddch'
    checklist.c:(.text+0x611): undefined reference to `acs_map'
    checklist.c:(.text+0x619): undefined reference to `waddch'
    checklist.c:(.text+0x68d): undefined reference to `subwin'
    checklist.c:(.text+0x69f): undefined reference to `keypad'
    checklist.c:(.text+0x823): undefined reference to `wnoutrefresh'
    checklist.c:(.text+0x82d): undefined reference to `wnoutrefresh'
    checklist.c:(.text+0x832): undefined reference to `doupdate'
    checklist.c:(.text+0x869): undefined reference to `wgetch'
    checklist.c:(.text+0x95e): undefined reference to `wnoutrefresh'
    checklist.c:(.text+0x968): undefined reference to `wrefresh'
    checklist.c:(.text+0x9c8): undefined reference to `delwin'
    checklist.c:(.text+0xa3a): undefined reference to `scrollok'
    checklist.c:(.text+0xa49): undefined reference to `wscrl'
    checklist.c:(.text+0xa55): undefined reference to `scrollok'
    checklist.c:(.text+0xab5): undefined reference to `wnoutrefresh'
    checklist.c:(.text+0xabf): undefined reference to `wrefresh'
    checklist.c:(.text+0xad7): undefined reference to `delwin'
    checklist.c:(.text+0xb7b): undefined reference to `wnoutrefresh'
    checklist.c:(.text+0xb85): undefined reference to `wrefresh'
    checklist.c:(.text+0xbdd): undefined reference to `scrollok'
    checklist.c:(.text+0xbec): undefined reference to `wscrl'
    checklist.c:(.text+0xbf8): undefined reference to `scrollok'
    checklist.c:(.text+0xc61): undefined reference to `wnoutrefresh'
    checklist.c:(.text+0xc6b): undefined reference to `wrefresh'
    checklist.c:(.text+0xcbf): undefined reference to `delwin'
    checklist.c:(.text+0xd37): undefined reference to `wrefresh'
    checklist.c:(.text+0xd43): undefined reference to `doupdate'
    checklist.c:(.text+0xdfa): undefined reference to `acs_map'
    checklist.c:(.text+0xe01): undefined reference to `waddch'
    checklist.c:(.text+0xe54): undefined reference to `endwin'
    scripts/kconfig/lxdialog/checklist.o: In function `print_arrows':
    checklist.c:(.text+0xef): undefined reference to `waddnstr'
    checklist.c:(.text+0x162): undefined reference to `waddch'
    scripts/kconfig/lxdialog/checklist.o: In function `print_buttons':
    checklist.c:(.text+0x267): undefined reference to `wrefresh'
    scripts/kconfig/lxdialog/checklist.o: In function `print_item':
    checklist.c:(.text+0x3ee): undefined reference to `wrefresh'
    scripts/kconfig/lxdialog/menubox.o: In function `do_scroll':
    menubox.c:(.text+0x22): undefined reference to `scrollok'
    menubox.c:(.text+0x2d): undefined reference to `wscrl'
    menubox.c:(.text+0x37): undefined reference to `scrollok'
    scripts/kconfig/lxdialog/menubox.o: In function `print_arrows':
    menubox.c:(.text+0xba): undefined reference to `wmove'
    menubox.c:(.text+0xd9): undefined reference to `acs_map'
    menubox.c:(.text+0xe1): undefined reference to `waddch'
    menubox.c:(.text+0xf3): undefined reference to `waddnstr'
    menubox.c:(.text+0x103): undefined reference to `wmove'
    menubox.c:(.text+0x10b): undefined reference to `wrefresh'
    menubox.c:(.text+0x136): undefined reference to `acs_map'
    menubox.c:(.text+0x13e): undefined reference to `waddch'
    menubox.c:(.text+0x145): undefined reference to `acs_map'
    menubox.c:(.text+0x14d): undefined reference to `waddch'
    menubox.c:(.text+0x154): undefined reference to `acs_map'
    menubox.c:(.text+0x15c): undefined reference to `waddch'
    menubox.c:(.text+0x163): undefined reference to `acs_map'
    menubox.c:(.text+0x16b): undefined reference to `waddch'
    menubox.c:(.text+0x17a): undefined reference to `wmove'
    menubox.c:(.text+0x1c3): undefined reference to `acs_map'
    menubox.c:(.text+0x1cb): undefined reference to `waddch'
    menubox.c:(.text+0x1dd): undefined reference to `waddnstr'
    menubox.c:(.text+0x1fb): undefined reference to `acs_map'
    menubox.c:(.text+0x203): undefined reference to `waddch'
    menubox.c:(.text+0x20a): undefined reference to `acs_map'
    menubox.c:(.text+0x212): undefined reference to `waddch'
    menubox.c:(.text+0x219): undefined reference to `acs_map'
    menubox.c:(.text+0x221): undefined reference to `waddch'
    menubox.c:(.text+0x228): undefined reference to `acs_map'
    menubox.c:(.text+0x230): undefined reference to `waddch'
    scripts/kconfig/lxdialog/menubox.o: In function `do_print_item':
    menubox.c:(.text+0x2d0): undefined reference to `wmove'
    menubox.c:(.text+0x2d8): undefined reference to `wclrtoeol'
    menubox.c:(.text+0x2fc): undefined reference to `wmove'
    menubox.c:(.text+0x311): undefined reference to `waddnstr'
    menubox.c:(.text+0x345): undefined reference to `wmove'
    menubox.c:(.text+0x35a): undefined reference to `waddch'
    menubox.c:(.text+0x372): undefined reference to `wmove'
    menubox.c:(.text+0x3d7): undefined reference to `wmove'
    menubox.c:(.text+0x3de): undefined reference to `wclrtoeol'
    scripts/kconfig/lxdialog/menubox.o: In function `print_buttons':
    menubox.c:(.text+0x480): undefined reference to `wmove'
    scripts/kconfig/lxdialog/menubox.o: In function `dialog_menu':
    menubox.c:(.text+0x4c6): undefined reference to `COLS'
    menubox.c:(.text+0x4f7): undefined reference to `stdscr'
    menubox.c:(.text+0x50b): undefined reference to `LINES'
    menubox.c:(.text+0x54e): undefined reference to `newwin'
    menubox.c:(.text+0x560): undefined reference to `keypad'
    menubox.c:(.text+0x5b4): undefined reference to `wmove'
    menubox.c:(.text+0x5c0): undefined reference to `acs_map'
    menubox.c:(.text+0x5ca): undefined reference to `waddch'
    menubox.c:(.text+0x5f3): undefined reference to `acs_map'
    menubox.c:(.text+0x5ff): undefined reference to `waddch'
    menubox.c:(.text+0x63d): undefined reference to `wbkgdset'
    menubox.c:(.text+0x644): undefined reference to `acs_map'
    menubox.c:(.text+0x64e): undefined reference to `waddch'
    menubox.c:(.text+0x6c8): undefined reference to `subwin'
    menubox.c:(.text+0x6d8): undefined reference to `keypad'
    menubox.c:(.text+0x83e): undefined reference to `wnoutrefresh'
    menubox.c:(.text+0x88f): undefined reference to `wmove'
    menubox.c:(.text+0x897): undefined reference to `wrefresh'
    menubox.c:(.text+0x8bc): undefined reference to `wgetch'
    menubox.c:(.text+0x9e5): undefined reference to `delwin'
    menubox.c:(.text+0xb30): undefined reference to `wnoutrefresh'
    menubox.c:(.text+0xb38): undefined reference to `wrefresh'
    menubox.c:(.text+0xb4e): undefined reference to `delwin'
    menubox.c:(.text+0xec4): undefined reference to `wrefresh'
    menubox.c:(.text+0xf3c): undefined reference to `scrollok'
    menubox.c:(.text+0xffe): undefined reference to `delwin'
    menubox.c:(.text+0x10d9): undefined reference to `delwin'
    menubox.c:(.text+0x1150): undefined reference to `wbkgdset'
    menubox.c:(.text+0x1157): undefined reference to `acs_map'
    menubox.c:(.text+0x115e): undefined reference to `waddch'
    scripts/kconfig/lxdialog/menubox.o: In function `do_scroll':
    menubox.c:(.text+0x55): undefined reference to `wrefresh'
    scripts/kconfig/lxdialog/menubox.o: In function `print_arrows':
    menubox.c:(.text+0x1a4): undefined reference to `wrefresh'
    scripts/kconfig/lxdialog/menubox.o: In function `do_print_item':
    menubox.c:(.text+0x3a4): undefined reference to `wrefresh'
    scripts/kconfig/lxdialog/menubox.o: In function `print_buttons':
    menubox.c:(.text+0x4a0): undefined reference to `wrefresh'
    scripts/kconfig/lxdialog/textbox.o: In function `get_line':
    textbox.c:(.text+0x137): undefined reference to `endwin'
    textbox.c:(.text+0x15e): undefined reference to `endwin'
    scripts/kconfig/lxdialog/textbox.o: In function `back_lines':
    textbox.c:(.text+0x31a): undefined reference to `endwin'
    textbox.c:(.text+0x406): undefined reference to `endwin'
    textbox.c:(.text+0x461): undefined reference to `endwin'
    scripts/kconfig/lxdialog/textbox.o: In function `print_line':
    textbox.c:(.text+0x4e0): undefined reference to `wmove'
    textbox.c:(.text+0x4f0): undefined reference to `waddch'
    textbox.c:(.text+0x511): undefined reference to `waddnstr'
    scripts/kconfig/lxdialog/textbox.o: In function `print_position':
    textbox.c:(.text+0x62d): undefined reference to `wbkgdset'
    textbox.c:(.text+0x67b): undefined reference to `wmove'
    textbox.c:(.text+0x6ad): undefined reference to `endwin'
    scripts/kconfig/lxdialog/textbox.o: In function `dialog_textbox':
    textbox.c:(.text+0x7aa): undefined reference to `COLS'
    textbox.c:(.text+0x7b1): undefined reference to `stdscr'
    textbox.c:(.text+0x7c4): undefined reference to `LINES'
    textbox.c:(.text+0x7f3): undefined reference to `newwin'
    textbox.c:(.text+0x803): undefined reference to `keypad'
    textbox.c:(.text+0x820): undefined reference to `subwin'
    textbox.c:(.text+0x849): undefined reference to `wbkgdset'
    textbox.c:(.text+0x856): undefined reference to `keypad'
    textbox.c:(.text+0x898): undefined reference to `wmove'
    textbox.c:(.text+0x8a4): undefined reference to `acs_map'
    textbox.c:(.text+0x8ac): undefined reference to `waddch'
    textbox.c:(.text+0x8c3): undefined reference to `acs_map'
    textbox.c:(.text+0x8cf): undefined reference to `waddch'
    textbox.c:(.text+0x8fd): undefined reference to `wbkgdset'
    textbox.c:(.text+0x904): undefined reference to `acs_map'
    textbox.c:(.text+0x90c): undefined reference to `waddch'
    textbox.c:(.text+0x949): undefined reference to `wnoutrefresh'
    textbox.c:(.text+0x999): undefined reference to `wmove'
    textbox.c:(.text+0x9a1): undefined reference to `wrefresh'
    textbox.c:(.text+0x9b4): undefined reference to `wgetch'
    textbox.c:(.text+0xa10): undefined reference to `delwin'
    textbox.c:(.text+0xad4): undefined reference to `delwin'
    textbox.c:(.text+0xba6): undefined reference to `wmove'
    textbox.c:(.text+0xbae): undefined reference to `wrefresh'
    textbox.c:(.text+0xcf7): undefined reference to `scrollok'
    textbox.c:(.text+0xd04): undefined reference to `wscrl'
    textbox.c:(.text+0xd0e): undefined reference to `scrollok'
    textbox.c:(.text+0xd51): undefined reference to `wnoutrefresh'
    textbox.c:(.text+0xe07): undefined reference to `scrollok'
    textbox.c:(.text+0xe14): undefined reference to `wscrl'
    textbox.c:(.text+0xe1e): undefined reference to `scrollok'
    textbox.c:(.text+0xe34): undefined reference to `wnoutrefresh'
    textbox.c:(.text+0xf60): undefined reference to `wbkgdset'
    textbox.c:(.text+0xf67): undefined reference to `acs_map'
    textbox.c:(.text+0xf6e): undefined reference to `waddch'
    textbox.c:(.text+0xfa8): undefined reference to `wnoutrefresh'
    textbox.c:(.text+0xfc3): undefined reference to `endwin'
    textbox.c:(.text+0xfea): undefined reference to `endwin'
    textbox.c:(.text+0x1011): undefined reference to `endwin'
    textbox.c:(.text+0x103b): undefined reference to `endwin'
    textbox.c:(.text+0x1062): undefined reference to `endwin'
    scripts/kconfig/lxdialog/textbox.o:textbox.c:(.text+0x108e): more undefined references to `endwin' follow
    scripts/kconfig/lxdialog/textbox.o: In function `print_line':
    textbox.c:(.text+0x535): undefined reference to `wclrtoeol'
    scripts/kconfig/lxdialog/textbox.o: In function `print_page':
    textbox.c:(.text+0x5af): undefined reference to `wnoutrefresh'
    scripts/kconfig/lxdialog/textbox.o: In function `print_position':
    textbox.c:(.text+0x6a8): undefined reference to `wprintw'
    scripts/kconfig/lxdialog/yesno.o: In function `print_buttons':
    yesno.c:(.text+0x76): undefined reference to `wmove'
    scripts/kconfig/lxdialog/yesno.o: In function `dialog_yesno':
    yesno.c:(.text+0xbe): undefined reference to `COLS'
    yesno.c:(.text+0xc5): undefined reference to `stdscr'
    yesno.c:(.text+0xd9): undefined reference to `LINES'
    yesno.c:(.text+0x100): undefined reference to `newwin'
    yesno.c:(.text+0x110): undefined reference to `keypad'
    yesno.c:(.text+0x152): undefined reference to `wmove'
    yesno.c:(.text+0x15e): undefined reference to `acs_map'
    yesno.c:(.text+0x166): undefined reference to `waddch'
    yesno.c:(.text+0x17b): undefined reference to `acs_map'
    yesno.c:(.text+0x187): undefined reference to `waddch'
    yesno.c:(.text+0x1b1): undefined reference to `acs_map'
    yesno.c:(.text+0x1b6): undefined reference to `waddch'
    yesno.c:(.text+0x204): undefined reference to `wgetch'
    yesno.c:(.text+0x232): undefined reference to `delwin'
    yesno.c:(.text+0x256): undefined reference to `delwin'
    yesno.c:(.text+0x267): undefined reference to `delwin'
    yesno.c:(.text+0x289): undefined reference to `delwin'
    yesno.c:(.text+0x2d2): undefined reference to `wrefresh'
    yesno.c:(.text+0x313): undefined reference to `acs_map'
    yesno.c:(.text+0x31a): undefined reference to `waddch'
    scripts/kconfig/lxdialog/yesno.o: In function `print_buttons':
    yesno.c:(.text+0x96): undefined reference to `wrefresh'
    scripts/kconfig/lxdialog/inputbox.o: In function `print_buttons':
    inputbox.c:(.text+0x77): undefined reference to `wmove'
    scripts/kconfig/lxdialog/inputbox.o: In function `dialog_inputbox':
    inputbox.c:(.text+0xbe): undefined reference to `COLS'
    inputbox.c:(.text+0xc5): undefined reference to `stdscr'
    inputbox.c:(.text+0xde): undefined reference to `LINES'
    inputbox.c:(.text+0x105): undefined reference to `newwin'
    inputbox.c:(.text+0x115): undefined reference to `keypad'
    inputbox.c:(.text+0x157): undefined reference to `wmove'
    inputbox.c:(.text+0x163): undefined reference to `acs_map'
    inputbox.c:(.text+0x16b): undefined reference to `waddch'
    inputbox.c:(.text+0x193): undefined reference to `acs_map'
    inputbox.c:(.text+0x19e): undefined reference to `waddch'
    inputbox.c:(.text+0x1cc): undefined reference to `acs_map'
    inputbox.c:(.text+0x1d1): undefined reference to `waddch'
    inputbox.c:(.text+0x25c): undefined reference to `wmove'
    inputbox.c:(.text+0x31d): undefined reference to `waddch'
    inputbox.c:(.text+0x335): undefined reference to `wmove'
    inputbox.c:(.text+0x33d): undefined reference to `wrefresh'
    inputbox.c:(.text+0x362): undefined reference to `wgetch'
    inputbox.c:(.text+0x3ba): undefined reference to `delwin'
    inputbox.c:(.text+0x4a7): undefined reference to `wmove'
    inputbox.c:(.text+0x4b7): undefined reference to `waddch'
    inputbox.c:(.text+0x4bf): undefined reference to `wrefresh'
    inputbox.c:(.text+0x539): undefined reference to `wmove'
    inputbox.c:(.text+0x590): undefined reference to `waddch'
    inputbox.c:(.text+0x64b): undefined reference to `delwin'
    inputbox.c:(.text+0x683): undefined reference to `waddnstr'
    inputbox.c:(.text+0x698): undefined reference to `delwin'
    inputbox.c:(.text+0x6aa): undefined reference to `delwin'
    inputbox.c:(.text+0x71a): undefined reference to `wmove'
    inputbox.c:(.text+0x722): undefined reference to `wrefresh'
    inputbox.c:(.text+0x755): undefined reference to `acs_map'
    inputbox.c:(.text+0x75c): undefined reference to `waddch'
    inputbox.c:(.text+0x7d7): undefined reference to `wmove'
    inputbox.c:(.text+0x81c): undefined reference to `wmove'
    inputbox.c:(.text+0x824): undefined reference to `wrefresh'
    inputbox.c:(.text+0x857): undefined reference to `wmove'
    inputbox.c:(.text+0x869): undefined reference to `waddch'
    inputbox.c:(.text+0x877): undefined reference to `wmove'
    inputbox.c:(.text+0x87f): undefined reference to `wrefresh'
    inputbox.c:(.text+0x899): undefined reference to `flash'
    inputbox.c:(.text+0x8b3): undefined reference to `wmove'
    inputbox.c:(.text+0x8ec): undefined reference to `waddch'
    scripts/kconfig/lxdialog/inputbox.o: In function `print_buttons':
    inputbox.c:(.text+0x97): undefined reference to `wrefresh'
    scripts/kconfig/lxdialog/util.o: In function `attr_clear':
    util.c:(.text+0x31): undefined reference to `wmove'
    util.c:(.text+0x4d): undefined reference to `waddch'
    scripts/kconfig/lxdialog/util.o: In function `dialog_clear':
    util.c:(.text+0x99): undefined reference to `COLS'
    util.c:(.text+0x9f): undefined reference to `LINES'
    util.c:(.text+0xa6): undefined reference to `stdscr'
    util.c:(.text+0xc1): undefined reference to `stdscr'
    util.c:(.text+0xdd): undefined reference to `wmove'
    util.c:(.text+0xf0): undefined reference to `stdscr'
    util.c:(.text+0xfa): undefined reference to `waddnstr'
    util.c:(.text+0x101): undefined reference to `stdscr'
    util.c:(.text+0x110): undefined reference to `wmove'
    util.c:(.text+0x116): undefined reference to `COLS'
    util.c:(.text+0x12b): undefined reference to `acs_map'
    util.c:(.text+0x132): undefined reference to `stdscr'
    util.c:(.text+0x13a): undefined reference to `waddch'
    util.c:(.text+0x140): undefined reference to `COLS'
    util.c:(.text+0x14f): undefined reference to `stdscr'
    scripts/kconfig/lxdialog/util.o: In function `color_setup':
    util.c:(.text+0x167): undefined reference to `has_colors'
    util.c:(.text+0x18b): undefined reference to `start_color'
    util.c:(.text+0x1a2): undefined reference to `init_pair'
    scripts/kconfig/lxdialog/util.o: In function `init_dialog':
    util.c:(.text+0x205): undefined reference to `initscr'
    util.c:(.text+0x20c): undefined reference to `stdscr'
    util.c:(.text+0x216): undefined reference to `keypad'
    util.c:(.text+0x21b): undefined reference to `cbreak'
    util.c:(.text+0x220): undefined reference to `noecho'
    scripts/kconfig/lxdialog/util.o: In function `print_title':
    util.c:(.text+0x2ba): undefined reference to `wmove'
    util.c:(.text+0x2cc): undefined reference to `waddch'
    util.c:(.text+0x2d9): undefined reference to `wmove'
    util.c:(.text+0x2eb): undefined reference to `waddnstr'
    scripts/kconfig/lxdialog/util.o: In function `print_autowrap':
    util.c:(.text+0x4dd): undefined reference to `wmove'
    util.c:(.text+0x4ed): undefined reference to `waddnstr'
    util.c:(.text+0x59e): undefined reference to `wmove'
    util.c:(.text+0x5ae): undefined reference to `waddnstr'
    scripts/kconfig/lxdialog/util.o: In function `print_button':
    util.c:(.text+0x5e3): undefined reference to `wmove'
    util.c:(.text+0x610): undefined reference to `waddnstr'
    util.c:(.text+0x674): undefined reference to `waddch'
    util.c:(.text+0x6a3): undefined reference to `waddch'
    util.c:(.text+0x6c4): undefined reference to `waddnstr'
    util.c:(.text+0x6e1): undefined reference to `waddnstr'
    util.c:(.text+0x720): undefined reference to `waddch'
    util.c:(.text+0x741): undefined reference to `waddnstr'
    util.c:(.text+0x75c): undefined reference to `waddch'
    util.c:(.text+0x771): undefined reference to `waddnstr'
    scripts/kconfig/lxdialog/util.o: In function `draw_box':
    util.c:(.text+0x804): undefined reference to `wmove'
    util.c:(.text+0x873): undefined reference to `waddch'
    util.c:(.text+0x894): undefined reference to `acs_map'
    util.c:(.text+0x89f): undefined reference to `waddch'
    util.c:(.text+0x8de): undefined reference to `acs_map'
    util.c:(.text+0x8e9): undefined reference to `waddch'
    util.c:(.text+0x900): undefined reference to `acs_map'
    util.c:(.text+0x90b): undefined reference to `waddch'
    util.c:(.text+0x928): undefined reference to `acs_map'
    util.c:(.text+0x933): undefined reference to `waddch'
    util.c:(.text+0x951): undefined reference to `acs_map'
    util.c:(.text+0x95c): undefined reference to `waddch'
    util.c:(.text+0x978): undefined reference to `acs_map'
    util.c:(.text+0x983): undefined reference to `waddch'
    scripts/kconfig/lxdialog/util.o: In function `draw_shadow':
    util.c:(.text+0x9ad): undefined reference to `has_colors'
    util.c:(.text+0x9d8): undefined reference to `wmove'
    util.c:(.text+0x9f0): undefined reference to `winch'
    util.c:(.text+0x9fb): undefined reference to `waddch'
    util.c:(.text+0xa19): undefined reference to `wmove'
    util.c:(.text+0xa24): undefined reference to `winch'
    util.c:(.text+0xa2f): undefined reference to `waddch'
    util.c:(.text+0xa37): undefined reference to `winch'
    util.c:(.text+0xa42): undefined reference to `waddch'
    scripts/kconfig/lxdialog/util.o: In function `attr_clear':
    util.c:(.text+0x83): undefined reference to `wtouchln'
    scripts/kconfig/lxdialog/util.o: In function `dialog_clear':
    util.c:(.text+0x154): undefined reference to `wnoutrefresh'
    scripts/kconfig/lxdialog/util.o: In function `end_dialog':
    util.c:(.text+0x241): undefined reference to `endwin'
    scripts/kconfig/lxdialog/util.o: In function `print_title':
    util.c:(.text+0x310): undefined reference to `waddch'
    scripts/kconfig/lxdialog/util.o: In function `print_button':
    util.c:(.text+0x6ff): undefined reference to `wmove'
    scripts/kconfig/lxdialog/util.o: In function `draw_shadow':
    util.c:(.text+0xa5d): undefined reference to `wnoutrefresh'
    scripts/kconfig/lxdialog/msgbox.o: In function `dialog_msgbox':
    msgbox.c:(.text+0x1e): undefined reference to `COLS'
    msgbox.c:(.text+0x25): undefined reference to `stdscr'
    msgbox.c:(.text+0x3e): undefined reference to `LINES'
    msgbox.c:(.text+0x65): undefined reference to `newwin'
    msgbox.c:(.text+0x75): undefined reference to `keypad'
    msgbox.c:(.text+0xfc): undefined reference to `wmove'
    msgbox.c:(.text+0x108): undefined reference to `acs_map'
    msgbox.c:(.text+0x110): undefined reference to `waddch'
    msgbox.c:(.text+0x123): undefined reference to `acs_map'
    msgbox.c:(.text+0x12f): undefined reference to `waddch'
    msgbox.c:(.text+0x14b): undefined reference to `acs_map'
    msgbox.c:(.text+0x153): undefined reference to `waddch'
    msgbox.c:(.text+0x17e): undefined reference to `wrefresh'
    msgbox.c:(.text+0x1ab): undefined reference to `wgetch'
    msgbox.c:(.text+0x1ba): undefined reference to `delwin'
    msgbox.c:(.text+0x1e4): undefined reference to `wrefresh'
    msgbox.c:(.text+0x1ec): undefined reference to `delwin'
    collect2: ld returned 1 exit status
    make[2]: *** [scripts/kconfig/lxdialog/lxdialog] Error 1
    make[1]: *** [menuconfig] Error 2
    make: *** [menuconfig] Error 2

  • 相关阅读:
    IIS的各种身份验证详细测试
    HTTP Error 401.3 Unauthorized Error While creating IIS 7.0 web site on Windows 7
    C/S and B/S
    WCF ContractFilter mismatch at the EndpointDispatcher exception
    Configure WCF
    Inheritance VS Composition
    Unhandled Error in Silverlight Application, code 2103 when changing the namespace
    Java RMI VS TCP Socket
    Principles Of Object Oriented Design
    Socket处理发送和接收数据包,一个小实例:
  • 原文地址:https://www.cnblogs.com/yuzaipiaofei/p/4124104.html
Copyright © 2020-2023  润新知