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 "Leitner, Sarah M. [Contractor]" <le...@spawar.navy.mil> on 2002/12/05 16:58:24 UTC
compiling xerces test program
To all:
How do I get my program to compile using xerces? It compiles ok, but the
linker gets a bunch of undefined references such as follows, on each time I
use a Xerces function:
/tmp/ccPqWzps.o (.txt+0x12): undefined reference to
'XMLPlatformUtils::Initialize()'
and the same for
XercesDOMParser::XercesDOMParser[in-charge](XMLValidator*)',
'AbstractDOMParser::setDoNamespaces(bool)', and several others.
Thanks much everyone!
Sarah
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: compiling xerces test program
Posted by Zdenek Nemec <ze...@mapfactor.com>.
Hi Sarah
Haven't you forgot to use "-lxerces-c" option when calling compiler or in
Makefile or whatever you use ( guessing you are on linux )
if not check your installation of xerces - whatever library is on its right
place( symlinks too ) and don't forget to use ldconfig if your distribution
needs it
zdenek
----- Original Message -----
From: "Leitner, Sarah M. [Contractor]" <le...@spawar.navy.mil>
To: <xe...@xml.apache.org>
Sent: Thursday, December 05, 2002 4:58 PM
Subject: compiling xerces test program
> To all:
>
> How do I get my program to compile using xerces? It compiles ok, but the
> linker gets a bunch of undefined references such as follows, on each time
I
> use a Xerces function:
>
> /tmp/ccPqWzps.o (.txt+0x12): undefined reference to
> 'XMLPlatformUtils::Initialize()'
>
> and the same for
> XercesDOMParser::XercesDOMParser[in-charge](XMLValidator*)',
> 'AbstractDOMParser::setDoNamespaces(bool)', and several others.
>
> Thanks much everyone!
>
> Sarah
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org