gdb/2045: gdb 6.4 compilation fails on HPUX 10

Ralf Fassel
Thu Dec 8 18:28:00 GMT 2005

The following reply was made to PR gdb/2045; it has been noted by GNATS.

From: Ralf Fassel <>
To: "Mark Kettenis" <>,
Subject: Re: gdb/2045: gdb 6.4 compilation fails on HPUX 10
Date: Thu, 8 Dec 2005 19:27:25 +0100

 * Ralf Fassel
 | * Mark Kettenis
 | | Looks like PHCO_21018 has a curses.h with this thing fixed.  That
 | | patch is still available from HP.
 | | 
 | |
 | FYI: with this patch installed (and gcc fixincludes rebuilt) gdb 6.4
 | now compiles on my system.
 Too quick a repsonse.  After patching my system with everything
 available on HP for HP-10, I now get the following linking error (I
 already got this error with only the curses.h patch, but assumed it
 would be fixed by applying all the other patches (which it was not)):
     gcc -O  -DPA_SOM_ONLY=1      \
 	    -o gdb gdb.o libgdb.a \
 	       ../readline/libreadline.a ../opcodes/libopcodes.a ../bfd/libbfd.a  ../libiberty/libiberty.a     -lcurses -lm  ../libiberty/libiberty.a  
     /usr/ccs/bin/ld: Unsatisfied symbols:
        __acs_map (data)
     collect2: ld returned 1 exit status
     gmake[2]: *** [gdb] Error 1
     gmake[2]: Leaving directory `/home/data/ralf/Software/gdb-6.4/gdb'
     gmake[1]: *** [all-gdb] Error 2
     gmake[1]: Leaving directory `/home/data/ralf/Software/gdb-6.4'
     gmake: *** [all] Error 2
 My /usr/include/curses.h now has
     /* @(#) $Revision: /ux/core/libs/hdr/curses.h@@/main/r10dav/libc_dav/3 $ */
     #ifdef _ACS_COMPAT_CODE
     extern	chtype	acs_map[];
     #define __acs_map acs_map
     extern	chtype	__acs_map[];
     #endif /* _ACS_COMPAT_CODE */
 If I compile with 'gcc -D_ACS_COMPAT_CODE', compile and linking
 succeeds :-/
 This macro is nowhere else used in /usr/include/* and /usr/include/*/*

More information about the Gdb-prs mailing list