[xsd-users] build problem

Pietro Cerutti gahr at gahr.ch
Mon Jun 28 06:23:58 EDT 2010


Hi all,

I'm porting xsdcxx (and all its dependent packages) to FreeBSD, and have
this error while building the examples. I have tried with xerces-c 2.7,
2.8 and 3.1.1. Anybody has a clue?


c++ /usr/home/gahr/FreeBSD/ports/devel/xsdcxx/work/xsd-3.3.0/examples/cxx/tree/xpath/driver.cxx
/usr/home/gahr/FreeBSD/ports/devel/xsdcxx/work/xsd-3.3.0/examples/cxx/tree/xpath/driver.cxx: In function 'int main(int, char**)':
/usr/home/gahr/FreeBSD/ports/devel/xsdcxx/work/xsd-3.3.0/examples/cxx/tree/xpath/driver.cxx:74: error: invalid conversion from 'const xercesc_2_7::DOMXPathNSResolver*' to 'xercesc_2_7::DOMXPathNSResolver*'
/usr/home/gahr/FreeBSD/ports/devel/xsdcxx/work/xsd-3.3.0/examples/cxx/tree/xpath/driver.cxx:74: error:   initializing argument 1 of 'xsd::cxx::xml::dom::auto_ptr<T>::auto_ptr(T*) [with T = xercesc_2_7::DOMXPathNSResolver]'
/usr/home/gahr/FreeBSD/ports/devel/xsdcxx/work/xsd-3.3.0/examples/cxx/tree/xpath/driver.cxx:80: error: 'class xercesc_2_7::DOMXPathNSResolver' has no member named 'addNamespaceBinding'
/usr/home/gahr/FreeBSD/ports/devel/xsdcxx/work/xsd-3.3.0/examples/cxx/tree/xpath/driver.cxx:89: error: invalid conversion from 'const xercesc_2_7::DOMXPathExpression*' to 'xercesc_2_7::DOMXPathExpression*'
/usr/home/gahr/FreeBSD/ports/devel/xsdcxx/work/xsd-3.3.0/examples/cxx/tree/xpath/driver.cxx:89: error:   initializing argument 1 of 'xsd::cxx::xml::dom::auto_ptr<T>::auto_ptr(T*) [with T = xercesc_2_7::DOMXPathExpression]'
/usr/home/gahr/FreeBSD/ports/devel/xsdcxx/work/xsd-3.3.0/examples/cxx/tree/xpath/driver.cxx:94: error: 'ITERATOR_RESULT_TYPE' is not a member of 'xercesc_2_7::DOMXPathResult'
/usr/home/gahr/FreeBSD/ports/devel/xsdcxx/work/xsd-3.3.0/examples/cxx/tree/xpath/driver.cxx:102: error: 'class xercesc_2_7::DOMXPathResult' has no member named 'getNodeValue'
In file included from /usr/home/gahr/FreeBSD/ports/devel/xsdcxx/work/xsd-3.3.0/examples/cxx/tree/xpath/dom-parse.hxx:14,
                 from /usr/home/gahr/FreeBSD/ports/devel/xsdcxx/work/xsd-3.3.0/examples/cxx/tree/xpath/driver.cxx:16:
/usr/home/gahr/FreeBSD/ports/devel/xsdcxx/work/xsd-3.3.0/libxsd/xsd/cxx/xml/dom/auto-ptr.hxx: In member function 'void xsd::cxx::xml::dom::auto_ptr<T>::reset(T*) [with T = xercesc_2_7::DOMXPathNSResolver]':
/usr/home/gahr/FreeBSD/ports/devel/xsdcxx/work/xsd-3.3.0/libxsd/xsd/cxx/xml/dom/auto-ptr.hxx:49:   instantiated from 'xsd::cxx::xml::dom::auto_ptr<T>::~auto_ptr() [with T = xercesc_2_7::DOMXPathNSResolver]'
/usr/home/gahr/FreeBSD/ports/devel/xsdcxx/work/xsd-3.3.0/examples/cxx/tree/xpath/driver.cxx:74:   instantiated from here
/usr/home/gahr/FreeBSD/ports/devel/xsdcxx/work/xsd-3.3.0/libxsd/xsd/cxx/xml/dom/auto-ptr.hxx:145: error: 'class xercesc_2_7::DOMXPathNSResolver' has no member named 'release'
/usr/home/gahr/FreeBSD/ports/devel/xsdcxx/work/xsd-3.3.0/libxsd/xsd/cxx/xml/dom/auto-ptr.hxx: In member function 'void xsd::cxx::xml::dom::auto_ptr<T>::reset(T*) [with T = xercesc_2_7::DOMXPathExpression]':
/usr/home/gahr/FreeBSD/ports/devel/xsdcxx/work/xsd-3.3.0/libxsd/xsd/cxx/xml/dom/auto-ptr.hxx:49:   instantiated from 'xsd::cxx::xml::dom::auto_ptr<T>::~auto_ptr() [with T = xercesc_2_7::DOMXPathExpression]'
/usr/home/gahr/FreeBSD/ports/devel/xsdcxx/work/xsd-3.3.0/examples/cxx/tree/xpath/driver.cxx:89:   instantiated from here
/usr/home/gahr/FreeBSD/ports/devel/xsdcxx/work/xsd-3.3.0/libxsd/xsd/cxx/xml/dom/auto-ptr.hxx:145: error: 'class xercesc_2_7::DOMXPathExpression' has no member named 'release'
/usr/home/gahr/FreeBSD/ports/devel/xsdcxx/work/xsd-3.3.0/libxsd/xsd/cxx/xml/dom/auto-ptr.hxx: In member function 'void xsd::cxx::xml::dom::auto_ptr<T>::reset(T*) [with T = xercesc_2_7::DOMXPathResult]':
/usr/home/gahr/FreeBSD/ports/devel/xsdcxx/work/xsd-3.3.0/libxsd/xsd/cxx/xml/dom/auto-ptr.hxx:49:   instantiated from 'xsd::cxx::xml::dom::auto_ptr<T>::~auto_ptr() [with T = xercesc_2_7::DOMXPathResult]'
/usr/home/gahr/FreeBSD/ports/devel/xsdcxx/work/xsd-3.3.0/examples/cxx/tree/xpath/driver.cxx:94:   instantiated from here
/usr/home/gahr/FreeBSD/ports/devel/xsdcxx/work/xsd-3.3.0/libxsd/xsd/cxx/xml/dom/auto-ptr.hxx:145: error: 'class xercesc_2_7::DOMXPathResult' has no member named 'release'
gmake: *** [/usr/home/gahr/FreeBSD/ports/devel/xsdcxx/work/xsd-3.3.0/examples/cxx/tree/xpath/driver.o] Error 1
*** Error code 1

Cheers,

-- 
Pietro Cerutti
gahr at gahr.ch

PGP Public Key:
http://gahr.ch/pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20100628/6478f20f/attachment.pgp


More information about the xsd-users mailing list