ld synbol errors building XML::Parser on AIX 5.2

Discussion in 'Perl Misc' started by Chris, Jun 30, 2005.

  1. Chris

    Chris Guest

    I'm attempting to build the XML::parser module under Perl 5.8 and AIX
    5.2. During make, I receive the following error:

    <output cutAndPasted="True">
    Running Mkbootstrap for XML::parser::Expat ()
    chmod 644 Expat.bs
    rm -f ../blib/arch/auto/XML/Parser/Expat/Expat.so
    LD_RUN_PATH="" ld -bhalt:4 -bM:SRE
    -bI:/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE/perl.exp
    -bE:Expat.exp -bnoentry -lpthreads -lc_r Expat.o -o
    .../blib/arch/auto/XML/Parser/Expat/Expat.so
    ld: 0711-317 ERROR: Undefined symbol: .XML_Parse
    ld: 0711-317 ERROR: Undefined symbol: .XML_SetNamespaceDeclHandler
    ld: 0711-317 ERROR: Undefined symbol: .XML_SetElementHandler
    ld: 0711-317 ERROR: Undefined symbol: .XML_SetUnknownEncodingHandler
    ld: 0711-317 ERROR: Undefined symbol: .XML_SetEndCdataSectionHandler
    ld: 0711-317 ERROR: Undefined symbol: .XML_SetStartCdataSectionHandler
    ld: 0711-317 ERROR: Undefined symbol: .XML_GetInputContext
    ld: 0711-317 ERROR: Undefined symbol: .XML_GetCurrentByteCount
    ld: 0711-317 ERROR: Undefined symbol: .XML_ErrorString
    ld: 0711-317 ERROR: Undefined symbol: .XML_GetSpecifiedAttributeCount
    ld: 0711-317 ERROR: Undefined symbol: .XML_GetCurrentByteIndex
    ld: 0711-317 ERROR: Undefined symbol: .XML_GetCurrentColumnNumber
    ld: 0711-317 ERROR: Undefined symbol: .XML_GetCurrentLineNumber
    ld: 0711-317 ERROR: Undefined symbol: .XML_GetErrorCode
    ld: 0711-317 ERROR: Undefined symbol: .XML_SetDefaultHandler
    ld: 0711-317 ERROR: Undefined symbol: .XML_SetDefaultHandlerExpand
    ld: 0711-317 ERROR: Undefined symbol: .XML_DefaultCurrent
    ld: 0711-317 ERROR: Undefined symbol: .XML_GetBase
    ld: 0711-317 ERROR: Undefined symbol: .XML_SetBase
    ld: 0711-317 ERROR: Undefined symbol: .XML_SetXmlDeclHandler
    ld: 0711-317 ERROR: Undefined symbol: .XML_SetEndDoctypeDeclHandler
    ld: 0711-317 ERROR: Undefined symbol: .XML_SetStartDoctypeDeclHandler
    ld: 0711-317 ERROR: Undefined symbol: .XML_SetAttlistDeclHandler
    ld: 0711-317 ERROR: Undefined symbol: .XML_SetElementDeclHandler
    ld: 0711-317 ERROR: Undefined symbol: .XML_SetEntityDeclHandler
    ld: 0711-317 ERROR: Undefined symbol: .XML_SetExternalEntityRefHandler
    ld: 0711-317 ERROR: Undefined symbol: .XML_SetNotationDeclHandler
    ld: 0711-317 ERROR: Undefined symbol: .XML_SetUnparsedEntityDeclHandler
    ld: 0711-317 ERROR: Undefined symbol: .XML_SetCommentHandler
    ld: 0711-317 ERROR: Undefined symbol:
    ..XML_SetProcessingInstructionHandler
    ld: 0711-317 ERROR: Undefined symbol: .XML_SetCharacterDataHandler
    ld: 0711-317 ERROR: Undefined symbol: .XML_ParserFree
    ld: 0711-317 ERROR: Undefined symbol: .XML_ParserCreate_MM
    ld: 0711-317 ERROR: Undefined symbol: .XML_SetUserData
    ld: 0711-317 ERROR: Undefined symbol: .XML_SetParamEntityParsing
    ld: 0711-317 ERROR: Undefined symbol: .XML_ExternalEntityParserCreate
    ld: 0711-317 ERROR: Undefined symbol: .XML_GetBuffer
    ld: 0711-317 ERROR: Undefined symbol: .XML_ParseBuffer
    ld: 0711-317 ERROR: Undefined symbol: .XML_SetCdataSectionHandler
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
    information.
    make: 1254-004 The error code from the last command is 8.
    </output>

    Does anyone know where the loader might be looking outside of the
    objects specified on the command line to recolve these symbols and how
    I might coax it into resolving these symbols? I am assuming
    .../blib/arch/auto/XML/Parser/Expat/Expat.so, but in the make file
    previous to the ld, the Expat.so is rm'd (as one can see in the output
    above)?

    Thanks for any insight anyone can shed on this issue. I've never had
    so many difficulties with Perl and Perl modules as I have under AIX...!

    -ceo
     
    Chris, Jun 30, 2005
    #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. ClownPleco

    putenv for AIX and ifdef for AIX

    ClownPleco, Aug 22, 2007, in forum: C Programming
    Replies:
    5
    Views:
    1,177
    Thomas Dickey
    Aug 24, 2007
  2. Replies:
    5
    Views:
    219
    Philippe Lucas
    Jul 8, 2005
  3. arne
    Replies:
    0
    Views:
    374
  4. Sean
    Replies:
    3
    Views:
    325
    robic0
    Oct 3, 2006
  5. Sean
    Replies:
    0
    Views:
    388
Loading...

Share This Page