Hello Boris,

The Xerces examples generate the same error.  I also reinstalled to ensure I 
ran the configure script with the correct options, but no success.

Cygwin 1.7 is a fairly recent major release, so perhaps there is some 
unexpected interaction at work here.  Was Xerces test compiled under this 
Cygwin version?

-Brian


---- Boris Kolpackov <[email protected]> wrote: 
> Hi,
> 
> [email protected] <[email protected]> writes:
> 
> > 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'
> > 
> > [...]
> > 
> > Searching the web, I found an explanation for the error here [...]
> 
> This explanation basically says that Xerces-C++ does not define one
> or more virtual functions declared in XMLException. I don't think
> this is the case since the library has been tested and works fine
> on various other platforms, including other versions of Cygwin.
> 
> The cause of this error is most likely a play between inline virtual
> functions, DLLs, and GCC that I remember seeing in earlier compilers.
> But your version of GCC is fairly recent so this is strange.
> 
> What about the Xerces-C++ examples? Have they linked successfully?
> 
> Boris
> 
> -- 
> Boris Kolpackov, Code Synthesis        http://codesynthesis.com/~boris/blog
> Open-source XML data binding for C++   http://codesynthesis.com/products/xsd
> XML data binding for embedded systems  http://codesynthesis.com/products/xsde
> Command line interface to C++ compiler http://codesynthesis.com/projects/cli

Reply via email to