Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / Ingres Topics / October 2006

Tip: Looking for answers? Try searching our database.

Compilation on x86_64

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
vdohnal@uniscomp.cz - 20 Oct 2006 09:00 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.