Boris,

I appreciate your attention & support.

Now I attempted to build xerces library using g++ compiler. I did not
find any instruction for that, but followed the following steps:

export OBJECT_MODE=64
./configure CFLAGS="-maix64" CXXFLAGS="-maix64" LDFLAGS="-maix64"
gmake

Now gmake spews too many ld errors, e.g.
/bin/sh ../libtool --tag=CXX   --mode=link g++  -maix64 -D_THREAD_SAFE
  -maix64 -o StdInParse src/StdInParse/StdInParse.o
src/StdInParse/StdInParseHandlers.o ../src/libxerces-c.la -lnsl
-lpthreads
g++ -maix64 -D_THREAD_SAFE -maix64 -o StdInParse
src/StdInParse/StdInParse.o src/StdInParse/StdInParseHandlers.o
../src/.libs/libxerces-c.a -lnsl -lpthreads

ld: 0711-224 WARNING: Duplicate symbol: non-virtual thunk to
xercesc_3_0::HandlerBase::resetErrors()

Thanks again for the support,
Rajesh.

On Thu, Apr 30, 2009 at 12:04 AM, Boris Kolpackov
<[email protected]> wrote:
> Hi Rajesh,
>
> Rajesh Bhattacharya <[email protected]> writes:
>
>> 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:
>
> You need to use the same compiler (XL C++ or g++) to build both Xerces-C++
> and your application.
>
> 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
>

Reply via email to