tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mknative-gdb: curses detection failure ... TUI disabled



Hi,

While trying to add support for 32bit objects in gdb(1) on my -current
amd64 workstation, i had to run mknative-gdb tool. But i noticed that
generated init.c file had all _initialize_tui_* symbols removed

The problem comes from the gdb/configure script that now fails to detect
the curses library :

configure:8145: /local/src/NetBSD/tool/bin/x86_64--netbsd-gcc -isystem 
/local/src/NetBSD/dest/amd64/usr/include -L/local/src/NetBSD/dest/amd64/lib 
-L/local/src/NetBSD/dest/amd64/usr/lib -B/local/src/NetBSD/dest/amd64/usr/lib/ 
-o conftest    conftest.c -lcurses  -lm  >&5
/local/src/NetBSD/tool/lib/gcc/x86_64--netbsd/4.1.3/../../../../x86_64--netbsd/bin/ld:
 warning: libterminfo.so.1, needed by 
/local/src/NetBSD/dest/amd64/usr/lib/libcurses.so, not found (try using -rpath 
or -rpath-link)
/local/src/NetBSD/dest/amd64/usr/lib/libcurses.so: undefined reference to 
`del_curterm'
/local/src/NetBSD/dest/amd64/usr/lib/libcurses.so: undefined reference to 
`ti_setupterm'
/local/src/NetBSD/dest/amd64/usr/lib/libcurses.so: undefined reference to 
`t_vparm'
/local/src/NetBSD/dest/amd64/usr/lib/libcurses.so: undefined reference to 
`vtparm'
/local/src/NetBSD/dest/amd64/usr/lib/libcurses.so: undefined reference to 
`tputs'
/local/src/NetBSD/dest/amd64/usr/lib/libcurses.so: undefined reference to 
`ti_puts'
/local/src/NetBSD/dest/amd64/usr/lib/libcurses.so: undefined reference to 
`cur_term'
/local/src/NetBSD/dest/amd64/usr/lib/libcurses.so: undefined reference to 
`set_curterm'
collect2: ld returned 1 exit status
configure:8151: $? = 1

Any idea how to fix this ?

Thanks.

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.


Home | Main Index | Thread Index | Old Index