Hi Gurudas,
The binaries you downloaded were built with xlC so the library won't be
compatibile with gcc.  Thus giving you the link errors.

You can either build your app with xlC or rebuild xerces with gcc (although
I am not sure if this has been done before - you might want to check the
mailing list archive as this was discusses a few months back).

Regards,
David A. Cargill
XML Parser Development
IBM Toronto Lab
(905) 413-2371, tie 969
[EMAIL PROTECTED]


                                                                           
             Gurudas_Pradhan                                               
             <Gurudas_Pradhan@                                             
             satyam.com>                                                To 
                                       [EMAIL PROTECTED]         
             09/13/2004 01:08                                           cc 
             PM                                                            
                                                                   Subject 
                                       Problem of Xerces in AIX-5.2        
             Please respond to                                             
               xerces-c-dev                                                
                                                                           
                                                                           
                                                                           
                                                                           




Hi All,
I am getting the following linking errors , while using the Xerces Parser(
AIX 5.1 compiled with xlC_r 6.0.0 .tar.gz archive:
xerces-c_2_5_0-aix_510-xlc_60_040127.tar.gz [PGP] [MD5] ) . I am using AIX
5.2 version, I was downloading the above binary( Current Binary Releases of
Xerces-C (32 bit))


I am using the GCC compiler  version-3.3.2  and GNU Make version 3.80


Can you please give a solution as soon as possible?





Here are the errors:


[EMAIL PROTECTED]:/cmsteamfs/vnellore/cmsdev/src/xml_parser] make
g++ -Wall -Wno-unused -W -ansi -pipe -DMACHINE=aix -o
/cmsteamfs/vnellore/cmsdev/bin/test_xml_parse aix/test_xml_parse.o \



-L/cmsteamfs/vnellore/cmsdev/src/xerces-c_2_5_0-aix_510-xlc_60_040127/lib
-lxerces-c25.0 -lpthread \
        -L/cmsteamfs/vnellore/cmsdev/lib -lMemParse -lpthread
ld: 0711-317 ERROR: Undefined symbol: .XMLPlatformUtils::Initialize()
ld: 0711-317 ERROR: Undefined symbol:
.SAXParser::SAXParser[in-charge](XMLValidator*)
ld: 0711-317 ERROR: Undefined symbol: .SAXParser::setDoValidation(bool)
ld: 0711-317 ERROR: Undefined symbol: .SAXParser::setDoNamespaces(bool)
ld: 0711-317 ERROR: Undefined symbol: typeinfo for XMLEntityDecl
ld: 0711-317 ERROR: Undefined symbol: .SAXParseException::getLineNumber()
const
ld: 0711-317 ERROR: Undefined symbol: .SAXParseException::getColumnNumber()
const
ld: 0711-317 ERROR: Undefined symbol: .XMLEntityDecl::~XMLEntityDecl
[not-in-charge]()
ld: 0711-317 ERROR: Undefined symbol:
.SAXParseException::SAXParseException[in-charge](SAXParseException const&)
ld: 0711-317 ERROR: Undefined symbol: typeinfo for SAXParseException
ld: 0711-317 ERROR: Undefined symbol: SAXParseException::~SAXParseException
[in-charge]()
ld: 0711-317 ERROR: Undefined symbol:
.MemBufInputSource::MemBufInputSource[in-charge](unsigned char const*,
unsigned, char c


onst*, bool)
ld: 0711-317 ERROR: Undefined symbol: .XMLPlatformUtils::getCurrentMillis()

ld: 0711-317 ERROR: Undefined symbol: typeinfo for XMLException
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
make: *** [/cmsteamfs/vnellore/cmsdev/bin/test_xml_parse] Error 1
[EMAIL PROTECTED]:/cmsteamfs/vnellore/cmsdev/src/xml_parser]


Regards,
Gurudas Pradhan





**************************************************************************
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.


**************************************************************************




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to