- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Linking error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2005 01:18 PM
09-13-2005 01:18 PM
The server is HP-UX B.11.23 U ia64. I am trying to compile my proc program and link it.
This is the script which i am using to compile and link the binaries.
/usr/bin/cc -DHPUNX -DHPUX -DHPUX_SOURCE -c -V $1.c -I/usr/include -I$ORACLE_HOME
-I$ORACLE_HOME/lib -I$ORACLE_HOME/precomp/public
/usr/bin/cc -o $1 $1.o -L$ORACLE_HOME/lib `cat $ORACLE_HOME/lib/sysli
blist` $ORACLE_HOME/lib/libclntsh.so.9.0 $ORACLE_HOME/lib/libclient9.a $ORACLE_H
OME/lib/libsql9.a $ORACLE_HOME/lib/scorept.o $ORACLE_HOME/lib/sscoreed.o $ORACLE
_HOME/rdbms/lib/kpudfo.o $ORACLE_HOME/lib/libnsslb9.a $ORACLE_HOME/lib/libnoname
9.a $ORACLE_HOME/lib/libntcp9.a $ORACLE_HOME/lib/libntcps9.a $ORACLE_HOME/lib/li
bntns9.a $ORACLE_HOME/lib/libn9.a $ORACLE_HOME/lib/libnl9.a $ORACLE_HOME/lib/lib
nro9.a $ORACLE_HOME/lib/libnbeq9.a $ORACLE_HOME/lib/libvsn9.a $ORACLE_HOME/lib/l
ibcommon9.a $ORACLE_HOME/lib/libskgxp9.a $ORACLE_HOME/lib/libgeneric9.a $ORACLE_
HOME/lib/libpls9.a $ORACLE_HOME/lib/libplp9.a $ORACLE_HOME/lib/libtrace9.a $ORAC
LE_HOME/lib/libnls9.a $ORACLE_HOME/lib/libcore9.a $ORACLE_HOME/lib/libmm.a
Note: I have made implicit library calls instead of using -lclntsh9, -lclient9 etc as the previous error i got was path not
found or mismatched data ABI.
But now i am getting the following error
cc: HP aC++/ANSI C B3910B A.06.00 [Aug 25 2004]
ld: Mismatched Data ABI. Expected None but found EF_IA_64_ABI64 in file /doracle/app/oracle/product/9.2.0.2.0/lib/libclntsh.so.9.0
Fatal error.
can anyone suggest What linking option should i use?
Solved! Go to Solution.
- Tags:
- ABI mismatch
- ProC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2005 05:57 PM
09-13-2005 05:57 PM
Re: Linking error
That's why its giving that error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2005 07:35 PM
09-13-2005 07:35 PM
Solutioncheck this past forum:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=126837
Regards,
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2005 07:43 PM
09-13-2005 07:43 PM
Re: Linking error
in this pdf there is a small description of generic "Mismatched ABI" error:
http://us-support3.external.hp.com/iv/data/documents/DE_SW_UX_swrec_EN_01_E/SW-Development.pdf
Hope it can be a minimal help.
Cheers,
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2005 10:54 PM
09-14-2005 10:54 PM
Re: Linking error
Note :
The 32 bit shared libraries was in $ORACLE_HOME/lib32 directory