Linking problems with xerces-c2_2_0 on ibm aix 5.2

R

Reinhard Schauer

Hi all,

I try to build a program on AIX 5.2 with gcc 3.3 using the xerces-c2_2
parser. At the end of the build process I always get the following
error messsage:

ld: 0711-317 ERROR: Undefined symbol:
xercesc_2_2::XMLUni::fgXercescDefaultLocale
ld: 0711-317 ERROR: Undefined symbol:
..xercesc_2_2::XMLPlatformUtils::Initialize(char const *)
ld: 0711-317 ERROR: Undefined symbol:
xercesc_2_2::XMLPlatformUtils::fgTransService
ld: 0711-317 ERROR: Undefined symbol:
..xercesc_2_2::XMLTransService::makeNewTranscoderFor(char const *,
xercesc_2_2::XMLTransService::Codes &, unsigned int)
ld: 0711-317 ERROR: Undefined symbol:
..xercesc_2_2::XMLString::transcode(char const *, unsigned short *,
unsigned
int)

....and so on...

First I thought it is because xerces binaries are shared librarys and
the program is linked with static librarys. My second thought was,
that xerces binaries were built with the AIX compiler xlc and not with
gcc - so maby these librarys don't "understand" each other.
I tried then to build xerces on the AIX 5.2 my own, but it failed with
errors in pthread.h (unresolved external).
Maybe it is because there is no valid gcc for AIX 5.2. The newest gcc
is for AIX 5.1 only.

Now, I really don't know how to make the things working - I am no unix
specialist (not to mention building applications on unix).
Have you also erver tried to use xerces on AIX 5.2?
Please let me know if you solved this problem.

Thanks,

Reinhard
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top