Subject: | Error Report on DBD Informix Compilation... |
Date: | Tue, 28 Mar 2006 10:56:16 -0600 |
To: | bug-DBD-Informix [...] rt.cpan.org, "G. Maldonado" <gmaldonado [...] gdemos.com.mx>, gponce [...] gdemos.com.mx |
From: | Mario Ramirez Canto <mario.ramirez [...] efectivale.com.mx> |
We tried to compile DBD for Informix, on a IBM Openpower 720 with Power
5 processor, and only get an error when run compilation. The reference:
- Perl version: v5.8.3 built for ppc-linux-thread-multi
- DBI version: DBI-1.50
- DBD::Informix version: DBD-Informix-2005.01
- ESQL/C version: We use clientsdk.2.90.FC1.PLINUX
- IDS version: IDS 9 Enterprise Edition
- C compiler version: gcc version 3.3.3 (SuSE Linux)
- What the bug is: Compilation Error - unresolvable R_PPC64_REL24
relocation against many symbols.
- What the error messages are:
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/DBD/Informix/Informix.so] Error 1
- Reproduction: Attached file
Where can be found the problem...???
Thanks in advance.
--
Saludos.
Mario Ramirez Canto
Admon. Redes Locales EVSA, Mexico
mario.ramirez@efectivale.com.mx
Tel. 5241-1463
"Planear: preocuparse por encontrar el mejor método para lograr un
resultado accidental".
Ambrose Bierce (1842-1914); escritor estadounidense.
======================================================================
Aviso de Confidencialidad:
Este correo electronico y/o el material adjunto es para uso exclusivo
de la persona o entidad a la que expresamente se le ha enviado, y puede
contener informacion confidencial o material privilegiado. Si usted no es
el destinatario legitimo del mismo, por favor reportelo inmediatamente al
remitente del correo y borrelo sin copiarlo. Cualquier revision, retransmision,
difusion o cualquier otro uso de este correo, por personas o entidades distintas
a las del destinatario legitimo, queda expresamente prohibido.
Este correo electronico no pretende ni debe ser considerado como constitutivo
de ninguna relacion legal, contractual o de otra indole similar.
Notice of Confidentiality:
The information transmitted is intended only for the person or entity to which it
is addressed and may contain confidential and/or privileged material. Any review,
re-transmission, dissemination or other use of, or taking of any action in reliance
upon, this information by persons or entities other than the intended recipient is
prohibited. If you received this in error, please contact the sender immediately by
return electronic transmission and then immediately delete this transmission, including
all attachments, without copying, distributing or disclosing same.
# perl Makefile.PL
*** ExtUtils::AutoInstall version 0.63
*** Checking for dependencies...
[Core Features]
- DBI ...loaded. (1.50 >= 1.38)
[High Resolution Timing]
- Time::HiRes ...loaded. (1.52)
[POD Format Testing]
- Test::Pod ...missing.
==> Auto-install the 1 optional module(s) from CPAN? [y] n
*** ExtUtils::AutoInstall configuration finished.
Subroutine main::WriteMakefile redefined at /usr/lib/perl5/site_perl/5.8.3/ExtUtils/AutoInstall.pm line 491, <STDIN> line 1.
Configuring IBM Informix Database Driver for Perl DBI Version 2005.01 (2005-03-14) (aka DBD::Informix)
You are using DBI version 1.50 and Perl version 5.008003
Remember to actually read the README file!
Perl: perl v5.008003 ppc-linux-thread-multi dl_dlopen.xs
System: linux gooseberry 2.6.5 #1 smp wed jun 23 16:23:15 utc 2004 ppc ppc ppc gnulinux
*** Ideally, you should upgrade to Perl version 5.008006.
Using INFORMIXDIR=/opt/informix and ESQL/C compiler esql
Using IBM Informix CSDK Version 2.90, IBM Informix-ESQL Version 2.90.FC1 from /opt/informix
Beware: DBD::Informix is not yet aware of all the new IUS data types.
Assert macro will be disabled!
lib/DBD/Informix/Defaults.pm written OK
esqlvrsn.h written OK
esqlinfo.h written OK
Testing whether your Informix test environment will work...
ESQLTEST Program Running:
@(#)$Id: esqltest.ec,v 2004.1 2004/11/16 22:29:43 jleffler Exp $
$INFORMIXDIR is set to '/opt/informix'.
$INFORMIXSERVER is set to 'emisnet'.
$DBI_DBNAME set to 'evsa@emisnet'.
$DBD_INFORMIX_DATABASE set to 'evsa@emisnet'.
$DBD_INFORMIX_DATABASE2 unset - defaulting to 'evsa@emisnet'.
$DBD_INFORMIX_USERNAME is set to 'emision'.
$DBD_INFORMIX_USERNAME2 is unset - defaulting to 'emision'.
$DBD_INFORMIX_PASSWORD is set.
$DBD_INFORMIX_PASSWORD2 is unset - defaulting to $DBD_INFORMIX_PASSWORD.
Testing connection to evsa@emisnet
CONNECT TO 'evsa@emisnet' with user info
Testing concurrent connection to evsa@emisnet
CONNECT TO 'evsa@emisnet' with user info
Your Informix environment is (probably) OK
Multiple copies of Driver.xst found in: /usr/lib/perl5/site_perl/5.8.3/ppc-linux-thread-multi/auto/DBI/ /usr/lib/perl5/vendor_perl/5.8.3/ppc-linux-thread-multi/auto/DBI/ at Makefile.PL line 58
Using DBI 1.50 (for perl 5.008003 on ppc-linux-thread-multi) installed in /usr/lib/perl5/site_perl/5.8.3/ppc-linux-thread-multi/auto/DBI/
Writing Makefile for DBD::Informix
# make
..
..
..
..
..
..
..
..
/usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../powerpc-suse-linux/bin/ld: dbdimp.o(.text+0x4ea0): unresolvable R_PPC64_REL24 relocation against symbol `.sqli_desc_alloc'
/usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../powerpc-suse-linux/bin/ld: dbdimp.o(.text+0x4ee0): unresolvable R_PPC64_REL24 relocation against symbol `.sqli_curs_locate'
/usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../powerpc-suse-linux/bin/ld: dbdimp.o(.text+0x4ef8): unresolvable R_PPC64_REL24 relocation against symbol `.sqli_describe_stmt'
/usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../powerpc-suse-linux/bin/ld: dbdimp.o(.text+0x4fe4): unresolvable R_PPC64_REL24 relocation against symbol `.sqli_desc_alloc'
/usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../powerpc-suse-linux/bin/ld: dbdimp.o(.text+0x5014): unresolvable R_PPC64_REL24 relocation against symbol `.sqli_curs_locate'
/usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../powerpc-suse-linux/bin/ld: dbdimp.o(.text+0x502c): unresolvable R_PPC64_REL24 relocation against symbol `.sqli_describe_stmt'
/usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../powerpc-suse-linux/bin/ld: dbdimp.o(.text+0x5084): unresolvable R_PPC64_REL24 relocation against symbol `.sqli_desc_get'
/usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../powerpc-suse-linux/bin/ld: dbdimp.o(.text+0x5218): unresolvable R_PPC64_REL24 relocation against symbol `.sqli_desc_dealloc'
/usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../powerpc-suse-linux/bin/ld: dbdimp.o(.text+0x59b8): unresolvable R_PPC64_REL24 relocation against symbol `.sqgetdbs'
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/DBD/Informix/Informix.so] Error 1