I am trying to build a custom Linux kernel from within cygwin, but when
running make menuconfig, I get undefined symbols. I have patched my
binutils to fix building dlls, but this should not affect me here. Has
someone else encountered this problem, and if so what did you do?

Thanks,
Stephano Mariani

$ make menuconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts/lxdialog all
num_of_bfd=21 num_of_left_bfd=21 whole_size=       0 whole_reduced_size=
0
gcc -o lxdialog checklist.o menubox.o textbox.o yesno.o inputbox.o
util.o lxdialog.o msgbox.o -lncurses
checklist.o(.text+0x4e9):checklist.c: undefined reference to `COLS'
checklist.o(.text+0x500):checklist.c: undefined reference to `LINES'
checklist.o(.text+0x526):checklist.c: undefined reference to `stdscr'
menubox.o(.text+0x43b):menubox.c: undefined reference to `COLS'
menubox.o(.text+0x452):menubox.c: undefined reference to `LINES'
menubox.o(.text+0x47a):menubox.c: undefined reference to `stdscr'
textbox.o(.text+0x2a8):textbox.c: undefined reference to `COLS'
textbox.o(.text+0x2bc):textbox.c: undefined reference to `LINES'
textbox.o(.text+0x2eb):textbox.c: undefined reference to `stdscr'
yesno.o(.text+0xb3):yesno.c: undefined reference to `COLS'
yesno.o(.text+0xc7):yesno.c: undefined reference to `LINES'
yesno.o(.text+0xf2):yesno.c: undefined reference to `stdscr'
inputbox.o(.text+0xa9):inputbox.c: undefined reference to `LINES'
inputbox.o(.text+0xb3):inputbox.c: undefined reference to `COLS'
inputbox.o(.text+0xfc):inputbox.c: undefined reference to `stdscr'
util.o(.text+0x87):util.c: undefined reference to `COLS'
util.o(.text+0x8d):util.c: undefined reference to `LINES'
util.o(.text+0x93):util.c: undefined reference to `stdscr'
util.o(.text+0xab):util.c: undefined reference to `stdscr'
util.o(.text+0xd8):util.c: undefined reference to `stdscr'
util.o(.text+0xe9):util.c: undefined reference to `stdscr'
util.o(.text+0x111):util.c: undefined reference to `stdscr'
util.o(.text+0x11c):util.c: undefined reference to `COLS'
util.o(.text+0x12c):util.c: undefined reference to `stdscr'
util.o(.text+0x14c):util.c: undefined reference to `stdscr'
lxdialog.o(.text+0x2ac):lxdialog.c: undefined reference to `COLS'
lxdialog.o(.text+0x2b2):lxdialog.c: undefined reference to `LINES'
lxdialog.o(.text+0x2b8):lxdialog.c: undefined reference to `stdscr'
lxdialog.o(.text+0x2c6):lxdialog.c: undefined reference to `stdscr'
lxdialog.o(.text+0x2ed):lxdialog.c: undefined reference to `stdscr'
msgbox.o(.text+0x11):msgbox.c: undefined reference to `COLS'
msgbox.o(.text+0x25):msgbox.c: undefined reference to `LINES'
msgbox.o(.text+0x4e):msgbox.c: undefined reference to `stdscr'
num_of_bfd=79 num_of_left_bfd=79 whole_size=       0 whole_reduced_size=
0
collect2: ld returned 1 exit status
make[1]: *** [lxdialog] Error 1
make: *** [menuconfig] Error 2




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to