Hi Monty,

This error comes when there is a mismatch of libraries i.e. you are
tryin to compile 32 bit but dependent libraries are 64 bit or vice
versa.
I think you problem is you are runing configure after
"runConfigure"....runConfigure internally runs the configure ;-)
Your steps actually should be
runConfigure -r pthread -p solaris -c CC -x CC -b 64 export
CXXFLAGS="-library=stlport4" //want to build with stlport4 instead of
std.
gmake

Regards,
Pushkar

-----Original Message-----
From: Belive Yourself- Monty [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 09, 2008 1:18 PM
To: [email protected]
Cc: [EMAIL PROTECTED]
Subject: wrong ELF class: ELFCLASS64

Hi All,

I am trying to bulid 64 bit xerces 2.7 on solaris 5.1. Following are the
sequence of command I am giving:

runConfigure -r pthread -p solaris -c CC -x CC -b 64 export
CXXFLAGS="-library=stlport4" //want to build with stlport4 instead of
std.
./configure
gmake

but I am getting the following error.
ld: fatal: file SOLARIS/AttrImpl.o: wrong ELF class: ELFCLASS64


I am not able to make it what is going wrong. Some one please help me.

Thanks....
Monty
--

Reply via email to