HP-UX 10.20 compile

Christian Krackowizer kra1 at technodat.co.at
Wed Dec 1 08:11:46 UTC 1999


At 14:07 01.12.1999 +1100, you wrote:
>
>	We have had feedback that we need to use -fPIC instead of -fpic.
>	Below may a symptom of that.  I don't have access to a HPUX 10.20 
>	machine to check.
>
>	From the gcc man page:
>	Linker Options
>		-llibrary -nostartfiles -nostdlib -static -shared
>		-symbolic -Xlinker option -Wl,option -u symbol
>
>	Mark
>> 
>> 
>> I have patched HP-UX 10.20 with the referenced libc, sed, and ld patches.
>> I have installed the hpux.cs.utah.edu HP-UX depot versions of gcc, flex,
>> bison, and binutils.  I have downloaded the 8.2.2-P5 package from isc.org.
>> I figured out (finally) that I needed "CC=gcc -fpic" and "YACC=bison --yacc
>> --defines" in the Makefile.set in the src/port/hpux10 path.  I defined the
>> PATH to allow access to gcc, flex, bison, and binutils.  Everything looked
>> so good until the
>> 
>> "gcc -fpic -O -o named ..."
>> 
>> pops up, followed shortly by
>> 
>> "/usr/ccs/bin/ld: Data Linkage Table (+z) overflow in file db_dump.o - use
>> +Z option to recompile"
>> 
>> I haven't seen this problem in the last month of the news group.  Would
>> someone please tell me something to do which will allow me to compile and
>> load the BIND 8.2.2-P5 package successfully on an HP-UX 10.20 system?  I am
>> sure there is some way to tell ld to use the +Z option, but the only way I
>> know (export LDOPTS=+Z) causes other errors.  Thanks in advance.

Just as information.
Using 'cc' works well, using 'gcc' out of the box (Makefile.set.gcc) fails
badly as some header files couldn't be read correctly during pre-compile
phase.

mit freundlichen Gruessen

Christian Krackowizer

+-----------------------------------------------------------------+
| Krackowizer Christian               mailto:kra1 at technodat.co.at |
| TECHNODAT                           Phone: ++43-(0)662-454944-0 |
| CAD/CAM - Systeme fuer Moebel GmbH  FAX:   ++43-(0)662-454944-9 |
| Jakob-Haringer-Strasse 6            http://www.technodat.co.at/ |
| A-5020 Salzburg / Austria                                       |
+-----------------------------------------------------------------+



More information about the bind-users mailing list