Yes the "-D__POSIX_C_SOURCE=199506L" option did the trick. We even use the IDOM and that is working fine. Patch-diff and a bugzilla to follow. Thanks!
Bhushan -----Original Message----- From: Martin Kalen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 8:07 PM To: [EMAIL PROTECTED] Subject: Re: xercesc on hpux 11 with gcc > Has anyone managed to get xerces working with gcc on hpux 11? If so, > what did you have to do to get it to work? I just tried Xerces-C 1.6.0 with gcc 2.95.2 on HP-UX B.11.00. I didn't bother fixing IDOM for this quick test, and my final libxerces-c1_6_0.sl did not include IDOM support. All other samples runs if everything is working, but exceptions generates a coredump -- so the following flags are not perfect, but might give you a starting point: PLATFORM_COMPILE_OPTIONS = -D${PLATFORM} -fPIC -D__POSIX_C_SOURCE=199506L MAKE_SHARED = ${CXX} -D${PLATFORM} -shared -fPIC ${LDFLAGS} MAKE_SHARED_C = ${CC} -D${PLATFORM} -shared -fPIC ${LDFLAGS} ALLLIBS = ${LIBS} > Do the missing symbols look familar to anyone? Missing most of the xerces symbols are usually indicating that 1/ one or more object files failed to compile or 2/ you try to compile the final application with a different C++ compiler. In addition to your IDOM changes I also had to guard inclusion of <wchar.h> in utils/Transcoders/Iconv/IconvTransService.cpp for XML_HPUX with "#if !defined(XML_HPUX". If you do get it up and running, it would be great if you could submit your patches to bugzilla as an enhancement so we don't loose track of this progress. Regards, Martin --------------------------------------------------------------------- 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]
