This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
DB_File make error on HPUX 11.00
- To: "'gcc-help at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>
- Subject: DB_File make error on HPUX 11.00
- From: Azreen Bin Ahmad <azreena at starhub dot com dot sg>
- Date: Mon, 22 Jan 2001 17:52:14 +0800
Hi,
Any help is much appreciated.
I have this error running make for DB_File.pm . Running first step (perl
Makefile.PL) was ok.
Platform: HP-UX B.11.00 U 9000/800
DB_File: version 1.73
Berkeley DB: version 2.7.7
Tried building Berkeley DB with CFLAGS=-fPIC (thanks to Alexandre Oliva), as
specified in README but still fails.
PS: Any good newsgroup/sites discussing on installation problems? thanks ; )
Warm Regards,
azreen
s'pore
=============================================================
gcc -c -I/usr/local/BerkeleyDB/include -D_HPUX_SOURCE -L/lib/pa1.1
-DUIN
T32_MAX_BROKEN -fno-strict-aliasing -g -DVERSION=\"1.73\"
-DXS_VERSION=\"1
.73\" -fpic -I/opt/perl5/lib/5.6.0/PA-RISC2.0/CORE -DmDB_Prefix_t=size_t
-DmDB_H
ash_t=u_int32_t DB_File.c
Running Mkbootstrap for DB_File ()
chmod 644 DB_File.bs
LD_RUN_PATH="/usr/local/BerkeleyDB/lib" ld -o
blib/arch/auto/DB_File/DB_
File.sl -b -L/usr/local/lib version.o DB_File.o
-L/usr/local/BerkeleyDB/lib
-ldb
ld: Invalid loader fixup in text space needed in output file for symbol
"$000000
A3" in input file "/usr/local/BerkeleyDB/lib/libdb.sl(db_appinit.o)"
*** Error exit code 1
Stop.
#
============================================================
-----Original Message-----
From: Azreen Bin Ahmad
Sent: Monday, January 22, 2001 12:03 PM
To: 'Alexandre Oliva'
Subject: RE: Help on gcc compiler option
Thanks a million , Alex. This helped alot.
-----Original Message-----
From: Alexandre Oliva [SMTP:aoliva@redhat.com]
Sent: Monday, January 22, 2001 11:49 AM
To: Azreen Bin Ahmad
Cc: 'gcc-help@gcc.gnu.org'
Subject: Re: Help on gcc compiler option
On Jan 22, 2001, Azreen Bin Ahmad <azreena@starhub.com.sg>
wrote:
> I tried looking up (to no avail) for info on the
equivalent of C's
> +z option in gcc.
It's -fPIC.
--
Alexandre Oliva Enjoy Guarana', see
http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com,
redhat.com}
CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists,
not to me