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 Michael Thomas <mi...@veryfast.biz> on 2003/06/02 02:02:23 UTC
lots of errors involving DOMString::~DOMString(void) when linking
Hi,
Thanks for checking out my post.
I am updating some existing C++ code on Linux (redhat 7.3) from Xerces
1.7 to 2.3. The migration help notes on the website have been a great
help, but I am getting hundreds of linking errors and most of them seem
to involve DOMString::~DOMString. I am using the gcc compiler egcs++
version egcs-2.91.66 - not by choice but for now I am stuck with this
compiler.
The code builds ok but when I link I get hundreds of these errors :-
.obj/SRS_XMLWrapper.o:/home/mthomas/srs3/epp/SRS_XMLWrapper.cpp:455: more
undefined references to `xercesc_2_3::DOMString::~DOMString(void)'
follow.obj/SRS_XMLWrapper.o:
In function `rcom::SRS_EPP_XMLWrapper::_writeUpdateToXML(rcom::SRS_Data
&, xercesc_2_3::DOM_Element &, xercesc_2_3::DOM_Document &,
rcom::EPPOutputVector *)':/home/mthomas/srs3/epp/SRS_XMLWrapper.cpp:468:
undefined reference to `xercesc_2_3::DOMString::DOMString(char const *)'
/home/mthomas/srs3/epp/SRS_XMLWrapper.cpp:468: undefined reference to
`xercesc_2_3::DOM_Document::createElement(xercesc_2_3::DOMString const
&)'
/home/mthomas/srs3/epp/SRS_XMLWrapper.cpp:468: undefined reference to
`xercesc_2_3::DOMString::~DOMString(void)'
/home/mthomas/srs3/epp/SRS_XMLWrapper.cpp:470: undefined reference to
`xercesc_2_3::DOMString::DOMString(char const *)'
/home/mthomas/srs3/epp/SRS_XMLWrapper.cpp:470: undefined reference to
`xercesc_2_3::DOM_Document::createElement(xercesc_2_3::DOMString const
&)'
......
.obj/DOMSerializer.o: In function
`xercesc_2_3::XMLFormatTarget::~XMLFormatTarget(void)':
/usr/local/ace_tao/5.3-1.3/ACE_wrappers/ace/String_Base.cpp(.text+0x18):
undefined reference to `xercesc_2_3::DOM_Node::getNodeName(void) const'
/usr/local/ace_tao/5.3-1.3/ACE_wrappers/ace/String_Base.cpp(.text+0x2b):
undefined reference to `xercesc_2_3::DOM_Node::getNodeValue(void) const'
I now my description is a bit vaugue but any help or pointers wuld be
greatly appreciated.
Thanks
Michael
mikethomas@veryfast.biz
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: lots of errors involving DOMString::~DOMString(void) when linking
Posted by da...@us.ibm.com.
Hi Michael,
No, those version of GCC are not compatible, so you will need to be
consistent with which version of GCC you use.
I have no idea if Xerces 2.3 will build with 2.91.66 -- that's an awfully
old version of GCC. You'll have to try it and see what happens.
Dave
"Michael Thomas"
<mikethomas@very To: xerces-c-dev@xml.apache.org
fast.biz> cc: (bcc: David N Bertoni/Cambridge/IBM)
Subject: Re: lots of errors involving DOMString::~DOMString(void) when linking
06/02/2003 07:03
AM
Please respond
to xerces-c-dev
Dave,
Thanks for the feedback.
I built Xerces 2.3 using g++ (version 2.96 20000731 Red Hat Linux 7.3
2.96-113).
Then I built my C++ code, the code I am having trouble with, using egcs++
(gcc version egcs-2.91.66 19990314/Linux egcs-1.1.2 release). Is this the
problem and if it is, is it possible to build Xerces 2.3 using egcs++
2.91.66 ?
Thank you for any advice.
Michael
----- Original message -----
From: david_n_bertoni@us.ibm.com
To: xerces-c-dev@xml.apache.org
Date: Sun, 1 Jun 2003 23:57:02 -0700
Subject: Re: lots of errors involving DOMString::~DOMString(void) when
linking
> Hi,
>
> Thanks for checking out my post.
>
> I am updating some existing C++ code on Linux (redhat 7.3) from Xerces
> 1.7 to 2.3. The migration help notes on the website have been a great
> help, but I am getting hundreds of linking errors and most of them seem
> to involve DOMString::~DOMString. I am using the gcc compiler egcs++
> version egcs-2.91.66 - not by choice but for now I am stuck with this
> compiler.
Did you build Xerces with your version of gcc? If not, you will have to,
as binaries produced by later versions of gcc or the Intel compiler are
not
compatible with those produced by 2.91.66.
Dave
---------------------------------------------------------------------
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
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: lots of errors involving DOMString::~DOMString(void) when linking
Posted by Michael Thomas <mi...@veryfast.biz>.
Dave,
Thanks for the feedback.
I built Xerces 2.3 using g++ (version 2.96 20000731 Red Hat Linux 7.3
2.96-113).
Then I built my C++ code, the code I am having trouble with, using egcs++
(gcc version egcs-2.91.66 19990314/Linux egcs-1.1.2 release). Is this the
problem and if it is, is it possible to build Xerces 2.3 using egcs++
2.91.66 ?
Thank you for any advice.
Michael
----- Original message -----
From: david_n_bertoni@us.ibm.com
To: xerces-c-dev@xml.apache.org
Date: Sun, 1 Jun 2003 23:57:02 -0700
Subject: Re: lots of errors involving DOMString::~DOMString(void) when
linking
> Hi,
>
> Thanks for checking out my post.
>
> I am updating some existing C++ code on Linux (redhat 7.3) from Xerces
> 1.7 to 2.3. The migration help notes on the website have been a great
> help, but I am getting hundreds of linking errors and most of them seem
> to involve DOMString::~DOMString. I am using the gcc compiler egcs++
> version egcs-2.91.66 - not by choice but for now I am stuck with this
> compiler.
Did you build Xerces with your version of gcc? If not, you will have to,
as binaries produced by later versions of gcc or the Intel compiler are
not
compatible with those produced by 2.91.66.
Dave
---------------------------------------------------------------------
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
Re: lots of errors involving DOMString::~DOMString(void) when linking
Posted by da...@us.ibm.com.
> Hi,
>
> Thanks for checking out my post.
>
> I am updating some existing C++ code on Linux (redhat 7.3) from Xerces
> 1.7 to 2.3. The migration help notes on the website have been a great
> help, but I am getting hundreds of linking errors and most of them seem
> to involve DOMString::~DOMString. I am using the gcc compiler egcs++
> version egcs-2.91.66 - not by choice but for now I am stuck with this
> compiler.
Did you build Xerces with your version of gcc? If not, you will have to,
as binaries produced by later versions of gcc or the Intel compiler are not
compatible with those produced by 2.91.66.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org