Hello,
I'm trying to compile shared abf application on SUSE linux x86_64 and
Ingres 2006.
On SLES 9 everything works.
On SLES 10 compilation is OK but ld returns error:
/database/ingres/lib/abfmain.obj: relocation R_X86_64_32 against
`cAbrret' can not be used when making a shared object; recompile with
-fPIC
/database/ingres/lib/abfmain.obj: could not read symbols: Bad value
Ingres is the same release and patch level on both boxes.
Any ideas?
Nigel J Kavanagh - 20 Oct 2006 16:22 GMT
Hi,
Try having a look in
more %II_SYSTEM%\ingres\files\abflnk.opt
-L/opt/SUNWspro/lib -L/usr/ccs/lib -L/usr/lib -L$II_SYSTEM/ingres/lib
-linterp.1
-lframe.1
-lq.1
-lcompat.1
and
more %II_SYSTEM%\ingres\files\abfdyn.opt
-L/opt/SUNWspro/lib -L/usr/ccs/lib -L/usr/lib -L$II_SYSTEM/ingres/lib
-linterp.1
-lframe.1
-lq.1
-lcompat.1
This is from a solaris box, don't do Linux but should be very similar.
Verify -L, -l flags are correct.
-----Original Message-----
From: info-ingres-admin@cariboulake.com
[mailto:info-ingres-admin@cariboulake.com] On Behalf Of
vdohnal@uniscomp.cz
Sent: 20 October 2006 09:01
To: info-ingres@cariboulake.com
Subject: [Info-ingres] Compilation on x86_64
Hello,
I'm trying to compile shared abf application on SUSE linux x86_64 and
Ingres 2006.
On SLES 9 everything works.
On SLES 10 compilation is OK but ld returns error:
/database/ingres/lib/abfmain.obj: relocation R_X86_64_32 against
`cAbrret' can not be used when making a shared object; recompile with
-fPIC
/database/ingres/lib/abfmain.obj: could not read symbols: Bad value
Ingres is the same release and patch level on both boxes.
Any ideas?
_______________________________________________
Info-ingres mailing list
Info-ingres@cariboulake.com
http://mailman.cariboulake.com/mailman/listinfo.py/info-ingres