Anil,
gcc 2.96 is old, and Xerces 2.6 is old too, so I don't recall what is their status. Anyhow, you reported these errors

tmp.2(.gnu.linkonce.t._ZN11xercesc_2_610XMLRefInfoD0Ev+0x1aa): In function `xercesc_2_6::XMLRefInfo::~XMLRefInfo()':
: undefined reference to `_Unwind_SjLj_Unregister'
tmp.2(.gnu.linkonce.t._ZN11xercesc_2_610XMLRefInfoD0Ev+0x1ae): In function `xercesc_2_6::XMLRefInfo::~XMLRefInfo()':
: undefined reference to `_Unwind_SjLj_Unregister'
tmp.2(.gnu.linkonce.t._ZN11xercesc_2_611IOExceptionC1EPKcjNS_10XMLExcepts5CodesEPNS_13MemoryManagerE+0x72): In function `xercesc_2_6::IOException::IOException(char const*, unsigned, xercesc_2_6::XMLExcepts::Codes, xercesc_2_6::MemoryManager*)':
: undefined reference to `__gxx_personality_sj0'
tmp.2(.gnu.linkonce.t._ZN11xercesc_2_611IOExceptionC1EPKcjNS_10XMLExcepts5CodesEPNS_13MemoryManagerE+0x76): In function `xercesc_2_6::IOException::IOException(char const*, unsigned, xercesc_2_6::XMLExcepts::Codes, xercesc_2_6::MemoryManager*)':
: undefined reference to `__gxx_personality_sj0'

They refer to symbols that belong to the c++ compiler, not to Xerces; are you sure you are using g++ as compiler, instead of gcc? Another possibility is that your copy of gcc has been built without the option --enable-sjlj-exceptions, and doesn't have those symbols at all.

Alberto

Michael Glavassevich wrote:
Hi Anil,

I have never built Xerces-C before. Rather than privately e-mailing folks,
you should ask your question on the Xerces-C users list. And be patient. It
might take awhile before somebody answers. Also, try searching the mailing
list archives. You may find that someone else asked a similar question in
the past.

Thanks.

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [email protected]
E-mail: [email protected]

"Anil Edathara" <[email protected]> wrote on 01/20/2009 03:13:14 AM:

Hi Michael,
Sorry to email you directly. I got your email from your recent post.
We are planning to use Xerces 2.6 in one of our vxworks projects. We
are getting into some
build  issues while trying this. I posted it on the xerces
development site but didn't get any response.
Not sure whether I posted it correctly.
Whether gcc 2.96 can be used to build xerces 2.6 ? We have tried
with gcc 3.3 and it worked. But
unfortunately we cant change xerces version and gcc version at this
point.
Regards
Anil

Reply via email to