I could not find any related thread quickly, hence this post. Will
appreciate any support on this.

I am trying to build xerces-c-3.0.1 on AIX 6.1 platform. Followed the
steps from the xerces website as below:
export OBJECT_MODE=64
./configure CXX=xlc_r CC=xlc_r CXXFLAGS=-q64 CFLAGS=-q64  [replaced
xlC_r with xlc_r]
gmake clean [added to clear off linker errors due to stale obj files]
gmake libxerces_c_la_LDFLAGS=-qmkshrobj


I get the following errors when 'make' reaches samples folder...
Making all in samples
gmake[2]: Entering directory `/rajesh/xerces-c-3.0.1/samples'
Compiling src/CreateDOMDocument/CreateDOMDocument.cpp
/bin/sh ../libtool --tag=CXX   --mode=link xlc_r  -q64 -D_THREAD_SAFE
  -o CreateDOMDocument src/CreateDOMDocument/CreateDOMDocument.o
../src/libxerces-c.la -lnsl  -lpthreads
mkdir .libs
xlc_r -q64 -D_THREAD_SAFE -o CreateDOMDocument
src/CreateDOMDocument/CreateDOMDocument.o  ../src/.libs/libxerces-c.a
-lnsl -lpthreads
ld: 0711-317 ERROR: Undefined symbol: .clear__Q2_3std8ios_baseFib
ld: 0711-317 ERROR: Undefined symbol: __dl__FPv
ld: 0711-317 ERROR: Undefined symbol: .__ct__Q2_3std7_LockitFi

          <<snipped>>

ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
gmake[2]: *** [CreateDOMDocument] Error 8
gmake[2]: Leaving directory `/rajesh/xerces-c-3.0.1/samples'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/rajesh/xerces-c-3.0.1'
gmake: *** [all] Error 2


Thanks,
Rajesh.

Reply via email to