LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   make menuconfig + ncurses 5.6 issue (https://www.linuxquestions.org/questions/linux-software-2/make-menuconfig-ncurses-5-6-issue-585527/)

halturata 09-18-2007 07:29 AM

make menuconfig + ncurses 5.6 issue
 
Hi everybody,

I'm trying to compile a 2.6.20 kernel on a PowerPC running 2.6.15.7 kernel. It's realy a bare system, I had to compile my GCC and GLIBC.

So, now my problem is, when I try to run "make menuconfig" I get all this beautiful errors:
Code:

-sh-3.00# make menuconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kxgettext.o
  HOSTCC  scripts/kconfig/lxdialog/checklist.o
  HOSTCC  scripts/kconfig/lxdialog/inputbox.o
  HOSTCC  scripts/kconfig/lxdialog/menubox.o
  HOSTCC  scripts/kconfig/lxdialog/textbox.o
  HOSTCC  scripts/kconfig/lxdialog/util.o
  HOSTCC  scripts/kconfig/lxdialog/yesno.o
  HOSTCC  scripts/kconfig/mconf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/mconf
scripts/kconfig/lxdialog/checklist.o: In function `print_item':
checklist.c:(.text+0x50): undefined reference to `wmove'
checklist.c:(.text+0x6c): undefined reference to `waddch'
checklist.c:(.text+0x94): undefined reference to `wmove'
checklist.c:(.text+0xd4): undefined reference to `wprintw'
checklist.c:(.text+0xf8): undefined reference to `wmove'
checklist.c:(.text+0x110): undefined reference to `waddch'
checklist.c:(.text+0x134): undefined reference to `waddnstr'
checklist.c:(.text+0x1a0): undefined reference to `waddnstr'
checklist.c:(.text+0x1b8): undefined reference to `wmove'
checklist.c:(.text+0x1c0): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/checklist.o: In function `print_arrows':
scripts/kconfig/lxdialog/checklist.o: In function `print_buttons':
checklist.c:(.text+0x454): undefined reference to `wmove'
checklist.c:(.text+0x45c): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/checklist.o: In function `dialog_checklist':
checklist.c:(.text+0x59a): undefined reference to `stdscr'
checklist.c:(.text+0x5a2): undefined reference to `stdscr'
checklist.c:(.text+0x5c2): undefined reference to `stdscr'
checklist.c:(.text+0x5f2): undefined reference to `LINES'
checklist.c:(.text+0x5f6): undefined reference to `COLS'
checklist.c:(.text+0x5fa): undefined reference to `LINES'
checklist.c:(.text+0x602): undefined reference to `COLS'
checklist.c:(.text+0x60e): undefined reference to `stdscr'
checklist.c:(.text+0x648): undefined reference to `newwin'
checklist.c:(.text+0x654): undefined reference to `keypad'
checklist.c:(.text+0x676): undefined reference to `acs_map'
checklist.c:(.text+0x690): undefined reference to `wmove'
checklist.c:(.text+0x69e): undefined reference to `acs_map'
checklist.c:(.text+0x6a8): undefined reference to `waddch'
checklist.c:(.text+0x6b6): undefined reference to `acs_map'
checklist.c:(.text+0x6be): undefined reference to `acs_map'
checklist.c:(.text+0x6c8): undefined reference to `waddch'
checklist.c:(.text+0x6da): undefined reference to `acs_map'
checklist.c:(.text+0x6ec): undefined reference to `waddch'
checklist.c:(.text+0x75c): undefined reference to `subwin'
checklist.c:(.text+0x768): undefined reference to `keypad'
checklist.c:(.text+0x8f0): undefined reference to `wnoutrefresh'
checklist.c:(.text+0x8f8): undefined reference to `wnoutrefresh'
checklist.c:(.text+0x8fc): undefined reference to `doupdate'
checklist.c:(.text+0xdc0): undefined reference to `wrefresh'
checklist.c:(.text+0xdc4): undefined reference to `doupdate'
checklist.c:(.text+0xe24): undefined reference to `scrollok'
checklist.c:(.text+0xe30): undefined reference to `wscrl'
checklist.c:(.text+0xe3c): undefined reference to `scrollok'
scripts/kconfig/lxdialog/util.o: In function `init_one_color':
util.c:(.text+0x244): undefined reference to `init_pair'
scripts/kconfig/lxdialog/util.o: In function `attr_clear':
util.c:(.text+0x2e8): undefined reference to `wmove'
util.c:(.text+0x300): undefined reference to `waddch'
util.c:(.text+0x338): undefined reference to `wtouchln'
scripts/kconfig/lxdialog/util.o: In function `dialog_clear':
util.c:(.text+0x376): undefined reference to `LINES'
util.c:(.text+0x37e): undefined reference to `COLS'
util.c:(.text+0x38e): undefined reference to `stdscr'
util.c:(.text+0x392): undefined reference to `LINES'
util.c:(.text+0x396): undefined reference to `stdscr'
util.c:(.text+0x39a): undefined reference to `COLS'
util.c:(.text+0x3b2): undefined reference to `stdscr'
util.c:(.text+0x3b4): undefined reference to `wnoutrefresh'
util.c:(.text+0x3e2): undefined reference to `stdscr'
util.c:(.text+0x3ec): undefined reference to `wmove'
util.c:(.text+0x402): undefined reference to `stdscr'
util.c:(.text+0x404): undefined reference to `waddnstr'
util.c:(.text+0x40a): undefined reference to `stdscr'
util.c:(.text+0x414): undefined reference to `wmove'
util.c:(.text+0x41a): undefined reference to `COLS'
util.c:(.text+0x42e): undefined reference to `acs_map'
util.c:(.text+0x432): undefined reference to `acs_map'
util.c:(.text+0x436): undefined reference to `stdscr'
util.c:(.text+0x440): undefined reference to `waddch'
util.c:(.text+0x446): undefined reference to `COLS'
util.c:(.text+0x456): undefined reference to `stdscr'
util.c:(.text+0x458): undefined reference to `wnoutrefresh'
scripts/kconfig/lxdialog/util.o: In function `init_dialog':
util.c:(.text+0x660): undefined reference to `has_colors'
util.c:(.text+0x714): undefined reference to `has_colors'
util.c:(.text+0x720): undefined reference to `start_color'
scripts/kconfig/lxdialog/util.o: In function `reset_dialog':
util.c:(.text+0x8cc): undefined reference to `initscr'
util.c:(.text+0x8d2): undefined reference to `stdscr'
util.c:(.text+0x8da): undefined reference to `stdscr'
util.c:(.text+0x8dc): undefined reference to `keypad'
util.c:(.text+0x8e0): undefined reference to `cbreak'
util.c:(.text+0x8e4): undefined reference to `noecho'
scripts/kconfig/lxdialog/util.o: In function `end_dialog':
util.c:(.text+0x908): undefined reference to `endwin'
scripts/kconfig/lxdialog/util.o: In function `print_title':
util.c:(.text+0x988): undefined reference to `wmove'
util.c:(.text+0x99c): undefined reference to `waddch'
util.c:(.text+0x9ac): undefined reference to `wmove'
util.c:(.text+0x9c4): undefined reference to `waddnstr'
util.c:(.text+0x9d0): undefined reference to `waddch'
scripts/kconfig/lxdialog/util.o: In function `print_autowrap':
util.c:(.text+0xb68): undefined reference to `wmove'
util.c:(.text+0xb78): undefined reference to `waddnstr'
util.c:(.text+0xc34): undefined reference to `wmove'
util.c:(.text+0xc44): undefined reference to `waddnstr'
util.c:(.text+0xc70): undefined reference to `wmove'
util.c:(.text+0xc80): undefined reference to `waddnstr'
scripts/kconfig/lxdialog/util.o: In function `print_button':
util.c:(.text+0xd10): undefined reference to `wmove'
util.c:(.text+0xd3c): undefined reference to `waddnstr'
util.c:(.text+0xd84): undefined reference to `waddch'
util.c:(.text+0xda8): undefined reference to `waddch'
util.c:(.text+0xdc8): undefined reference to `waddnstr'
util.c:(.text+0xdec): undefined reference to `waddnstr'
util.c:(.text+0xe00): undefined reference to `wmove'
scripts/kconfig/lxdialog/util.o: In function `draw_box':
util.c:(.text+0xef2): undefined reference to `acs_map'
util.c:(.text+0xefa): undefined reference to `acs_map'
util.c:(.text+0xf10): undefined reference to `wmove'
util.c:(.text+0xf80): undefined reference to `waddch'
scripts/kconfig/lxdialog/util.o: In function `draw_shadow':
util.c:(.text+0x10a8): undefined reference to `has_colors'
util.c:(.text+0x10f8): undefined reference to `wmove'
util.c:(.text+0x110c): undefined reference to `winch'
util.c:(.text+0x1118): undefined reference to `waddch'
util.c:(.text+0x1148): undefined reference to `wmove'
util.c:(.text+0x1150): undefined reference to `winch'
util.c:(.text+0x115c): undefined reference to `waddch'
util.c:(.text+0x1164): undefined reference to `winch'
util.c:(.text+0x1174): undefined reference to `waddch'
util.c:(.text+0x1184): undefined reference to `wnoutrefresh'
scripts/kconfig/lxdialog/util.o: In function `on_key_esc':
util.c:(.text+0x1310): undefined reference to `nodelay'
util.c:(.text+0x131c): undefined reference to `keypad'
util.c:(.text+0x1324): undefined reference to `wgetch'
util.c:(.text+0x1330): undefined reference to `wgetch'
util.c:(.text+0x133c): undefined reference to `wgetch'
util.c:(.text+0x1350): undefined reference to `nodelay'
util.c:(.text+0x135c): undefined reference to `keypad'
util.c:(.text+0x13e8): undefined reference to `ungetch'
scripts/kconfig/lxdialog/inputbox.o: In function `print_buttons':
inputbox.c:(.text+0x8c): undefined reference to `wmove'
inputbox.c:(.text+0x94): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/inputbox.o: In function `dialog_inputbox':
inputbox.c:(.text+0x156): undefined reference to `stdscr'
inputbox.c:(.text+0x15a): undefined reference to `stdscr'
inputbox.c:(.text+0x176): undefined reference to `stdscr'
inputbox.c:(.text+0x17e): undefined reference to `stdscr'
inputbox.c:(.text+0x19a): undefined reference to `LINES'
inputbox.c:(.text+0x19e): undefined reference to `COLS'
inputbox.c:(.text+0x1a2): undefined reference to `LINES'
inputbox.c:(.text+0x1aa): undefined reference to `COLS'
inputbox.c:(.text+0x1ae): undefined reference to `stdscr'
inputbox.c:(.text+0x1b6): undefined reference to `stdscr'
inputbox.c:(.text+0x1f0): undefined reference to `newwin'
inputbox.c:(.text+0x200): undefined reference to `keypad'
inputbox.c:(.text+0x238): undefined reference to `wmove'
inputbox.c:(.text+0x23e): undefined reference to `acs_map'
inputbox.c:(.text+0x24a): undefined reference to `acs_map'
inputbox.c:(.text+0x254): undefined reference to `waddch'
inputbox.c:(.text+0x262): undefined reference to `acs_map'
inputbox.c:(.text+0x26a): undefined reference to `acs_map'
inputbox.c:(.text+0x274): undefined reference to `waddch'
inputbox.c:(.text+0x286): undefined reference to `acs_map'
inputbox.c:(.text+0x2a0): undefined reference to `waddch'
inputbox.c:(.text+0x334): undefined reference to `wmove'
inputbox.c:(.text+0x378): undefined reference to `waddch'
inputbox.c:(.text+0x3c0): undefined reference to `waddnstr'
inputbox.c:(.text+0x3d0): undefined reference to `wmove'
inputbox.c:(.text+0x3d8): undefined reference to `wrefresh'
inputbox.c:(.text+0x3f0): undefined reference to `wgetch'
inputbox.c:(.text+0x434): undefined reference to `delwin'
inputbox.c:(.text+0x510): undefined reference to `delwin'
inputbox.c:(.text+0x5a0): undefined reference to `wmove'
inputbox.c:(.text+0x5ac): undefined reference to `waddch'
inputbox.c:(.text+0x5b4): undefined reference to `wrefresh'
inputbox.c:(.text+0x5d4): undefined reference to `delwin'
inputbox.c:(.text+0x5f8): undefined reference to `delwin'
inputbox.c:(.text+0x65c): undefined reference to `wmove'
inputbox.c:(.text+0x68c): undefined reference to `waddch'
inputbox.c:(.text+0x73c): undefined reference to `wmove'
inputbox.c:(.text+0x744): undefined reference to `wrefresh'
inputbox.c:(.text+0x778): undefined reference to `wmove'
inputbox.c:(.text+0x78c): undefined reference to `waddch'
inputbox.c:(.text+0x79c): undefined reference to `wmove'
inputbox.c:(.text+0x7a4): undefined reference to `wrefresh'
inputbox.c:(.text+0x7ac): undefined reference to `flash'
inputbox.c:(.text+0x7c4): undefined reference to `delwin'
inputbox.c:(.text+0x7e4): undefined reference to `wmove'
inputbox.c:(.text+0x804): undefined reference to `waddch'
inputbox.c:(.text+0x814): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/textbox.o: In function `print_line':
textbox.c:(.text+0x1fc): undefined reference to `wmove'
textbox.c:(.text+0x208): undefined reference to `waddch'
textbox.c:(.text+0x230): undefined reference to `waddnstr'
textbox.c:(.text+0x238): undefined reference to `wclrtoeol'
scripts/kconfig/lxdialog/textbox.o: In function `print_position':
textbox.c:(.text+0x28c): undefined reference to `wbkgdset'
textbox.c:(.text+0x2d8): undefined reference to `wmove'
textbox.c:(.text+0x2f0): undefined reference to `wprintw'
textbox.c:(.text+0x314): undefined reference to `wmove'
textbox.c:(.text+0x32c): undefined reference to `wprintw'
scripts/kconfig/lxdialog/textbox.o: In function `refresh_text_box':
textbox.c:(.text+0x404): undefined reference to `wnoutrefresh'
textbox.c:(.text+0x41c): undefined reference to `wmove'
textbox.c:(.text+0x424): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/textbox.o: In function `dialog_textbox':
textbox.c:(.text+0x4ae): undefined reference to `stdscr'
textbox.c:(.text+0x4fe): undefined reference to `stdscr'
textbox.c:(.text+0x516): undefined reference to `stdscr'
textbox.c:(.text+0x57e): undefined reference to `LINES'
textbox.c:(.text+0x582): undefined reference to `COLS'
textbox.c:(.text+0x586): undefined reference to `LINES'
textbox.c:(.text+0x58e): undefined reference to `COLS'
textbox.c:(.text+0x59a): undefined reference to `stdscr'
textbox.c:(.text+0x5d4): undefined reference to `newwin'
textbox.c:(.text+0x5e4): undefined reference to `keypad'
textbox.c:(.text+0x602): undefined reference to `acs_map'
textbox.c:(.text+0x604): undefined reference to `subwin'
textbox.c:(.text+0x61c): undefined reference to `wbkgdset'
textbox.c:(.text+0x628): undefined reference to `keypad'
textbox.c:(.text+0x660): undefined reference to `wmove'
textbox.c:(.text+0x66e): undefined reference to `acs_map'
textbox.c:(.text+0x678): undefined reference to `waddch'
textbox.c:(.text+0x686): undefined reference to `acs_map'
textbox.c:(.text+0x68e): undefined reference to `acs_map'
textbox.c:(.text+0x698): undefined reference to `waddch'
textbox.c:(.text+0x6bc): undefined reference to `wbkgdset'
textbox.c:(.text+0x6c2): undefined reference to `acs_map'
textbox.c:(.text+0x6cc): undefined reference to `waddch'
textbox.c:(.text+0x708): undefined reference to `wnoutrefresh'
textbox.c:(.text+0x778): undefined reference to `wgetch'
textbox.c:(.text+0x850): undefined reference to `scrollok'
textbox.c:(.text+0x85c): undefined reference to `wscrl'
textbox.c:(.text+0x868): undefined reference to `scrollok'
textbox.c:(.text+0x880): undefined reference to `wnoutrefresh'
textbox.c:(.text+0x898): undefined reference to `wmove'
textbox.c:(.text+0x8a0): undefined reference to `wrefresh'
textbox.c:(.text+0x8c8): undefined reference to `delwin'
textbox.c:(.text+0x8d0): undefined reference to `delwin'
textbox.c:(.text+0x9a0): undefined reference to `scrollok'
textbox.c:(.text+0x9ac): undefined reference to `wscrl'
textbox.c:(.text+0x9b8): undefined reference to `scrollok'
textbox.c:(.text+0x9e4): undefined reference to `wnoutrefresh'
textbox.c:(.text+0xadc): undefined reference to `delwin'
textbox.c:(.text+0xae4): undefined reference to `delwin'
textbox.c:(.text+0xba8): undefined reference to `delwin'
textbox.c:(.text+0xbb0): undefined reference to `delwin'
scripts/kconfig/lxdialog/yesno.o: In function `print_buttons':
yesno.c:(.text+0x8c): undefined reference to `wmove'
yesno.c:(.text+0x94): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/yesno.o: In function `dialog_yesno':
yesno.c:(.text+0xe6): undefined reference to `stdscr'
yesno.c:(.text+0x12a): undefined reference to `stdscr'
yesno.c:(.text+0x146): undefined reference to `stdscr'
yesno.c:(.text+0x166): undefined reference to `LINES'
yesno.c:(.text+0x16a): undefined reference to `COLS'
yesno.c:(.text+0x16e): undefined reference to `LINES'
yesno.c:(.text+0x176): undefined reference to `COLS'
yesno.c:(.text+0x182): undefined reference to `stdscr'
yesno.c:(.text+0x1bc): undefined reference to `newwin'
yesno.c:(.text+0x1c8): undefined reference to `keypad'
yesno.c:(.text+0x1ea): undefined reference to `acs_map'
yesno.c:(.text+0x204): undefined reference to `wmove'
yesno.c:(.text+0x212): undefined reference to `acs_map'
yesno.c:(.text+0x21c): undefined reference to `waddch'
yesno.c:(.text+0x22a): undefined reference to `acs_map'
yesno.c:(.text+0x232): undefined reference to `acs_map'
yesno.c:(.text+0x23c): undefined reference to `waddch'
yesno.c:(.text+0x24e): undefined reference to `acs_map'
yesno.c:(.text+0x260): undefined reference to `waddch'
yesno.c:(.text+0x2b4): undefined reference to `wgetch'
yesno.c:(.text+0x2ec): undefined reference to `delwin'
yesno.c:(.text+0x39c): undefined reference to `delwin'
yesno.c:(.text+0x3bc): undefined reference to `delwin'
yesno.c:(.text+0x400): undefined reference to `wrefresh'
yesno.c:(.text+0x428): undefined reference to `delwin'
yesno.c:(.text+0x44c): undefined reference to `delwin'
scripts/kconfig/lxdialog/menubox.o: In function `do_print_item':
menubox.c:(.text+0xc0): undefined reference to `wmove'
menubox.c:(.text+0xc8): undefined reference to `wclrtoeol'
menubox.c:(.text+0xe4): undefined reference to `wmove'
menubox.c:(.text+0xfc): undefined reference to `waddnstr'
menubox.c:(.text+0x128): undefined reference to `wmove'
menubox.c:(.text+0x13c): undefined reference to `waddch'
menubox.c:(.text+0x150): undefined reference to `wrefresh'
menubox.c:(.text+0x1b4): undefined reference to `wmove'
scripts/kconfig/lxdialog/menubox.o: In function `print_arrows':
menubox.c:(.text+0x228): undefined reference to `wmove'
menubox.c:(.text+0x23a): undefined reference to `acs_map'
menubox.c:(.text+0x24a): undefined reference to `acs_map'
menubox.c:(.text+0x254): undefined reference to `waddch'
menubox.c:(.text+0x268): undefined reference to `waddnstr'
menubox.c:(.text+0x27c): undefined reference to `wmove'
menubox.c:(.text+0x284): undefined reference to `wrefresh'
menubox.c:(.text+0x2a2): undefined reference to `acs_map'
menubox.c:(.text+0x2b4): undefined reference to `waddch'
menubox.c:(.text+0x2c0): undefined reference to `waddch'
menubox.c:(.text+0x2cc): undefined reference to `waddch'
menubox.c:(.text+0x2d8): undefined reference to `waddch'
menubox.c:(.text+0x2e8): undefined reference to `wmove'
menubox.c:(.text+0x2f0): undefined reference to `wrefresh'
menubox.c:(.text+0x340): undefined reference to `wmove'
menubox.c:(.text+0x352): undefined reference to `acs_map'
menubox.c:(.text+0x35a): undefined reference to `acs_map'
menubox.c:(.text+0x36c): undefined reference to `waddch'
menubox.c:(.text+0x378): undefined reference to `waddch'
menubox.c:(.text+0x384): undefined reference to `waddch'
menubox.c:(.text+0x390): undefined reference to `waddch'
menubox.c:(.text+0x39e): undefined reference to `acs_map'
menubox.c:(.text+0x3b0): undefined reference to `waddch'
menubox.c:(.text+0x3c4): undefined reference to `waddnstr'
scripts/kconfig/lxdialog/menubox.o: In function `print_buttons':
menubox.c:(.text+0x484): undefined reference to `wmove'
menubox.c:(.text+0x48c): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/menubox.o: In function `do_scroll':
menubox.c:(.text+0x4dc): undefined reference to `scrollok'
menubox.c:(.text+0x4e8): undefined reference to `wscrl'
menubox.c:(.text+0x4f4): undefined reference to `scrollok'
menubox.c:(.text+0x508): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/menubox.o: In function `dialog_menu':
menubox.c:(.text+0x5aa): undefined reference to `stdscr'
menubox.c:(.text+0x5b2): undefined reference to `stdscr'
menubox.c:(.text+0x5c6): undefined reference to `stdscr'
menubox.c:(.text+0x5ce): undefined reference to `stdscr'
menubox.c:(.text+0x626): undefined reference to `LINES'
menubox.c:(.text+0x62a): undefined reference to `COLS'
menubox.c:(.text+0x62e): undefined reference to `LINES'
menubox.c:(.text+0x636): undefined reference to `COLS'
menubox.c:(.text+0x63a): undefined reference to `stdscr'
menubox.c:(.text+0x642): undefined reference to `stdscr'
menubox.c:(.text+0x67c): undefined reference to `newwin'
menubox.c:(.text+0x68c): undefined reference to `keypad'
menubox.c:(.text+0x6c4): undefined reference to `wmove'
menubox.c:(.text+0x6ca): undefined reference to `acs_map'
menubox.c:(.text+0x6d6): undefined reference to `acs_map'
menubox.c:(.text+0x6e0): undefined reference to `waddch'
menubox.c:(.text+0x6ee): undefined reference to `acs_map'
menubox.c:(.text+0x6f6): undefined reference to `acs_map'
menubox.c:(.text+0x700): undefined reference to `waddch'
menubox.c:(.text+0x72c): undefined reference to `wbkgdset'
menubox.c:(.text+0x732): undefined reference to `acs_map'
menubox.c:(.text+0x73c): undefined reference to `waddch'
menubox.c:(.text+0x7a8): undefined reference to `subwin'
menubox.c:(.text+0x7b4): undefined reference to `keypad'
menubox.c:(.text+0x904): undefined reference to `wnoutrefresh'
menubox.c:(.text+0x954): undefined reference to `wmove'
menubox.c:(.text+0x95c): undefined reference to `wrefresh'
menubox.c:(.text+0x970): undefined reference to `wgetch'
menubox.c:(.text+0xad4): undefined reference to `wnoutrefresh'
menubox.c:(.text+0xadc): undefined reference to `wrefresh'
menubox.c:(.text+0xaec): undefined reference to `delwin'
menubox.c:(.text+0xaf4): undefined reference to `delwin'
menubox.c:(.text+0xc70): undefined reference to `wrefresh'
menubox.c:(.text+0xe54): undefined reference to `delwin'
menubox.c:(.text+0xe5c): undefined reference to `delwin'
menubox.c:(.text+0xf04): undefined reference to `delwin'
menubox.c:(.text+0xf0c): undefined reference to `delwin'
menubox.c:(.text+0x1044): undefined reference to `scrollok'
menubox.c:(.text+0x10dc): undefined reference to `delwin'
menubox.c:(.text+0x10e4): undefined reference to `delwin'
collect2: ld returned 1 exit status
make[1]: *** [scripts/kconfig/mconf] Error 1
make: *** [menuconfig] Error 2

I've downloaded and installed the ncurses-5.6, but now that doesn't seem to solve my problem... I cannot use "make xconfig" for example, because there is no X on my system. I know I'm doing something terribly wrong but cannot get to the cause of it. Is it a ncurses issue? Or I just haven't compiled GCC and glibc right and now I'm getting everything back on me??

Here's my setup:
Code:

-sh-3.00# uname -a
Linux mvmepz01 2.6.15.7 Tue Sep 18 10:43:00 CEST 2007 ppc unknown unknown GNU/Linux
-sh-3.00# gcc --verbose
Reading specs from /usr1/local/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/specs
Configured with: /source/gcc-3.4.4/configure --build=i686-pc-linux-gnu
--target=powerpc-unknown-linux-gnu
--host=powerpc-unknown-linux-gnu
--prefix=/usr1/local
--enable-threads=posix
--enable-symvers=gnu
--enable-shared
--enable-languages=c,c++
Thread model: posix
gcc version 3.4.4

-sh-3.00# cpp --verbose
Reading specs from /usr1/local/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/specs
Configured with: /source/gcc-3.4.4/configure --build=i686-pc-linux-gnu
--target=powerpc-unknown-linux-gnu
--host=powerpc-unknown-linux-gnu
--prefix=/usr1/local
--enable-threads=posix
--enable-symvers=gnu
--enable-shared
--enable-languages=c,c++
Thread model: posix
gcc version 3.4.4
 /usr1/local/libexec/gcc/powerpc-unknown-linux-gnu/3.4.4/cc1
-E -quiet -v -D__unix__ -D__gnu_linux__ -D__linux__ -Dunix -D__unix
-Dlinux -D__linux -Asystem=linux -Asystem=unix -Asystem=posix
ignoring nonexistent directory "/usr1/src/linux-2.6.15.7/include"
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory
"/usr1/local/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/../../../../powerpc-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr1/src/linux-2.6.20/include
 /usr1/local/include
 /usr1/local/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/include
 /usr/include
End of search list.

-sh-3.00# ld --verbose | grep SEARCH
SEARCH_DIR("/usr1/local/powerpc-unknown-linux-gnu/lib");
SEARCH_DIR("/usr1/local/lib");
SEARCH_DIR("/usr/local/lib");
SEARCH_DIR("/lib");
SEARCH_DIR("/usr/lib");

LD_LIBRARY_PATH=/lib:/export/doocs/lib:/usr1/local/lib:/usr1/lib
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr1/bin:/usr1/sbin:/usr1/local/bin:/usr1/local/sbin
C_INCLUDE_PATH=/usr1/src/linux-2.6.20/include

Please make some suggestions how to get rid of this problem.

Thanks in advance! :)

