This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Problem building GDB 6.3 on HP-UX 11.11
- From: Randolph Chung <tausq at debian dot org>
- To: gdb at sources dot redhat dot com
- Date: Fri, 13 Jan 2006 18:33:16 +0800
- Subject: Re: Problem building GDB 6.3 on HP-UX 11.11
- References: <200601130916.34315.ext-dirk.heinrichs@nokia.com>
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