I've built and installed Xerces 3.1.0 under Cygwin 1.7.1 using the GCC 4.3.4 
toolchain.

When linking an application to the Xerces library, I receive the following 
error message...

obj/xxx.o:xxx.cpp:(.gcc_except_table+0xa4c): undefined reference to
`typeinfo for xercesc_3_1::XMLException'

The source code looks like...

try
{
   ...
}
catch (const xerces::XMLException& ex)
{
   ...
}

Searching the web, I found an explanation for the error here 
(http://www.wellho.net/mouth/802_undefined-reference-to-typeinfo-C-error-message.html).
  Apparently there are some virtual functions with missing null bodies?  I 
haven't had a chance to check the Xerces source code yet to confirm this.

Reply via email to