duryodhan 09-18-2007 08:35 AM

Is just make menuconfig not working or is this the problem with all ncurses based apps?

Why don't you try doing make config? the non ncurses interface isn't that bad and is probably 1337.

halturata 09-18-2007 09:17 AM

Quote:

Originally Posted by duryodhan (Post 2895733)
Is just make menuconfig not working or is this the problem with all ncurses based apps?

I didn't try any other ncurses apps. Fact is "make menuconfig" tries to compile some files in $KERNEL_SOURCE/scripts/kconfig/, and then tries to link the 'mconf' binary, and crashes. So my suggestion is that I built my binutils (ld especially, and maybe the whole GCC) the wrong way, and now ld tries to link this 'mconf' to the wrong library. I should have a look in the Makefile.

Quote:

Originally Posted by duryodhan (Post 2895733)
Why don't you try doing make config? the non ncurses interface isn't that bad and is probably 1337.

No offence meant, but no thanks. I don't find 1337 anything that makes you rerun 'make config' from beginning because you missed to set a single option. :)

tyrantlizard 06-05-2012 04:16 PM

sudo apt-get install lib32ncurses5-dev

TobiSGD 06-05-2012 04:42 PM

Quote:

Originally Posted by tyrantlizard (Post 4696294)
sudo apt-get install lib32ncurses5-dev

This will not work, that development package is for installing a 32 bit development package on a amd64 system, but the OP is using the PowerPC architecture (and it is not even clear that this is a Debian or Ubuntu system).


All times are GMT -5. The time now is 10:47 AM.