dbTalk Databases Forums  

/usr/ccs/bin/ld: accountProfile.o: Mismatched ABI. 64-bit PA object file found in 32-bit link.

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss /usr/ccs/bin/ld: accountProfile.o: Mismatched ABI. 64-bit PA object file found in 32-bit link. in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Hemalatha
 
Posts: n/a

Default /usr/ccs/bin/ld: accountProfile.o: Mismatched ABI. 64-bit PA object file found in 32-bit link. - 08-23-2006 , 01:03 AM






Hi,

I'm trying to link one library to the object file which is already
built.

Ex:

all: accountProfile.o link
accountProfile.o: accountProfile.cc
$(CC) -c $(CFLAGS) accountProfile.cc

link : accountProfile.o
$(CC) accountProfile.o -o accountProfile $(LD) \
-lc${OCP_UTIL}/libOcpUtil \
-lc${OCP_OBJ}/libOcpObj \
-lc${OCP_XML_PARSER}/libOcpXmlParser \
-lc${EGW_UTIL}/libegw \
-lc${XERCES_LIB_DIR}/libxerces-c
In the above makefile code, libOcpUtil.a library is latest file and
remaining all are updated ones. when i run the above make file it is
giving following error.

/usr/ccs/bin/ld: accountProfile.o: Mismatched ABI. 64-bit PA object
file found i
n 32-bit link.
make: *** [link] Error 1

I checked the Oracle and Object files, both are 64 bit files. I'm sure
libOcpUtil.a also 64-bit file because to build this library we are
using makefile and there i mentioned '+DA2.0W' in compiler options
which build 64-bit file.

Can you clarify the above issue?


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.