Problem building GDB 6.3 on HP-UX 11.11

Randolph Chung tausq@debian.org
Fri Jan 13 10:34:00 GMT 2006


Dirk Heinrichs wrote:
> Hello,
> 
> I'm trying to build GDB 6.3 on HP-UX, but linking fails with the following 
> error:
> 
> gcc -g -O2   -Dvfork=fork     \
>         -o gdb gdb.o libgdb.a \
>            ../bfd/libbfd.a ../readline/libreadline.a ../opcodes/libopcodes.a  ../libiberty/libiberty.a     
> -lncurses -lm  ../libiberty/libiberty.a
> /usr/ccs/bin/ld: Unsatisfied symbols:
>    __getcury (code)
>    __getcurx (code)
> collect2: ld returned 1 exit status
> make[1]: *** [gdb] Error 1
> make[1]: Leaving directory `/vob/apps/gdb/build-HP-UX/gdb'

Usually this means that gdb is picking up the system curses headers, but
it's linking against ncurses.

randolph



More information about the Gdb mailing list