Linking problems with xerces-c2_2_0 on ibm aix 5.2

Discussion in 'XML' started by Reinhard Schauer, Sep 18, 2003.

  1. 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
     
    Reinhard Schauer, Sep 18, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Thanvir
    Replies:
    0
    Views:
    611
    Thanvir
    Apr 12, 2005
  2. Thanvir
    Replies:
    0
    Views:
    633
    Thanvir
    Apr 12, 2005
  3. fan
    Replies:
    4
    Views:
    435
    carl mcguire
    Jan 5, 2004
  4. Robert Wells
    Replies:
    4
    Views:
    702
    Default User
    Jun 24, 2008
  5. Qu0ll
    Replies:
    42
    Views:
    1,317
    Thufir Hawat
    Apr 13, 2009
Loading...

Share This Page