Hi all,
I am Bas van Driel, mainly a Perl Developer, and I am currently
working on configuring an OpenSolaris 10 system. One of my tasks is an
installation of the Xerces-C library, to be used with the Perl
XML::Xerces-2.7.0.0 library.
I am getting a strange compilation error when running gmake. Here's
what I did:
$ cd /opt
$ unzip xerces-c-src_2_5_0.tar.gz
$ tar -xvf xerces-c-src_2_5_0.tar
$ ln -s xerces-c-src_2_5_0 /opt/xercesc
$ export XERCESCROOT=/opt/xercesc
$ cd ${XERCESCROOT}/src/xercesc
$ autoconf
$ chmod 755 runConfigure
$ ./runConfigure -psolaris -cgcc -xg++ -minmem -nsocket -tnative
-rpthread
$ gmake
The following is the output of that:
Preparing the directory structure for a build ...
mkdir -p /opt/xerces/obj/SOLARIS
mkdir -p /opt/xerces/obj/SOLARIS/depdom
mkdir -p /opt/xerces/lib
gmake -s -C util includes
(CP) /opt/xerces/include/xercesc/util
(CP) /opt/xerces/include/xercesc/util/Platforms/Solaris
(CP) /opt/xerces/include/xercesc/util/Transcoders/Iconv
(CP) /opt/xerces/include/xercesc/util/MsgLoaders/InMemory
(CP) /opt/xerces/include/xercesc/util/NetAccessors/Socket
(CP) /opt/xerces/include/xercesc/util/Compilers
(CP) /opt/xerces/include/xercesc/util/regx
gmake -s -C sax includes
(CP) /opt/xerces/include/xercesc/sax
gmake -s -C sax2 includes
(CP) /opt/xerces/include/xercesc/sax2
gmake -s -C internal includes
(CP) /opt/xerces/include/xercesc/internal
gmake -s -C framework includes
(CP) /opt/xerces/include/xercesc/framework
(CP) /opt/xerces/include/xercesc/framework/psvi
gmake -s -C parsers includes
(CP) /opt/xerces/include/xercesc/parsers
gmake -s -C validators includes
(CP) /opt/xerces/include/xercesc/validators/common
(CP) /opt/xerces/include/xercesc/validators/datatype
(CP) /opt/xerces/include/xercesc/validators/DTD
(CP) /opt/xerces/include/xercesc/validators/schema
(CP) /opt/xerces/include/xercesc/validators/schema/identity
gmake -s -C dom includes
(CP) /opt/xerces/include/xercesc/dom
(CP) /opt/xerces/include/xercesc/dom/impl
(CP) /opt/xerces/include/xercesc/dom/deprecated
Building util
gmake -s -C util
(CP) /opt/xerces/include/xercesc/util
(CP) /opt/xerces/include/xercesc/util/Platforms/Solaris
(CP) /opt/xerces/include/xercesc/util/Transcoders/Iconv
(CP) /opt/xerces/include/xercesc/util/MsgLoaders/InMemory
(CP) /opt/xerces/include/xercesc/util/NetAccessors/Socket
(CP) /opt/xerces/include/xercesc/util/Compilers
(CP) /opt/xerces/include/xercesc/util/regx
(CP) /opt/xerces/include/xercesc/util/Platforms/Solaris
(CP) /opt/xerces/include/xercesc/util/Transcoders/Iconv
(CP) /opt/xerces/include/xercesc/util/MsgLoaders/InMemory
(CP) /opt/xerces/include/xercesc/util/Compilers
(CP) /opt/xerces/include/xercesc/util/NetAccessors/Socket
(CP) /opt/xerces/include/xercesc/util/regx
Building sax
gmake -s -C sax
(CP) /opt/xerces/include/xercesc/sax
Building internal
gmake -s -C internal
(CP) /opt/xerces/include/xercesc/internal
Building framework
gmake -s -C framework
(CP) /opt/xerces/include/xercesc/framework
(CP) /opt/xerces/include/xercesc/framework/psvi
(CP) /opt/xerces/include/xercesc/framework/psvi
Building parsers
gmake -s -C parsers
(CP) /opt/xerces/include/xercesc/parsers
(C++) AbstractDOMParser.o
AbstractDOMParser.cpp:45:44: xercesc/dom/impl/DOMAttrImpl.hpp: No such
file or directory
AbstractDOMParser.cpp:46:48: xercesc/dom/impl/DOMTypeInfoImpl.hpp: No
such file or directory
AbstractDOMParser.cpp:49:44: xercesc/dom/impl/DOMTextImpl.hpp: No such
file or directory
AbstractDOMParser.cpp:50:48: xercesc/dom/impl/DOMDocumentImpl.hpp: No
such file or directory
AbstractDOMParser.cpp:51:52: xercesc/dom/impl/DOMDocumentTypeImpl.hpp:
No such file or directory
AbstractDOMParser.cpp:53:49: xercesc/dom/impl/DOMElementNSImpl.hpp: No
such file or directory
AbstractDOMParser.cpp:54:46: xercesc/dom/impl/DOMEntityImpl.hpp: No
such file or directory
AbstractDOMParser.cpp:55:55:
xercesc/dom/impl/DOMEntityReferenceImpl.hpp: No such file or directory
AbstractDOMParser.cpp:56:48: xercesc/dom/impl/DOMNotationImpl.hpp: No
such file or directory
AbstractDOMParser.cpp:59:61:
xercesc/dom/impl/DOMProcessingInstructionImpl.hpp: No such file or
directory
AbstractDOMParser.cpp:60:45: xercesc/dom/impl/DOMNodeIDMap.hpp: No
such file or directory
AbstractDOMParser.cpp: In member function `void
xercesc_2_7::AbstractDOMParser::cleanUp()':
AbstractDOMParser.cpp:157: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp: In member function `void
xercesc_2_7::AbstractDOMParser::resetPool()':
AbstractDOMParser.cpp:213: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp: In member function `xercesc_2_7::DOMDocument*
xercesc_2_7::AbstractDOMParser::adoptDocument()':
AbstractDOMParser.cpp:226: error: cannot convert
`xercesc_2_7::DOMDocumentImpl*' to `xercesc_2_7::DOMDocument*' in return
AbstractDOMParser.cpp: In member function `xercesc_2_7::DOMDocument*
xercesc_2_7::AbstractDOMParser::getDocument()':
AbstractDOMParser.cpp:235: error: cannot convert
`xercesc_2_7::DOMDocumentImpl*' to `xercesc_2_7::DOMDocument*' in return
AbstractDOMParser.cpp: In member function `virtual void
xercesc_2_7::AbstractDOMParser::handleElementPSVI(const XMLCh*, const
XMLCh*, xercesc_2_7::PSVIElement*)':
AbstractDOMParser.cpp:634: error: `DOMTypeInfoImpl' undeclared (first
use this function)
AbstractDOMParser.cpp:634: error: (Each undeclared identifier is
reported only once for each function it appears in.)
AbstractDOMParser.cpp:634: error: `typeInfo' undeclared (first use
this function)
AbstractDOMParser.cpp:634: error: `DOMTypeInfoImpl' has not been declared
AbstractDOMParser.cpp:635: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:635: error: `PSVI_Validity' undeclared (first
use this function)
AbstractDOMParser.cpp:636: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:636: error: `PSVI_Validitation_Attempted'
undeclared (first use this function)
AbstractDOMParser.cpp:639: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:639: error: `PSVI_Type_Definition_Type'
undeclared (first use this function)
AbstractDOMParser.cpp:640: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:640: error: `PSVI_Type_Definition_Anonymous'
undeclared (first use this function)
AbstractDOMParser.cpp:641: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:641: error: `PSVI_Type_Definition_Namespace'
undeclared (first use this function)
AbstractDOMParser.cpp:642: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp:643: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:643: error: `PSVI_Type_Definition_Name'
undeclared (first use this function)
AbstractDOMParser.cpp:644: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp:649: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:650: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:651: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:652: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:656: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:656: error:
`PSVI_Member_Type_Definition_Anonymous' undeclared (first use this
function)
AbstractDOMParser.cpp:657: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:657: error:
`PSVI_Member_Type_Definition_Namespace' undeclared (first use this
function)
AbstractDOMParser.cpp:658: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp:659: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:659: error: `PSVI_Member_Type_Definition_Name'
undeclared (first use this function)
AbstractDOMParser.cpp:660: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp:663: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:663: error: `PSVI_Nil' undeclared (first use
this function)
AbstractDOMParser.cpp:664: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:664: error: `PSVI_Schema_Default' undeclared
(first use this function)
AbstractDOMParser.cpp:664: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp:665: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:665: error: `PSVI_Schema_Normalized_Value'
undeclared (first use this function)
AbstractDOMParser.cpp:665: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp:666: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:666: error: `PSVI_Schema_Specified' undeclared
(first use this function)
AbstractDOMParser.cpp:667: error: `DOMElementNSImpl' undeclared (first
use this function)
AbstractDOMParser.cpp:667: error: expected primary-expression before
')' token
AbstractDOMParser.cpp:667: error: expected `)' before "fCurrentParent"
AbstractDOMParser.cpp: In member function `virtual void
xercesc_2_7::AbstractDOMParser::handleAttributesPSVI(const XMLCh*,
const XMLCh*, xercesc_2_7::PSVIAttributeList*)':
AbstractDOMParser.cpp:693: error: `DOMTypeInfoImpl' undeclared (first
use this function)
AbstractDOMParser.cpp:693: error: `typeInfo' undeclared (first use
this function)
AbstractDOMParser.cpp:693: error: `DOMTypeInfoImpl' has not been declared
AbstractDOMParser.cpp:694: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:694: error: `PSVI_Validity' undeclared (first
use this function)
AbstractDOMParser.cpp:695: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:695: error: `PSVI_Validitation_Attempted'
undeclared (first use this function)
AbstractDOMParser.cpp:698: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:698: error: `PSVI_Type_Definition_Type'
undeclared (first use this function)
AbstractDOMParser.cpp:699: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:699: error: `PSVI_Type_Definition_Anonymous'
undeclared (first use this function)
AbstractDOMParser.cpp:700: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:700: error: `PSVI_Type_Definition_Namespace'
undeclared (first use this function)
AbstractDOMParser.cpp:701: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp:702: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:702: error: `PSVI_Type_Definition_Name'
undeclared (first use this function)
AbstractDOMParser.cpp:703: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp:708: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:709: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:710: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:711: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:715: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:715: error:
`PSVI_Member_Type_Definition_Anonymous' undeclared (first use this
function)
AbstractDOMParser.cpp:716: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:716: error:
`PSVI_Member_Type_Definition_Namespace' undeclared (first use this
function)
AbstractDOMParser.cpp:717: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp:718: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:718: error: `PSVI_Member_Type_Definition_Name'
undeclared (first use this function)
AbstractDOMParser.cpp:719: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp:721: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:721: error: `PSVI_Schema_Default' undeclared
(first use this function)
AbstractDOMParser.cpp:721: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp:722: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:722: error: `PSVI_Schema_Normalized_Value'
undeclared (first use this function)
AbstractDOMParser.cpp:722: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp:723: error: `DOMPSVITypeInfo' has not been declared
AbstractDOMParser.cpp:723: error: `PSVI_Schema_Specified' undeclared
(first use this function)
AbstractDOMParser.cpp:724: error: `DOMAttrImpl' undeclared (first use
this function)
AbstractDOMParser.cpp:724: error: expected primary-expression before
')' token
AbstractDOMParser.cpp:724: error: expected `)' before "pAttrNode"
AbstractDOMParser.cpp: In member function `virtual void
xercesc_2_7::AbstractDOMParser::docCharacters(const XMLCh*, unsigned
int, bool)':
AbstractDOMParser.cpp:754: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp:767: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp: In member function `virtual void
xercesc_2_7::AbstractDOMParser::docComment(const XMLCh*)':
AbstractDOMParser.cpp:780: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp: In member function `virtual void
xercesc_2_7::AbstractDOMParser::docPI(const XMLCh*, const XMLCh*)':
AbstractDOMParser.cpp:790: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp: In member function `virtual void
xercesc_2_7::AbstractDOMParser::endEntityReference(const
xercesc_2_7::XMLEntityDecl&)':
AbstractDOMParser.cpp:804: error: `DOMEntityReferenceImpl' undeclared
(first use this function)
AbstractDOMParser.cpp:804: error: `erImpl' undeclared (first use this
function)
AbstractDOMParser.cpp:807: error: expected primary-expression before
')' token
AbstractDOMParser.cpp:807: error: expected `;' before "fCurrentParent"
AbstractDOMParser.cpp: In member function `virtual void
xercesc_2_7::AbstractDOMParser::ignorableWhitespace(const XMLCh*,
unsigned int, bool)':
AbstractDOMParser.cpp:857: error: `DOMTextImpl' undeclared (first use
this function)
AbstractDOMParser.cpp:857: error: `node' undeclared (first use this
function)
AbstractDOMParser.cpp:857: error: expected primary-expression before
')' token
AbstractDOMParser.cpp:857: error: expected `;' before "fDocument"
AbstractDOMParser.cpp: In member function `virtual void
xercesc_2_7::AbstractDOMParser::startDocument()':
AbstractDOMParser.cpp:886: error: cannot convert
`xercesc_2_7::DOMDocumentImpl*' to `xercesc_2_7::DOMNode*' in assignment
AbstractDOMParser.cpp:887: error: cannot convert
`xercesc_2_7::DOMDocumentImpl*' to `xercesc_2_7::DOMNode*' in assignment
AbstractDOMParser.cpp:889: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp:890: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp:891: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp: In member function `virtual void
xercesc_2_7::AbstractDOMParser::endDocument()':
AbstractDOMParser.cpp:898: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp:902: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentTypeImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:42: error:
forward declaration of `struct xercesc_2_7::DOMDocumentTypeImpl'
AbstractDOMParser.cpp: In member function `virtual void
xercesc_2_7::AbstractDOMParser::startElement(const
xercesc_2_7::XMLElementDecl&, unsigned int, const XMLCh*, const
xercesc_2_7::RefVectorOf<xercesc_2_7::XMLAttr>&, unsigned int, bool,
bool)':
AbstractDOMParser.cpp:915: error: `DOMElementImpl' undeclared (first
use this function)
AbstractDOMParser.cpp:915: error: `elemImpl' undeclared (first use
this function)
AbstractDOMParser.cpp:947: error: expected primary-expression before
')' token
AbstractDOMParser.cpp:947: error: expected `;' before "elem"
AbstractDOMParser.cpp:950: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp:951: error: expected primary-expression before
')' token
AbstractDOMParser.cpp:951: error: expected `;' before "elem"
AbstractDOMParser.cpp:955: error: `DOMAttrImpl' undeclared (first use
this function)
AbstractDOMParser.cpp:955: error: `attr' undeclared (first use this
function)
AbstractDOMParser.cpp:969: error: expected primary-expression before
')' token
AbstractDOMParser.cpp:969: error: expected `;' before "fDocument"
AbstractDOMParser.cpp:973: error: expected primary-expression before
')' token
AbstractDOMParser.cpp:973: error: expected `;' before "fDocument"
AbstractDOMParser.cpp:985: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp:986: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp:986: error: `DOMNodeIDMap' has not been declared
AbstractDOMParser.cpp:987: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp:998: error: `DOMTypeInfoImpl' has not been declared
AbstractDOMParser.cpp:998: error: `g_DtdValidatedCDATAAttribute'
undeclared (first use this function)
AbstractDOMParser.cpp:999: error: `DOMTypeInfoImpl' has not been declared
AbstractDOMParser.cpp:999: error: `g_DtdValidatedIDAttribute'
undeclared (first use this function)
AbstractDOMParser.cpp:1000: error: `DOMTypeInfoImpl' has not been
declared
AbstractDOMParser.cpp:1000: error: `g_DtdValidatedIDREFAttribute'
undeclared (first use this function)
AbstractDOMParser.cpp:1001: error: `DOMTypeInfoImpl' has not been
declared
AbstractDOMParser.cpp:1001: error: `g_DtdValidatedIDREFSAttribute'
undeclared (first use this function)
AbstractDOMParser.cpp:1002: error: `DOMTypeInfoImpl' has not been
declared
AbstractDOMParser.cpp:1002: error: `g_DtdValidatedENTITYAttribute'
undeclared (first use this function)
AbstractDOMParser.cpp:1003: error: `DOMTypeInfoImpl' has not been
declared
AbstractDOMParser.cpp:1003: error: `g_DtdValidatedENTITIESAttribute'
undeclared (first use this function)
AbstractDOMParser.cpp:1004: error: `DOMTypeInfoImpl' has not been
declared
AbstractDOMParser.cpp:1004: error: `g_DtdValidatedNMTOKENAttribute'
undeclared (first use this function)
AbstractDOMParser.cpp:1005: error: `DOMTypeInfoImpl' has not been
declared
AbstractDOMParser.cpp:1005: error: `g_DtdValidatedNMTOKENSAttribute'
undeclared (first use this function)
AbstractDOMParser.cpp:1006: error: `DOMTypeInfoImpl' has not been
declared
AbstractDOMParser.cpp:1006: error: `g_DtdValidatedNOTATIONAttribute'
undeclared (first use this function)
AbstractDOMParser.cpp:1007: error: `DOMTypeInfoImpl' has not been
declared
AbstractDOMParser.cpp:1007: error:
`g_DtdValidatedENUMERATIONAttribute' undeclared (first use this function)
AbstractDOMParser.cpp:1008: error: `DOMTypeInfoImpl' has not been
declared
AbstractDOMParser.cpp:1008: error: `g_DtdNotValidatedAttribute'
undeclared (first use this function)
AbstractDOMParser.cpp:1018: error: `insertAttr' undeclared (first use
this function)
AbstractDOMParser.cpp:1048: error: expected primary-expression before
')' token
AbstractDOMParser.cpp:1048: error: expected `;' before "fDocument"
AbstractDOMParser.cpp:1053: error: invalid use of undefined type
`struct xercesc_2_7::DOMAttr'
/opt/xerces/include/xercesc/dom/DOMDocument.hpp:39: error: forward
declaration of `struct xercesc_2_7::DOMAttr'
AbstractDOMParser.cpp:1058: error: expected primary-expression before
')' token
AbstractDOMParser.cpp:1058: error: expected `;' before "fDocument"
AbstractDOMParser.cpp:1076: error: `DOMTypeInfoImpl' has not been
declared
AbstractDOMParser.cpp:1077: error: `DOMTypeInfoImpl' has not been
declared
AbstractDOMParser.cpp:1078: error: `DOMTypeInfoImpl' has not been
declared
AbstractDOMParser.cpp:1079: error: `DOMTypeInfoImpl' has not been
declared
AbstractDOMParser.cpp:1080: error: `DOMTypeInfoImpl' has not been
declared
AbstractDOMParser.cpp:1081: error: `DOMTypeInfoImpl' has not been
declared
AbstractDOMParser.cpp:1082: error: `DOMTypeInfoImpl' has not been
declared
AbstractDOMParser.cpp:1083: error: `DOMTypeInfoImpl' has not been
declared
AbstractDOMParser.cpp:1084: error: `DOMTypeInfoImpl' has not been
declared
AbstractDOMParser.cpp:1085: error: `DOMTypeInfoImpl' has not been
declared
AbstractDOMParser.cpp:1086: error: `DOMTypeInfoImpl' has not been
declared
AbstractDOMParser.cpp: In member function `virtual void
xercesc_2_7::AbstractDOMParser::startEntityReference(const
xercesc_2_7::XMLEntityDecl&)':
AbstractDOMParser.cpp:1113: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentTypeImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:42: error:
forward declaration of `struct xercesc_2_7::DOMDocumentTypeImpl'
AbstractDOMParser.cpp:1114: error: `DOMEntityImpl' undeclared (first
use this function)
AbstractDOMParser.cpp:1114: error: `entity' undeclared (first use this
function)
AbstractDOMParser.cpp:1114: error: expected primary-expression before
')' token
AbstractDOMParser.cpp:1114: error: expected `;' before "entities"
AbstractDOMParser.cpp:1123: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp:1127: error: `DOMEntityReferenceImpl' undeclared
(first use this function)
AbstractDOMParser.cpp:1127: error: `erImpl' undeclared (first use this
function)
AbstractDOMParser.cpp:1127: error: expected primary-expression before
')' token
AbstractDOMParser.cpp:1127: error: expected `;' before "er"
AbstractDOMParser.cpp:1130: error: no matching function for call to
`xercesc_2_7::DOMNode::appendChild(xercesc_2_7::DOMEntityReference*&)'
/opt/xerces/include/xercesc/dom/DOMNode.hpp:455: note: candidates are:
virtual xercesc_2_7::DOMNode*
xercesc_2_7::DOMNode::appendChild(xercesc_2_7::DOMNode*)
AbstractDOMParser.cpp:1133: error: cannot convert
`xercesc_2_7::DOMEntityReference*' to `xercesc_2_7::DOMNode*' in
assignment
AbstractDOMParser.cpp:1134: error: cannot convert
`xercesc_2_7::DOMEntityReference*' to `xercesc_2_7::DOMNode*' in
assignment
AbstractDOMParser.cpp: In member function `virtual void
xercesc_2_7::AbstractDOMParser::XMLDecl(const XMLCh*, const XMLCh*,
const XMLCh*, const XMLCh*)':
AbstractDOMParser.cpp:1151: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp:1153: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp:1154: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp:1155: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp: In member function `virtual
xercesc_2_7::DOMElement*
xercesc_2_7::AbstractDOMParser::createElementNSNode(const XMLCh*,
const XMLCh*)':
AbstractDOMParser.cpp:1164: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp: In member function `virtual void
xercesc_2_7::AbstractDOMParser::attDef(const
xercesc_2_7::DTDElementDecl&, const xercesc_2_7::DTDAttDef&, bool)':
AbstractDOMParser.cpp:1199: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentTypeImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:42: error:
forward declaration of `struct xercesc_2_7::DOMDocumentTypeImpl'
AbstractDOMParser.cpp: In member function `virtual void
xercesc_2_7::AbstractDOMParser::doctypeComment(const XMLCh*)':
AbstractDOMParser.cpp:1306: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentTypeImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:42: error:
forward declaration of `struct xercesc_2_7::DOMDocumentTypeImpl'
AbstractDOMParser.cpp: In member function `virtual void
xercesc_2_7::AbstractDOMParser::doctypeDecl(const
xercesc_2_7::DTDElementDecl&, const XMLCh*, const XMLCh*, bool, bool)':
AbstractDOMParser.cpp:1330: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp:1331: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp: In member function `virtual void
xercesc_2_7::AbstractDOMParser::doctypePI(const XMLCh*, const XMLCh*)':
AbstractDOMParser.cpp:1341: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentTypeImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:42: error:
forward declaration of `struct xercesc_2_7::DOMDocumentTypeImpl'
AbstractDOMParser.cpp: In member function `virtual void
xercesc_2_7::AbstractDOMParser::doctypeWhitespace(const XMLCh*,
unsigned int)':
AbstractDOMParser.cpp:1361: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentTypeImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:42: error:
forward declaration of `struct xercesc_2_7::DOMDocumentTypeImpl'
AbstractDOMParser.cpp: In member function `virtual void
xercesc_2_7::AbstractDOMParser::elementDecl(const
xercesc_2_7::DTDElementDecl&, bool)':
AbstractDOMParser.cpp:1371: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentTypeImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:42: error:
forward declaration of `struct xercesc_2_7::DOMDocumentTypeImpl'
AbstractDOMParser.cpp: In member function `virtual void
xercesc_2_7::AbstractDOMParser::endAttList(const
xercesc_2_7::DTDElementDecl&)':
AbstractDOMParser.cpp:1395: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentTypeImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:42: error:
forward declaration of `struct xercesc_2_7::DOMDocumentTypeImpl'
AbstractDOMParser.cpp:1411: error: `DOMAttrImpl' undeclared (first use
this function)
AbstractDOMParser.cpp:1411: error: `insertAttr' undeclared (first use
this function)
AbstractDOMParser.cpp:1412: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:41: error:
forward declaration of `struct xercesc_2_7::DOMDocumentImpl'
AbstractDOMParser.cpp:1413: error: `DOMElementImpl' undeclared (first
use this function)
AbstractDOMParser.cpp:1413: error: `elemImpl' undeclared (first use
this function)
AbstractDOMParser.cpp:1413: error: expected primary-expression before
')' token
AbstractDOMParser.cpp:1413: error: expected `;' before "elem"
AbstractDOMParser.cpp:1427: error: incomplete type
`xercesc_2_7::DOMDocumentImpl' used in nested name specifier
AbstractDOMParser.cpp:1464: error: expected primary-expression before
')' token
AbstractDOMParser.cpp:1464: error: expected `;' before "fDocument"
AbstractDOMParser.cpp:1475: error: expected primary-expression before
')' token
AbstractDOMParser.cpp:1475: error: expected `;' before "fDocument"
AbstractDOMParser.cpp:1485: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentTypeImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:42: error:
forward declaration of `struct xercesc_2_7::DOMDocumentTypeImpl'
AbstractDOMParser.cpp: In member function `virtual void
xercesc_2_7::AbstractDOMParser::endIntSubset()':
AbstractDOMParser.cpp:1493: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentTypeImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:42: error:
forward declaration of `struct xercesc_2_7::DOMDocumentTypeImpl'
AbstractDOMParser.cpp:1496: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentTypeImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:42: error:
forward declaration of `struct xercesc_2_7::DOMDocumentTypeImpl'
AbstractDOMParser.cpp: In member function `virtual void
xercesc_2_7::AbstractDOMParser::entityDecl(const
xercesc_2_7::DTDEntityDecl&, bool, bool)':
AbstractDOMParser.cpp:1510: error: `DOMEntityImpl' undeclared (first
use this function)
AbstractDOMParser.cpp:1510: error: `entity' undeclared (first use this
function)
AbstractDOMParser.cpp:1510: error: expected primary-expression before
')' token
AbstractDOMParser.cpp:1510: error: expected `;' before "fDocument"
AbstractDOMParser.cpp:1517: error: `previousDef' undeclared (first use
this function)
AbstractDOMParser.cpp:1517: error: expected primary-expression before
')' token
AbstractDOMParser.cpp:1518: error: expected `;' before "fDocumentType"
AbstractDOMParser.cpp:1523: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentTypeImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:42: error:
forward declaration of `struct xercesc_2_7::DOMDocumentTypeImpl'
AbstractDOMParser.cpp: In member function `virtual void
xercesc_2_7::AbstractDOMParser::notationDecl(const
xercesc_2_7::XMLNotationDecl&, bool)':
AbstractDOMParser.cpp:1583: error: `DOMNotationImpl' undeclared (first
use this function)
AbstractDOMParser.cpp:1583: error: `notation' undeclared (first use
this function)
AbstractDOMParser.cpp:1583: error: expected primary-expression before
')' token
AbstractDOMParser.cpp:1583: error: expected `;' before "fDocument"
AbstractDOMParser.cpp:1588: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentTypeImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:42: error:
forward declaration of `struct xercesc_2_7::DOMDocumentTypeImpl'
AbstractDOMParser.cpp:1592: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentTypeImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:42: error:
forward declaration of `struct xercesc_2_7::DOMDocumentTypeImpl'
AbstractDOMParser.cpp: In member function `virtual void
xercesc_2_7::AbstractDOMParser::startAttList(const
xercesc_2_7::DTDElementDecl&)':
AbstractDOMParser.cpp:1630: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentTypeImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:42: error:
forward declaration of `struct xercesc_2_7::DOMDocumentTypeImpl'
AbstractDOMParser.cpp: In member function `virtual void
xercesc_2_7::AbstractDOMParser::startIntSubset()':
AbstractDOMParser.cpp:1642: error: invalid use of undefined type
`struct xercesc_2_7::DOMDocumentTypeImpl'
/opt/xerces/include/xercesc/parsers/AbstractDOMParser.hpp:42: error:
forward declaration of `struct xercesc_2_7::DOMDocumentTypeImpl'
AbstractDOMParser.cpp: In member function `virtual void
xercesc_2_7::AbstractDOMParser::TextDecl(const XMLCh*, const XMLCh*)':
AbstractDOMParser.cpp:1656: error: invalid use of undefined type
`struct xercesc_2_7::DOMEntity'
/opt/xerces/include/xercesc/dom/DOMDocument.hpp:40: error: forward
declaration of `struct xercesc_2_7::DOMEntity'
AbstractDOMParser.cpp:1657: error: invalid use of undefined type
`struct xercesc_2_7::DOMEntity'
/opt/xerces/include/xercesc/dom/DOMDocument.hpp:40: error: forward
declaration of `struct xercesc_2_7::DOMEntity'
/opt/xerces/include/xercesc/util/RefVectorOf.c: In destructor
`xercesc_2_7::RefVectorOf<TElem>::~RefVectorOf() [with TElem =
xercesc_2_7::DOMDocumentImpl]':
AbstractDOMParser.cpp:154: instantiated from here
/opt/xerces/include/xercesc/util/RefVectorOf.c:47: note: neither the
destructor nor the class-specific operator delete will be called, even
if they are declared when the class is defined.
/opt/xerces/include/xercesc/util/BaseRefVectorOf.c: In member function
`void xercesc_2_7::BaseRefVectorOf<TElem>::removeAllElements() [with
TElem = xercesc_2_7::DOMDocumentImpl]':
AbstractDOMParser.cpp:210: instantiated from here
/opt/xerces/include/xercesc/util/BaseRefVectorOf.c:132: note: neither
the destructor nor the class-specific operator delete will be called,
even if they are declared when the class is defined.
gmake[1]: *** [AbstractDOMParser.o] Error 1
gmake: *** [Parsers] Error 2
Sorry for the big bowl of text, but i did not want you to miss
anything ;)
My Makefile created by autconf starts as follows:
PLATFORM = SOLARIS
CC = gcc
CXX = g++
CXXVER =
PREFIX = /usr/local
MESSAGELOADER=INMEM
TRANSCODER=NATIVE
GCC = yes
GXX = yes
Some versions using the same shell commanline
$ gcc --version
gcc (GCC) 3.4.3 (csl-sol210-3_4-20050802)
Copyright (C) 2004 Free Software Foundation, Inc.
$ g++ --version
g++ (GCC) 3.4.3 (csl-sol210-3_4-20050802)
Copyright (C) 2004 Free Software Foundation, Inc.
$ c++ -v
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/specs
Configured with:
/builds2/sfwnv-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld
--enable-languages=c,c++,f77,objc --enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-20050802)
$ uname -r
5.11
What am i doing wrong here ? Apparently some files are missingI but i
just extracted from the tar.gz source tarball, so what is wrong here ?
I am used to linux, and have had some troubles with this library
before, but nothing I couldn't tackle, however, now i'm stuck...I'm
afraid has something to do with my compilers and flags on solaris, but
I cannot get my head around it.
Oh btw: does anyone have the url where I can sign up for the
mailinglist for Xerces Perl usergroup ? I have been able to install
Xerces-c-2.5.0, but for that version i cannot get the Perl Module to
work. :(
Thanks in advance,
Bas van Driel.