Linking problems with xerces-c2_2_0 on ibm aix 5.2

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Reinhard Schauer

    Linking problems with xerces-c2_2_0 on ibm aix 5.2

    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::XM LUni::fgXercesc DefaultLocale
    ld: 0711-317 ERROR: Undefined symbol:
    ..xercesc_2_2:: XMLPlatformUtil s::Initialize(c har const *)
    ld: 0711-317 ERROR: Undefined symbol:
    xercesc_2_2::XM LPlatformUtils: :fgTransService
    ld: 0711-317 ERROR: Undefined symbol:
    ..xercesc_2_2:: XMLTransService ::makeNewTransc oderFor(char const *,
    xercesc_2_2::XM LTransService:: Codes &, unsigned int)
    ld: 0711-317 ERROR: Undefined symbol:
    ..xercesc_2_2:: XMLString::tran scode(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
Working...