I have built xerces-c v2.7 on RHEL4.0. Obviously, ld is assuming you are trying to build 32 bit, which is not true. You need to specify in the LFLAGS (of runConfigure) the flag for 64 bit on suse.
Cheers! Saurabh -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Bornholtz Sent: Monday, April 17, 2006 11:37 PM To: c-dev@xerces.apache.org Subject: Compiling Xerces on s390x (I sent this on Thursday but it may not have reached the list. If it did, sorry for the dupe) I've been having problems trying to compile a 31 bit version of xercex-c 2.6.1 on a s390x (64 bit) linux environment. I have tried the latest 2.7.0 also with the exact same messages. I can compile it as a 64 bit shared library just fine. I have CFLAGS=-m31 and CXXFLAGS=-m31 in the compile statement. All of the c++ files compile fine but when it goes to link them into the shared object I get many errors like this: /usr/lib64/gcc-lib/s390x-suse-linux/3.3.3/../../../../s390x-suse-linux/bin/l d: Warning: size of symbol `xercesc_2_6::RefHashTableOfEnumerator<xercesc_2_6::KVStringPair>::RefHashTa bleOfEnumerator[in-charge](xercesc_2_6::RefHashTableOf<xercesc_2_6::KVString Pair>*, bool, xercesc_2_6::MemoryManager*)' changed from 286 in LINUX/AbstractNumericFacetValidator.o to 290 in LINUX/BooleanDatatypeValidator.o and then many like this: /usr/lib64/gcc-lib/s390x-suse-linux/3.3.3/../../../../s390x-suse-linux/bin/l d: warning: s390:31-bit architecture of input file `LINUX/AbstractDOMParser.o' is incompatible with s390:64-bit output The complete log file from running gmake in the obj directory is at http://bornholtz.com/uploads/combined.log Does anyone have any experience compiling a 32 bit shared library on s390x environment? This is on SuSE 9. BTW, I'm able to compile and link a 32 bit version of log4cpp so I know the development environment is set up correctly with the appropriate biarch tools. Thanks, Tim --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]