/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? |