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 Sa...@blr.hexaware.com on 2005/04/15 06:36:34 UTC
Building Xerces 2.3.0 with GCC 3.4.2 on Solaris5.8!!!
Hi
I had built the source on HP Itanium(11.23). I am using the same source
tree(after clean up).
Xerces build using GCC 3.4.2 on Solaris, is not tested by Apache. Hence
any help is appreciated!
runConfigure output ends like this:
export TRANSCODER="NATIVE"
export MESSAGELOADER="INMEM"
export NETACCESSOR="Socket"
export THREADS="pthread"
export BITSTOBUILD="32"
export CC="gcc"
export CXX="g++"
export CXXFLAGS=" -mcpu=ultrasparc3 -w -O3 -DPROJ_XMLPARSER -DPROJ_XMLUTIL
-DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_VALIDATORS
-DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER
-DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET -ffor-scope
-fno-enforce-eh-specs -fno-const-strings "
export CFLAGS=" -mcpu=ultrasparc3 -w -O2 -DPROJ_XMLPARSER -DPROJ_XMLUTIL
-DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_VALIDATORS
-DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER
-DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET "
export LDFLAGS=" -mcpu=ultrasparc3 "
export LIBS=" -lpthread "
configure --prefix=/user/sbhatnag/xercesv2.3.0
I get this error while building with gmake in XMLSTRING.CPP:
g++ -fPIC -DSOLARIS -D_REENTRANT -c
-I/user/sbhatnag/xerces/xerces-c-src_2_3_0/include -mcpu=ultrasparc3 -w
-O3 -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C
-DPROJ_SAX2 -DPROJ_DOM -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER
-DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS
-DXML_USE_NETACCESSOR_SOCKET -D__sparc__ -ffor-scope
-fno-enforce-eh-specs -fno-const-strings -o
/user/sbhatnag/xerces/xerces-c-src_2_3_0/obj/SOLARIS/XMLString.o
XMLString.cpp
In file included from
/user/sbhatnag/xerces/xerces-c-src_2_3_0/include/xercesc/util/RefArrayVectorOf.hpp:32,
from XMLString.cpp:74:
/user/sbhatnag/xerces/xerces-c-src_2_3_0/include/xercesc/util/RefArrayVectorOf.c:
In destructor `xercesc_2_3::RefArrayVectorOf<TElem>::~RefArrayVectorOf()':
/user/sbhatnag/xerces/xerces-c-src_2_3_0/include/xercesc/util/RefArrayVectorOf.c:25:
error: `fAdoptedElems' undeclared (first use this function)
/user/sbhatnag/xerces/xerces-c-src_2_3_0/include/xercesc/util/RefArrayVectorOf.c:25:
error: (Each undeclared identifier is reported only once for each function
it appears in.)
/user/sbhatnag/xerces/xerces-c-src_2_3_0/include/xercesc/util/RefArrayVectorOf.c:27:
error: `fCurCount' undeclared (first use this function)
/user/sbhatnag/xerces/xerces-c-src_2_3_0/include/xercesc/util/RefArrayVectorOf.c:28:
error: `fMemoryManager' undeclared (first use this function)
/user/sbhatnag/xerces/xerces-c-src_2_3_0/include/xercesc/util/RefArrayVectorOf.c:28:
error: `fElemList' undeclared (first use this function)
gmake[1]: *** [XMLString.o] Error 1
gmake[1]: Leaving directory
`/user/sbhatnag/xerces/xerces-c-src_2_3_0/src/xercesc/util'
gmake: *** [Util] Error 2
Interestingly, the file /RefArrayVectorOf.hpp is created at run time.
warm regards
Saurabh
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
xerces-c download website bug
Posted by Matteo Vega <ve...@yahoo.com>.
Hi,
On the sidebar of the xerces-c download page
(http://xml.apache.org/xerces-c/download.cgi) is
showing the CVS Repository and the Mailing Archive
links in the wrong order. Therefore, the links are
pointing to the wrong URL.
Matt.
--- Saurabh.Bhatnagar@blr.hexaware.com wrote:
> Hi Dave
>
> I was able to build Xerces 2.6.0 with GCC 3.4.2 but
> is it compatible with
> Xalan 1.9?
>
> The 32 bit Xalan 1.9 build failed with this error:
>
> g++ -mcpu=ultrasparc3 -w -O3 -D__sparc__
> -ffor-scope
> -fno-enforce-eh-specs -fno-const-strings
> -fno-elide-constructors -Wall
> -fPIC -DSOLARIS -D_REENTRANT
> -DXALAN_INMEM_MSG_LOADER -c
> -I/user/sbhatnag/xalan/xml-xalan/c/src
> -I/user/sbhatnag/xalan/xml-xalan/c/include
> -I../../nls/include
> -I/user/sbhatnag/xerces/xerces-c-src_2_6_0/src/
>
-I/user/sbhatnag/xerces/xerces-c-src_2_6_0/include/xercesc
>
> -I/user/sbhatnag/xerces/xerces-c-src_2_6_0/include/
> -o
> ../../obj/XPathEvaluator.o
>
/user/sbhatnag/xalan/xml-xalan/c/src/xalanc/XPath/XPathEvaluator.cpp
>
>
/user/sbhatnag/xalan/xml-xalan/c/src/xalanc/XPath/ElementPrefixResolverProxy.hpp:
>
> In member function `xalanc_1_9::XObjectPtr
>
xalanc_1_9::XPathEvaluator::evaluate(xalanc_1_9::DOMSupport&,
>
> xalanc_1_9::XalanNode*, const
> xalanc_1_9::XalanDOMChar*, const
> xalanc_1_9::XalanElement*)':
>
>
/user/sbhatnag/xalan/xml-xalan/c/src/xalanc/XPath/ElementPrefixResolverProxy.hpp:89:
>
> error: `xalanc_1_9::ElementPrefixResolverProxy::
> ElementPrefixResolverProxy(const
> xalanc_1_9::ElementPrefixResolverProxy&)'
> is private
>
/user/sbhatnag/xalan/xml-xalan/c/src/xalanc/XPath/XPathEvaluator.cpp:279:
>
> error: within this context
>
/user/sbhatnag/xalan/xml-xalan/c/src/xalanc/XPath/ElementPrefixResolverProxy.hpp:
>
> In member function `xalanc_1_9::XObjectPtr
>
xalanc_1_9::XPathEvaluator::evaluate(xalanc_1_9::DOMSupport&,
>
> xalanc_1_9::XalanNode*, const xalanc_1_9::XPath&,
> const
> xalanc_1_9::XalanElement*)':
>
/user/sbhatnag/xalan/xml-xalan/c/src/xalanc/XPath/ElementPrefixResolverProxy.hpp:89:
>
> error:
>
`xalanc_1_9::ElementPrefixResolverProxy::ElementPrefixResolverProxy(const
>
> xalanc_1_9::ElementPrefixResolverProxy&)' is private
>
/user/sbhatnag/xalan/xml-xalan/c/src/xalanc/XPath/XPathEvaluator.cpp:299:
>
> error: within this context
>
/user/sbhatnag/xalan/xml-xalan/c/src/xalanc/XPath/ElementPrefixResolverProxy.hpp:
>
> In member function `xalanc_1_9::XPath*
> xalanc_1_9::XPathEvaluator::createXPath(const
> xalanc_1_9::XalanDOMChar*)':
>
/user/sbhatnag/xalan/xml-xalan/c/src/xalanc/XPath/ElementPrefixResolverProxy.hpp:89:
>
> error:
>
`xalanc_1_9::ElementPrefixResolverProxy::ElementPrefixResolverProxy(const
>
> xalanc_1_9::ElementPrefixResolverProxy&)' is private
>
/user/sbhatnag/xalan/xml-xalan/c/src/xalanc/XPath/XPathEvaluator.cpp:348:
>
> error: within this context
>
/user/sbhatnag/xalan/xml-xalan/c/src/xalanc/XPath/ElementPrefixResolverProxy.hpp:
>
> In member function `xalanc_1_9::XPath*
> xalanc_1_9::XPathEvaluator::createXPath(const
> xalanc_1_9::XalanDOMChar*,
> xalanc_1_9::DOMSupport&, const
> xalanc_1_9::XalanElement*)':
>
/user/sbhatnag/xalan/xml-xalan/c/src/xalanc/XPath/ElementPrefixResolverProxy.hpp:89:
>
> error:
>
`xalanc_1_9::ElementPrefixResolverProxy::ElementPrefixResolverProxy(const
>
> xalanc_1_9::ElementPrefixResolverProxy&)' is private
>
/user/sbhatnag/xalan/xml-xalan/c/src/xalanc/XPath/XPathEvaluator.cpp:361:
>
> error: within this context
> gmake[1]: *** [../../obj/XPathEvaluator.o] Error 1
> gmake[1]: Leaving directory
> `/user/sbhatnag/xalan/xml-xalan/c/src/xalanc'
> gmake: *** [install-package] Error 2
>
> Any comments are welcome!
>
> warm regards
> Saurabh
>
>
>
>
> david_n_bertoni@us.ibm.com
> 04/15/2005 12:00 PM
> Please respond to
> xerces-c-dev@xml.apache.org
>
>
> To
> xerces-c-dev@xml.apache.org
> cc
>
> Subject
> Re: Building Xerces 2.3.0 with GCC 3.4.2 on
> Solaris5.8!!!
>
>
>
>
>
>
> > from XMLString.cpp:74:
> >
>
/user/sbhatnag/xerces/xerces-c-src_2_3_0/include/xercesc/util/RefArrayVectorOf.c:
>
>
>
> > In destructor
>
`xercesc_2_3::RefArrayVectorOf<TElem>::~RefArrayVectorOf()':
> >
>
/user/sbhatnag/xerces/xerces-c-src_2_3_0/include/xercesc/util/RefArrayVectorOf.c:25:
>
>
>
> > error: `fAdoptedElems' undeclared (first use this
> function)
> >
>
/user/sbhatnag/xerces/xerces-c-src_2_3_0/include/xercesc/util/RefArrayVectorOf.c:25:
>
>
>
> > error: (Each undeclared identifier is reported
> only once for each
> function
> > it appears in.)
> >
>
/user/sbhatnag/xerces/xerces-c-src_2_3_0/include/xercesc/util/RefArrayVectorOf.c:27:
>
>
>
> > error: `fCurCount' undeclared (first use this
> function)
> >
>
/user/sbhatnag/xerces/xerces-c-src_2_3_0/include/xercesc/util/RefArrayVectorOf.c:28:
>
>
>
> > error: `fMemoryManager' undeclared (first use this
> function)
> >
>
/user/sbhatnag/xerces/xerces-c-src_2_3_0/include/xercesc/util/RefArrayVectorOf.c:28:
>
>
>
> > error: `fElemList' undeclared (first use this
> function)
>
> You will probably have a difficult time building
> that version of Xerces-C
> with newer versions of GCC. I suggest you upgrade
> to the latest released
> version, 2.6.0. If you cannot do that, you will
> need to modify the
> sources. The fix for these particular errors is to
> qualify the dependent
> names with "this->", but there will likely be other
> issues once you get
> past these.
>
> this->fCurCount
> this->FMemoryManager
>
>
> See here for more information:
>
>
http://womble.decadentplace.org.uk/c++/template-faq.html#base-lookup
>
> 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:
> c-dev-unsubscribe@xerces.apache.org
>
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org
Re: Building Xerces 2.3.0 with GCC 3.4.2 on Solaris5.8!!!
Posted by Sa...@blr.hexaware.com.
Hi Dave
Thanks for your inputs.
I am able to build Xalan from 18th Apr. CVS snapshot.
http://cvs.apache.org/snapshots/xml-xalan/xml-xalan_20050419042745.tar.gz
Is this 1.9 version?
Amazingly, I find that the 32 and 64 bit libraries are of the same size!!!
I built twice just to make sure, got the same result.
The only difference in the two. is that in 32 bit there are no symlinks
but in 64 it's as usual.
(We have built Xalan 1.7 where 64 bit libs were around 30% bigger than 32
bit ones. )
In my install directory
$ diff lib lib_64
$ ll lib
total 54888
-rwxrwxr-x 1 sbhatnag rd-tech 9310868 Apr 19 04:39 libxalan-c.so
-rwxrwxr-x 1 sbhatnag rd-tech 9310868 Apr 19 04:39 libxalan-c.so.19
-rwxrwxr-x 1 sbhatnag rd-tech 9310868 Apr 19 04:39 libxalan-c.so.19.0
-rwxrwxr-x 1 sbhatnag rd-tech 37884 Apr 19 04:39 libxalanMsg.so
-rwxrwxr-x 1 sbhatnag rd-tech 37884 Apr 19 04:39 libxalanMsg.so.19
-rwxrwxr-x 1 sbhatnag rd-tech 37884 Apr 19 04:39 libxalanMsg.so.19.0
$ ll lib_64
total 18296
lrwxrwxrwx 1 sbhatnag rd-tech 18 Apr 19 05:05 libxalan-c.so ->
libxalan-c.so.19.0
lrwxrwxrwx 1 sbhatnag rd-tech 18 Apr 19 05:05 libxalan-c.so.19 ->
libxalan-c.so.19.0
-rwxr-xr-x 1 sbhatnag rd-tech 9310868 Apr 19 05:05 libxalan-c.so.19.0
lrwxrwxrwx 1 sbhatnag rd-tech 19 Apr 19 05:05 libxalanMsg.so ->
libxalanMsg.so.19.0
lrwxrwxrwx 1 sbhatnag rd-tech 19 Apr 19 05:05 libxalanMsg.so.19 ->
libxalanMsg.so.19.0
-rwxr-xr-x 1 sbhatnag rd-tech 37884 Apr 19 05:05 libxalanMsg.so.19.0
$
Is this Okay?
warm regards
Saurabh
david_n_bertoni@us.ibm.com
04/18/2005 10:39 PM
Please respond to
c-dev@xerces.apache.org
To
c-dev@xerces.apache.org
cc
Subject
Re: Building Xerces 2.3.0 with GCC 3.4.2 on Solaris5.8!!!
> Hi Dave
>
> I was able to build Xerces 2.6.0 with GCC 3.4.2 but is it compatible
with
> Xalan 1.9?
That combination was never tested, so I don't know if it will be
compatible.
To build Xalan-C, regardless of the Xerces-C version, you'll need to use
the latest CVS. Also, please make sure you direct future Xalan-C
questions to the Xalan-C user list.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org
Re: Building Xerces 2.3.0 with GCC 3.4.2 on Solaris5.8!!!
Posted by da...@us.ibm.com.
> Hi Dave
>
> I was able to build Xerces 2.6.0 with GCC 3.4.2 but is it compatible
with
> Xalan 1.9?
That combination was never tested, so I don't know if it will be
compatible.
To build Xalan-C, regardless of the Xerces-C version, you'll need to use
the latest CVS. Also, please make sure you direct future Xalan-C
questions to the Xalan-C user list.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org
Re: Building Xerces 2.3.0 with GCC 3.4.2 on Solaris5.8!!!
Posted by Sa...@blr.hexaware.com.
Hi Dave
I was able to build Xerces 2.6.0 with GCC 3.4.2 but is it compatible with
Xalan 1.9?
The 32 bit Xalan 1.9 build failed with this error:
g++ -mcpu=ultrasparc3 -w -O3 -D__sparc__ -ffor-scope
-fno-enforce-eh-specs -fno-const-strings -fno-elide-constructors -Wall
-fPIC -DSOLARIS -D_REENTRANT -DXALAN_INMEM_MSG_LOADER -c
-I/user/sbhatnag/xalan/xml-xalan/c/src
-I/user/sbhatnag/xalan/xml-xalan/c/include -I../../nls/include
-I/user/sbhatnag/xerces/xerces-c-src_2_6_0/src/
-I/user/sbhatnag/xerces/xerces-c-src_2_6_0/include/xercesc
-I/user/sbhatnag/xerces/xerces-c-src_2_6_0/include/ -o
../../obj/XPathEvaluator.o
/user/sbhatnag/xalan/xml-xalan/c/src/xalanc/XPath/XPathEvaluator.cpp
/user/sbhatnag/xalan/xml-xalan/c/src/xalanc/XPath/ElementPrefixResolverProxy.hpp:
In member function `xalanc_1_9::XObjectPtr
xalanc_1_9::XPathEvaluator::evaluate(xalanc_1_9::DOMSupport&,
xalanc_1_9::XalanNode*, const xalanc_1_9::XalanDOMChar*, const
xalanc_1_9::XalanElement*)':
/user/sbhatnag/xalan/xml-xalan/c/src/xalanc/XPath/ElementPrefixResolverProxy.hpp:89:
error: `xalanc_1_9::ElementPrefixResolverProxy::
ElementPrefixResolverProxy(const xalanc_1_9::ElementPrefixResolverProxy&)'
is private
/user/sbhatnag/xalan/xml-xalan/c/src/xalanc/XPath/XPathEvaluator.cpp:279:
error: within this context
/user/sbhatnag/xalan/xml-xalan/c/src/xalanc/XPath/ElementPrefixResolverProxy.hpp:
In member function `xalanc_1_9::XObjectPtr
xalanc_1_9::XPathEvaluator::evaluate(xalanc_1_9::DOMSupport&,
xalanc_1_9::XalanNode*, const xalanc_1_9::XPath&, const
xalanc_1_9::XalanElement*)':
/user/sbhatnag/xalan/xml-xalan/c/src/xalanc/XPath/ElementPrefixResolverProxy.hpp:89:
error:
`xalanc_1_9::ElementPrefixResolverProxy::ElementPrefixResolverProxy(const
xalanc_1_9::ElementPrefixResolverProxy&)' is private
/user/sbhatnag/xalan/xml-xalan/c/src/xalanc/XPath/XPathEvaluator.cpp:299:
error: within this context
/user/sbhatnag/xalan/xml-xalan/c/src/xalanc/XPath/ElementPrefixResolverProxy.hpp:
In member function `xalanc_1_9::XPath*
xalanc_1_9::XPathEvaluator::createXPath(const xalanc_1_9::XalanDOMChar*)':
/user/sbhatnag/xalan/xml-xalan/c/src/xalanc/XPath/ElementPrefixResolverProxy.hpp:89:
error:
`xalanc_1_9::ElementPrefixResolverProxy::ElementPrefixResolverProxy(const
xalanc_1_9::ElementPrefixResolverProxy&)' is private
/user/sbhatnag/xalan/xml-xalan/c/src/xalanc/XPath/XPathEvaluator.cpp:348:
error: within this context
/user/sbhatnag/xalan/xml-xalan/c/src/xalanc/XPath/ElementPrefixResolverProxy.hpp:
In member function `xalanc_1_9::XPath*
xalanc_1_9::XPathEvaluator::createXPath(const xalanc_1_9::XalanDOMChar*,
xalanc_1_9::DOMSupport&, const xalanc_1_9::XalanElement*)':
/user/sbhatnag/xalan/xml-xalan/c/src/xalanc/XPath/ElementPrefixResolverProxy.hpp:89:
error:
`xalanc_1_9::ElementPrefixResolverProxy::ElementPrefixResolverProxy(const
xalanc_1_9::ElementPrefixResolverProxy&)' is private
/user/sbhatnag/xalan/xml-xalan/c/src/xalanc/XPath/XPathEvaluator.cpp:361:
error: within this context
gmake[1]: *** [../../obj/XPathEvaluator.o] Error 1
gmake[1]: Leaving directory `/user/sbhatnag/xalan/xml-xalan/c/src/xalanc'
gmake: *** [install-package] Error 2
Any comments are welcome!
warm regards
Saurabh
david_n_bertoni@us.ibm.com
04/15/2005 12:00 PM
Please respond to
xerces-c-dev@xml.apache.org
To
xerces-c-dev@xml.apache.org
cc
Subject
Re: Building Xerces 2.3.0 with GCC 3.4.2 on Solaris5.8!!!
> from XMLString.cpp:74:
>
/user/sbhatnag/xerces/xerces-c-src_2_3_0/include/xercesc/util/RefArrayVectorOf.c:
> In destructor
`xercesc_2_3::RefArrayVectorOf<TElem>::~RefArrayVectorOf()':
>
/user/sbhatnag/xerces/xerces-c-src_2_3_0/include/xercesc/util/RefArrayVectorOf.c:25:
> error: `fAdoptedElems' undeclared (first use this function)
>
/user/sbhatnag/xerces/xerces-c-src_2_3_0/include/xercesc/util/RefArrayVectorOf.c:25:
> error: (Each undeclared identifier is reported only once for each
function
> it appears in.)
>
/user/sbhatnag/xerces/xerces-c-src_2_3_0/include/xercesc/util/RefArrayVectorOf.c:27:
> error: `fCurCount' undeclared (first use this function)
>
/user/sbhatnag/xerces/xerces-c-src_2_3_0/include/xercesc/util/RefArrayVectorOf.c:28:
> error: `fMemoryManager' undeclared (first use this function)
>
/user/sbhatnag/xerces/xerces-c-src_2_3_0/include/xercesc/util/RefArrayVectorOf.c:28:
> error: `fElemList' undeclared (first use this function)
You will probably have a difficult time building that version of Xerces-C
with newer versions of GCC. I suggest you upgrade to the latest released
version, 2.6.0. If you cannot do that, you will need to modify the
sources. The fix for these particular errors is to qualify the dependent
names with "this->", but there will likely be other issues once you get
past these.
this->fCurCount
this->FMemoryManager
See here for more information:
http://womble.decadentplace.org.uk/c++/template-faq.html#base-lookup
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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org
Re: Building Xerces 2.3.0 with GCC 3.4.2 on Solaris5.8!!!
Posted by Sa...@blr.hexaware.com.
Thanks DAve
I understand the complications waiting to unfold, if we do the code
changes.
I am now trying to build v2.6.0 ....and it built fine for 32 bit!!!
Thanks
warm regards
Saurabh
david_n_bertoni@us.ibm.com
04/15/2005 12:00 PM
Please respond to
xerces-c-dev@xml.apache.org
To
xerces-c-dev@xml.apache.org
cc
Subject
Re: Building Xerces 2.3.0 with GCC 3.4.2 on Solaris5.8!!!
> from XMLString.cpp:74:
>
/user/sbhatnag/xerces/xerces-c-src_2_3_0/include/xercesc/util/RefArrayVectorOf.c:
> In destructor
`xercesc_2_3::RefArrayVectorOf<TElem>::~RefArrayVectorOf()':
>
/user/sbhatnag/xerces/xerces-c-src_2_3_0/include/xercesc/util/RefArrayVectorOf.c:25:
> error: `fAdoptedElems' undeclared (first use this function)
>
/user/sbhatnag/xerces/xerces-c-src_2_3_0/include/xercesc/util/RefArrayVectorOf.c:25:
> error: (Each undeclared identifier is reported only once for each
function
> it appears in.)
>
/user/sbhatnag/xerces/xerces-c-src_2_3_0/include/xercesc/util/RefArrayVectorOf.c:27:
> error: `fCurCount' undeclared (first use this function)
>
/user/sbhatnag/xerces/xerces-c-src_2_3_0/include/xercesc/util/RefArrayVectorOf.c:28:
> error: `fMemoryManager' undeclared (first use this function)
>
/user/sbhatnag/xerces/xerces-c-src_2_3_0/include/xercesc/util/RefArrayVectorOf.c:28:
> error: `fElemList' undeclared (first use this function)
You will probably have a difficult time building that version of Xerces-C
with newer versions of GCC. I suggest you upgrade to the latest released
version, 2.6.0. If you cannot do that, you will need to modify the
sources. The fix for these particular errors is to qualify the dependent
names with "this->", but there will likely be other issues once you get
past these.
this->fCurCount
this->FMemoryManager
See here for more information:
http://womble.decadentplace.org.uk/c++/template-faq.html#base-lookup
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: Building Xerces 2.3.0 with GCC 3.4.2 on Solaris5.8!!!
Posted by da...@us.ibm.com.
> from XMLString.cpp:74:
>
/user/sbhatnag/xerces/xerces-c-src_2_3_0/include/xercesc/util/RefArrayVectorOf.c:
> In destructor
`xercesc_2_3::RefArrayVectorOf<TElem>::~RefArrayVectorOf()':
>
/user/sbhatnag/xerces/xerces-c-src_2_3_0/include/xercesc/util/RefArrayVectorOf.c:25:
> error: `fAdoptedElems' undeclared (first use this function)
>
/user/sbhatnag/xerces/xerces-c-src_2_3_0/include/xercesc/util/RefArrayVectorOf.c:25:
> error: (Each undeclared identifier is reported only once for each
function
> it appears in.)
>
/user/sbhatnag/xerces/xerces-c-src_2_3_0/include/xercesc/util/RefArrayVectorOf.c:27:
> error: `fCurCount' undeclared (first use this function)
>
/user/sbhatnag/xerces/xerces-c-src_2_3_0/include/xercesc/util/RefArrayVectorOf.c:28:
> error: `fMemoryManager' undeclared (first use this function)
>
/user/sbhatnag/xerces/xerces-c-src_2_3_0/include/xercesc/util/RefArrayVectorOf.c:28:
> error: `fElemList' undeclared (first use this function)
You will probably have a difficult time building that version of Xerces-C
with newer versions of GCC. I suggest you upgrade to the latest released
version, 2.6.0. If you cannot do that, you will need to modify the
sources. The fix for these particular errors is to qualify the dependent
names with "this->", but there will likely be other issues once you get
past these.
this->fCurCount
this->FMemoryManager
See here for more information:
http://womble.decadentplace.org.uk/c++/template-faq.html#base-lookup
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org