Hi Martin,

Martin Brentnall <[email protected]> writes:

> The instruction says I must do: ./configure LDFLAGS=-no-undefined
> However, it seems that GCC 4.6.0 and later fail when this option is given.

Yes, -no-undefined was removed from GCC 4.6. The workaround would be to
build Xerces-C++ like this:

./configure
make libxerces_c_la_LDFLAGS="-release 3.1 -no-undefined"

In the next release we should actually add -no-undefined to AM_LDFLINGS
in the Makefile.am.

Boris

-- 
Boris Kolpackov, Code Synthesis        http://codesynthesis.com/~boris/blog
Compiler-based ORM system for C++      http://codesynthesis.com/products/odb
Open-source XML data binding for C++   http://codesynthesis.com/products/xsd
XML data binding for embedded systems  http://codesynthesis.com/products/xsde

Reply via email to