This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb/2045: gdb 6.4 compilation fails on HPUX 10


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

From: Ralf Fassel <ralf@akutech.de>
To: "Mark Kettenis" <mark.kettenis@xs4all.nl>, gdb-gnats@sourceware.org
Cc:  
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.
 | | 
 | | ftp://europe-ffs.external.hp.com/hp-ux_patches/s700_800/10.X/PHCO_21018
 | 
 | 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
     #else
     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/*/*
 
 R'


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]