You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by thomas avondo <th...@yahoo.it> on 2002/07/18 12:26:09 UTC

another Undefined symbol Error on xercesc classes

hey,

i searched in the mailing list for some help about this message after i compiled my first test program:

ld: 0711-317 ERROR: Undefined symbol: .XMLPlatformUtils::Initialize()
ld: 0711-317 ERROR: Undefined symbol: .DOMImplementationRegistry::getDOMImplementation(const unsigned short*)
ld: 0711-317 ERROR: Undefined symbol: XMLUni::fgDOMNamespaces
ld: 0711-317 ERROR: Undefined symbol: XMLUni::fgXercesSchema
ld: 0711-317 ERROR: Undefined symbol: XMLUni::fgXercesSchemaFullChecking
ecc...

i am on AIX 4.3 platform, using xlC_r c++ compiler... and the nightly xerces-c version 2002-07-14

this error happens during linkage step: how come?

i couldnt find the solution in the mailing list, also i cant understand if is my linkage line command wrong

(aix>xlC_r XercescTest.o element.o -L$XERCESCROOT/lib -o ../bin/xercestest)

or whatever...

tanks in advantage

thomas



---------------------------------
Scarica il nuovo Yahoo! Messenger: con webcam, nuove faccine e tante altre novità!

Re: another Undefined symbol Error on xercesc classes

Posted by Ingolf Steinbach <in...@jena-optronik.de>.
* thomas avondo <th...@yahoo.it> [2002-07-18 12:26]:
> (aix>xlC_r XercescTest.o element.o -L$XERCESCROOT/lib -o ../bin/xercestest)

Thomas,

you have to add -lxerces (or whatever is the name). The
-L just tells xlC to search for libraries in this path.

Kind regards

    Ingolf
-- 

Ingolf Steinbach                       Jena-Optronik GmbH
ingolf.steinbach@jena-optronik.de       ++49 3641 200-147
PGP: 0x7B3B5661  213C 828E 0C92 16B5  05D0 4D5B A324 EC04

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org