Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Linking problems with xerces-c2_2_0 on ibm aix 5.2

Reply
Thread Tools

Linking problems with xerces-c2_2_0 on ibm aix 5.2

 
 
Reinhard Schauer
Guest
Posts: n/a
 
      09-18-2003
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::makeNewTranscoderF or(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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
putenv for AIX and ifdef for AIX ClownPleco C Programming 5 08-24-2007 02:15 PM
Looking for AIX 5.2 binaries, IS anyone running Ruby on AIX 5.2 ?? bww00amdahl@yahoo.com Ruby 5 07-08-2005 11:54 AM
Application crash on IBM AIX 5.2 Thanvir C++ 0 04-12-2005 08:30 AM
Application crash on IBM AIX 5.2 Thanvir C++ 0 04-12-2005 08:25 AM
how to use large memory with gcc in AIX of IBM P650 fan C Programming 4 01-05-2004 02:23 PM



Advertisments