xerces-c-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Marshall <jim_marshall2...@yahoo.com>
Subject Undefined symbols with samples on AIX 5.3 with GCC
Date Fri, 18 Jul 2008 17:46:19 GMT
I'm using the binaries from the download site (xerces-c_2_8_0-powerpc-aix-xlc_7_0.tar.gz) along
with gcc 3.4.3. I copied the example from the programming section of the website (http://xerces.apache.org/xerces-c/program-dom.html#ConstructXercesDOMParser)
to a file and try to compile it and get a bunch of undefined symbol errors:

> gcc --version
gcc (GCC) 3.4.3
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

> g++ -I/home1/jamarsha/aix/build/xerces28/include -L/home1/jamarsha/aix/xerces28/lib -Lxerces-c
test.C
ld: 0711-317 ERROR: Undefined symbol: xercesc_2_8::XMLUni::fgXercescDefaultLocale
ld: 0711-317 ERROR: Undefined symbol: .xercesc_2_8::XMLPlatformUtils::Initialize(char const*,
char const*, xercesc_2_8::PanicHandler*, xercesc_2_8::MemoryManager*, bool)
ld: 0711-317 ERROR: Undefined symbol: .xercesc_2_8::XMLString::transcode(unsigned short const*)
...

I have also downloaded the source code to 2.8 and built it with xlC and get the same error
using those binaries.

Any thoughts?
Thanks


      

Mime
View raw message