Cannot build DBD-Informix on HP-UX 11.11 - Invalid loader fixup i n text space...

From: Olivier Delaporte (olivier.delaporte_at_idt.com)
Date: 05/14/04


To: dbi-users@perl.org
Date: Thu, 13 May 2004 15:19:45 -0700

Hello
 
Here is the set-up:
DBD-Informix-2003.04
INFORMIX-ESQL Version 9.30.HC1 or ClientSDK 2.40
HP-UX 11.11 64 bit
Gcc 3.3.3
Perl -V:
Compiler:
    cc='gcc', ccflags ='-D_POSIX_C_SOURCE=199506L -D_REENTRANT
-D_HPUX_SOURCE -fPIC -mpa-risc-1-1 -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
    optimize='-O',
    cppflags='-D_HPUX_SOURCE -D_POSIX_C_SOURCE=199506L -D_REENTRANT
-D_HPUX_SOURCE -fPIC -mpa-risc-1-1 -fno-strict-aliasing'
  
I get a failure during the make step:
 
        LD_RUN_PATH="" INFORMIXC='/opt/perl/bin/perl esqlld' ESQLLD='gcc
-shared -static-libgcc -fPIC' esql -shared -static-libgcc -fPIC Informix.o
dbdimp.o dbdattr.o sqltoken.o sqltype.o ixblob.o decsci.o odbctype.o link.o
esqlcver.o esqlc_v6.o -o blib/arch/auto/DBD/Informix/Informix.sl
/usr/ccs/bin/ld: Invalid loader fixup in text space needed in output file
for symbol "$0000006A" in input file:
"/apps11/informix/lib/esql/libifgen.a(rmsg.o)". Make sure it was compiled
with +z/+Z.
collect2: ld returned 1 exit status
*** Error exit code 1
 
Thank you
 
Olivier Delaporte
 
 
------------------------------------------------------------
Olivier Delaporte
Unix Systems Manager
Integrated Device Technology
2975 Stender Way, C9-70
Santa Clara, CA 95054
(408) 654-6443 office
(408) 492-8629 fax