[xsd-users] build xsd on cygwin fail

Schmilinsky, Remsy Remsy.Schmilinsky at ccra-adrc.gc.ca
Fri Aug 4 08:00:22 EDT 2006


Hi Boris. I am trying to build xsd by following the steps outlined in the windows installation instructions for cygwin http://www.codesynthesis.com/projects/xsd/extras/build-windows.xhtml However it fails when I reach libxsd-frontend, everything before that goes well. Here is the output (I've tried twice and always the same error, using windows 2000 / cygwin). It looks like there something wrong with the libcult, but maybe you can help me:

m4 /usr/src/libxsd-frontend-1.6.0/xsd-frontend/semantic-graph/fundamental.cxx.m4
m4 /usr/src/libxsd-frontend-1.6.0/xsd-frontend/semantic-graph/fundamental.hxx.m4
c++ /usr/src/libxsd-frontend-1.6.0/xsd-frontend/semantic-graph/any.cxx
c++ /usr/src/libxsd-frontend-1.6.0/xsd-frontend/semantic-graph/attribute.cxx
c++ /usr/src/libxsd-frontend-1.6.0/xsd-frontend/semantic-graph/attribute-group.cxx
c++ /usr/src/libxsd-frontend-1.6.0/xsd-frontend/semantic-graph/complex.cxx
c++ /usr/src/libxsd-frontend-1.6.0/xsd-frontend/semantic-graph/compositors.cxx
c++ /usr/src/libxsd-frontend-1.6.0/xsd-frontend/semantic-graph/element.cxx
c++ /usr/src/libxsd-frontend-1.6.0/xsd-frontend/semantic-graph/element-group.cxx
c++ /usr/src/libxsd-frontend-1.6.0/xsd-frontend/semantic-graph/elements.cxx
c++ /usr/src/libxsd-frontend-1.6.0/xsd-frontend/semantic-graph/enumeration.cxx
c++ /usr/src/libxsd-frontend-1.6.0/xsd-frontend/semantic-graph/fundamental.cxx
c++ /usr/src/libxsd-frontend-1.6.0/xsd-frontend/semantic-graph/list.cxx
c++ /usr/src/libxsd-frontend-1.6.0/xsd-frontend/semantic-graph/namespace.cxx
c++ /usr/src/libxsd-frontend-1.6.0/xsd-frontend/semantic-graph/particle.cxx
c++ /usr/src/libxsd-frontend-1.6.0/xsd-frontend/semantic-graph/schema.cxx
c++ /usr/src/libxsd-frontend-1.6.0/xsd-frontend/semantic-graph/union.cxx
c++ /usr/src/libxsd-frontend-1.6.0/xsd-frontend/traversal/attribute.cxx
c++ /usr/src/libxsd-frontend-1.6.0/xsd-frontend/traversal/attribute-group.cxx
c++ /usr/src/libxsd-frontend-1.6.0/xsd-frontend/traversal/complex.cxx
c++ /usr/src/libxsd-frontend-1.6.0/xsd-frontend/traversal/compositors.cxx
c++ /usr/src/libxsd-frontend-1.6.0/xsd-frontend/traversal/element.cxx
c++ /usr/src/libxsd-frontend-1.6.0/xsd-frontend/traversal/element-group.cxx
c++ /usr/src/libxsd-frontend-1.6.0/xsd-frontend/traversal/elements.cxx
c++ /usr/src/libxsd-frontend-1.6.0/xsd-frontend/traversal/enumeration.cxx
c++ /usr/src/libxsd-frontend-1.6.0/xsd-frontend/traversal/fundamental.cxx
c++ /usr/src/libxsd-frontend-1.6.0/xsd-frontend/traversal/list.cxx
c++ /usr/src/libxsd-frontend-1.6.0/xsd-frontend/traversal/namespace.cxx
c++ /usr/src/libxsd-frontend-1.6.0/xsd-frontend/traversal/schema.cxx
c++ /usr/src/libxsd-frontend-1.6.0/xsd-frontend/traversal/union.cxx
c++ /usr/src/libxsd-frontend-1.6.0/xsd-frontend/parser.cxx
/usr/src/libxsd-frontend-1.6.0/xsd-frontend/parser.cxx: In member function `virtual Cult::Types::Fundamental::Void XSDFrontend
::<unnamed>::Resolver::traverse(XSDFrontend::SemanticGraph::Complex&)':
/usr/src/libxsd-frontend-1.6.0/xsd-frontend/parser.cxx:500: error: invalid initialization of reference of type 'XSDFrontend::<
unnamed>::AttributeGroupRefs&' from expression of type 'const Cult::Containers::Vector<XSDFrontend::<unnamed>::AttributeGroupR
ef>'
/usr/src/libxsd-frontend-1.6.0/xsd-frontend/parser.cxx:521: error: invalid initialization of reference of type 'XSDFrontend::<
unnamed>::ElementGroupRef&' from expression of type 'const XSDFrontend::<unnamed>::ElementGroupRef'
/usr/src/libxsd-frontend-1.6.0/xsd-frontend/parser.cxx: In member function `virtual Cult::Types::Fundamental::Void XSDFrontend
::<unnamed>::Resolver::traverse(XSDFrontend::SemanticGraph::AttributeGroup&)':
/usr/src/libxsd-frontend-1.6.0/xsd-frontend/parser.cxx:592: error: invalid initialization of reference of type 'XSDFrontend::<
unnamed>::AttributeGroupRefs&' from expression of type 'const Cult::Containers::Vector<XSDFrontend::<unnamed>::AttributeGroupR
ef>'
/usr/src/libxsd-frontend-1.6.0/xsd-frontend/parser.cxx: In member function `virtual Cult::Types::Fundamental::Void XSDFrontend
::<unnamed>::Resolver::traverse(XSDFrontend::SemanticGraph::Compositor&)':
/usr/src/libxsd-frontend-1.6.0/xsd-frontend/parser.cxx:620: error: invalid initialization of reference of type 'XSDFrontend::<
unnamed>::ElementGroupRefs&' from expression of type 'const Cult::Containers::Vector<XSDFrontend::<unnamed>::ElementGroupRef>'

/usr/src/libxsd-frontend-1.6.0/xsd-frontend/parser.cxx: In member function `Cult::Types::Fundamental::Void XSDFrontend::Parser
::Impl::element_group(const XSDFrontend::XML::Element&)':
/usr/src/libxsd-frontend-1.6.0/xsd-frontend/parser.cxx:1788: error: passing `const XSDFrontend::<unnamed>::ElementGroupRefs' a
s `this' argument of `void stlp_std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = XSDFrontend::<unnamed>::ElementGro
upRef, _Alloc = stlp_std::allocator<XSDFrontend::<unnamed>::ElementGroupRef>]' discards qualifiers
/usr/src/libxsd-frontend-1.6.0/xsd-frontend/parser.cxx: In member function `Cult::Types::Fundamental::Void XSDFrontend::Parser
::Impl::attribute_group(const XSDFrontend::XML::Element&)':
/usr/src/libxsd-frontend-1.6.0/xsd-frontend/parser.cxx:2978: error: passing `const XSDFrontend::<unnamed>::AttributeGroupRefs'
 as `this' argument of `void stlp_std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = XSDFrontend::<unnamed>::Attribut
eGroupRef, _Alloc = stlp_std::allocator<XSDFrontend::<unnamed>::AttributeGroupRef>]' discards qualifiers
make: *** [/usr/src/libxsd-frontend-1.6.0/xsd-frontend/parser.o] Error 1



More information about the xsd-users mailing list