Thanks Boris, that worked. In my system, xlC_r -> /usr/vac/bin/xlc. After installing xerces 3.0 (gmake install), I am facing the linking error as below for multiple symbols when I try to build my application code on AIX using g++ compiler: ld: 0711-317 ERROR: Undefined symbol: xercesc_3_0::DTDEntityDecl::isSerializable() const
But look at the nm output: nm -X64 /usr/local/lib/libxerces-c.a | grep "DTDEntityDecl::isSerializable" .xercesc_3_0::DTDEntityDecl::isSerializable() const T 1888 xercesc_3_0::DTDEntityDecl::isSerializable() const D 2472 24 xercesc_3_0::DTDEntityDecl::isSerializable() const d 2168 8 The same module links well on Cygwin/Windows! Thanks for all the support, Rajesh. On Wed, Apr 29, 2009 at 1:55 AM, Boris Kolpackov <[email protected]> wrote: > Hi Rajesh, > > Rajesh Bhattacharya <[email protected]> writes: > >> ./configure CXX=xlc_r CC=xlc_r CXXFLAGS=-q64 CFLAGS=-q64 [replaced >> xlC_r with xlc_r] >> >> [...] >> >> ld: 0711-317 ERROR: Undefined symbol: .clear__Q2_3std8ios_baseFib > > The linker is not finding the C++ library symbols. Try to use xlC_r > instead of xlc_r, as suggested in the instructions. > > Boris > > -- > Boris Kolpackov, Code Synthesis Tools http://codesynthesis.com/~boris/blog > Open source XML data binding for C++: http://codesynthesis.com/products/xsd > Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde >
