<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: xerces build using gnu g++ error -- forward declaration error. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419034#M682633</link>
    <description>Thanks Shinji and Dennins for all your help.&lt;BR /&gt;&lt;BR /&gt;I have just played a little bit more with it and now my "link line" is changed to have xerceslib.a as first archive to link with, given below -- and i think it feels a lot better now, before there were 100s of error even referring to xercelib itself like "one of the errors before" given below&lt;BR /&gt;&lt;BR /&gt;Now the problem is that i get definite link errors, which amount to 78, called "new link error" given below and all the linking errors are with my source code which is better then before where there was linking error from with xerces itself.&lt;BR /&gt;&lt;BR /&gt;The out of nm command for "new unsatisfied symbols" is given below at the end in order and it shows that the AbstractDOMParser::parse is available in the xerceslib.a but my link line can't link to it in two places given right below from the 78 errors&lt;BR /&gt;../xml/crxml001.a[xmlmatchlistm4dwdrxml.o]&lt;BR /&gt;../ddl/crddl001.a[ddli_docimplm4dwddl.o]&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;RUI&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;link line:&lt;BR /&gt;-----------&lt;BR /&gt;g++ -o ../cr_api_test.hp -lstdc++ -lX11 -L. -L../ -Wall -Wno-deprecated -lpthread -lm -lsec -lnsl -lrt -L/usr/X11R6/lib ../xerceslib.a ../crxrdlin/crreadline01.a ../unittest/crunittest001.a ../dwmonitor/crdwmonitor001.a ../dwmonitor/systemmonitor/crsysmon001.a ../common/crcommon01.a&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;one of the errors before:&lt;BR /&gt;------------------------&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::RefStackOf&amp;lt;:domnode&amp;gt;::empty()" in file ../xerceslib.a[DOMDocumentImpl.o] &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;new link error:&lt;BR /&gt;--------------&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLPlatformUtils::Terminate()" in file ../ddl/crddl001.a[ddli_interfacem4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLUni::fgDOMWRTFormatPrettyPrint" in file ../ddl/crddl001.a[ddli_docimplm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::DOMImplementation::loadDOMExceptionMsg(xercesc_2_5::DOMException::ExceptionCode, unsigned short*, unsigned int)" in file ../comms/crcomms01.a[xmlapireqrep.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::DTDEntityDecl::getProtoType() const" in file ../csm/crcsm01.a[ccsmm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "typeinfo for xercesc_2_5::XMLException" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLString::lowerCase(unsigned short*)" in file ../ddl/crddl001.a[unicode_stringm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::Match::Match(xercesc_2_5::MemoryManager*)" in file ../ddl/crddl001.a[ddl_regularexpressionm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMemory::operator delete(void*)" in file ../csm/crcsm01.a[ccsmm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "typeinfo for xercesc_2_5::BinInputStream" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::SAXParseException::SAXParseException(xercesc_2_5::SAXParseException const&amp;amp;)" in file ../csm/crcsm01.a[ccsmm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLUni::fgArrayIndexOutOfBoundsException_Name" in file ../ddl/crddl001.a[ddl_regularexpressionm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::Match::~Match()" in file ../ddl/crddl001.a[ddl_regularexpressionm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLPlatformUtils::fgMemoryManager" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "typeinfo for xercesc_2_5::XMLEntityDecl" in file ../csm/crcsm01.a[ccsmm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::DTDEntityDecl::isSerializable() const" in file ../csm/crcsm01.a[ccsmm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::LocalFileInputSource::LocalFileInputSource(unsigned short const*, xercesc_2_5::MemoryManager*)" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::StdOutFormatTarget::StdOutFormatTarget()" in file ../ddl/crddl001.a[ddli_docimplm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLException::loadExceptText(xercesc_2_5::XMLExcepts::Codes)" in file ../ddl/crddl001.a[ddl_regularexpressionm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::AbstractDOMParser::setDoNamespaces(bool)" in file ../xml/crxml001.a[xmlmatchlistm4dwdrxml.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLFormatter::~XMLFormatter()" in file ../ddl/crddl001.a[event_driven_xml_writerm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLException::XMLException(char const*, unsigned int, xercesc_2_5::MemoryManager*)" in file ../ddl/crddl001.a[ddl_regularexpressionm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLRefInfo::getProtoType() const" in file ../csm/crcsm01.a[ccsmm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XercesDOMParser::setErrorHandler(xercesc_2_5::ErrorHandler*)" in file ../xml/crxml001.a[xmlmatchlistm4dwdrxml.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLRefInfo::isSerializable() const" in file ../csm/crcsm01.a[ccsmm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLString::transcode(char const*, unsigned short*, unsigned int, xercesc_2_5::MemoryManager*)" in file ../ddl/crddl001.a[ddli_docimplm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "typeinfo for xercesc_2_5::DOMException" in file ../ddl/crddl001.a[ddli_docimplm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLAttDefList::getProtoType() const" in file ../csm/crcsm01.a[ccsmm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::InputSource::setEncoding(unsigned short const*)" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::InputSource::InputSource(unsigned short const*, xercesc_2_5::MemoryManager*)" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::AbstractDOMParser::adoptDocument()" in file ../comms/crcomms01.a[xmlapireqrep.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLRefInfo::serialize(xercesc_2_5::XSerializeEngine&amp;amp;)" in file ../csm/crcsm01.a[ccsmm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::InputSource::~InputSource()" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLFormatter::formatBuf(unsigned short const*, unsigned int, xercesc_2_5::XMLFormatter::EscapeFlags, xercesc_2_5::XMLFormatter::UnRepFlags)" in file ../ddl/crddl001.a[event_driven_xml_writerm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::InputSource::setPublicId(unsigned short const*)" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLException::~XMLException()" in file ../ddl/crddl001.a[ddl_regularexpressionm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLUni::fgXercescDefaultLocale" in file ../xml/crxml001.a[ddl2_ctrlm4dwdrxml.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLAttDefList::serialize(xercesc_2_5::XSerializeEngine&amp;amp;)" in file ../csm/crcsm01.a[ccsmm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::MemBufInputSource::MemBufInputSource(unsigned char const*, unsigned int, unsigned short const*, bool, xercesc_2_5::MemoryManager*)" in file ../xml/crxml001.a[xmlmatchlistm4dwdrxml.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLString::upperCase(unsigned short*)" in file ../ddl/crddl001.a[unicode_stringm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::RegularExpression::~RegularExpression()" in file ../ddl/crddl001.a[ddl_regularexpressionm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLAttDefList::isSerializable() const" in file ../csm/crcsm01.a[ccsmm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLChar1_0::isValidName(unsigned short const*, unsigned int)" in file ../ddl/crddl001.a[event_driven_xml_writerm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::SAXParseException::getSystemId() const" in file ../ddl/crddl001.a[ddli_errorreportm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLString::release(char**)" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::SAXParseException::getColumnNumber() const" in file ../ddl/crddl001.a[ddli_errorreportm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLString::trim(unsigned short*)" in file ../ddl/crddl001.a[unicode_stringm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::MemBufInputSource::MemBufInputSource(unsigned char const*, unsigned int, char const*, bool, xercesc_2_5::MemoryManager*)" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::InputSource::setSystemId(unsigned short const*)" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLUni::fgRuntimeException_Name" in file ../ddl/crddl001.a[ddl_regularexpressionm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::SAXParseException::getLineNumber() const" in file ../ddl/crddl001.a[ddli_errorreportm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XercesDOMParser::XercesDOMParser(xercesc_2_5::XMLValidator*, xercesc_2_5::MemoryManager*, xercesc_2_5::XMLGrammarPool*)" in file ../xml/crxml001.a[xmlmatchlistm4dwdrxml.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMemory::operator new(unsigned long)" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::DOMImplementationRegistry::getDOMImplementation(unsigned short const*)" in file ../ddl/crddl001.a[ddli_docimplm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::RegularExpression::RegularExpression(char const*, char const*, xercesc_2_5::MemoryManager*)" in file ../ddl/crddl001.a[ddl_regularexpressionm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLString::compareString(unsigned short const*, unsigned short const*)" in file ../ddl/crddl001.a[unicode_stringm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::AbstractDOMParser::setCalculateSrcOfs(bool)" in file ../xml/crxml001.a[xmlmatchlistm4dwdrxml.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLString::compareIString(unsigned short const*, unsigned short const*)" in file ../ddl/crddl001.a[unicode_stringm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::SAXParseException::~SAXParseException()" in file ../csm/crcsm01.a[ccsmm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLString::regionIMatches(unsigned short const*, int, unsigned short const*, int, unsigned int)" in file ../ddl/crddl001.a[unicode_stringm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMemory::operator delete(void*, xercesc_2_5::MemoryManager*)" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMemory::operator new(unsigned long, xercesc_2_5::MemoryManager*)" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::AbstractDOMParser::getDocument()" in file ../xml/crxml001.a[xmlmatchlistm4dwdrxml.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLFormatter::XMLFormatter(char const*, char const*, xercesc_2_5::XMLFormatTarget*, xercesc_2_5::XMLFormatter::EscapeFlags, xercesc_2_5::XMLFormatter::UnRepFlags, xercesc_2_5::MemoryManager*)" in file ../ddl/crddl001.a[event_driven_xml_writerm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::BinInputStream::~BinInputStream()" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "typeinfo for xercesc_2_5::InputSource" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "typeinfo for xercesc_2_5::SAXParseException" in file ../csm/crcsm01.a[ccsmm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::BinInputStream::BinInputStream()" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::DTDEntityDecl::serialize(xercesc_2_5::XSerializeEngine&amp;amp;)" in file ../csm/crcsm01.a[ccsmm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLString::transcode(unsigned short const*)" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLString::transcode(char const*)" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::SAX2XMLReaderImpl::SAX2XMLReaderImpl(xercesc_2_5::MemoryManager*, xercesc_2_5::XMLGrammarPool*)" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::AbstractDOMParser::parse(xercesc_2_5::InputSource const&amp;amp;)" in file ../xml/crxml001.a[xmlmatchlistm4dwdrxml.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLString::isAllWhiteSpace(unsigned short const*)" in file ../ddl/crddl001.a[ddli_pretty_printm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLEntityDecl::~XMLEntityDecl()" in file ../csm/crcsm01.a[ccsmm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::RegularExpression::matches(char const*, xercesc_2_5::Match*, xercesc_2_5::MemoryManager*)" in file ../ddl/crddl001.a[ddl_regularexpressionm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::AbstractDOMParser::parse(char const*)" in file ../ddl/crddl001.a[ddli_docimplm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLException::XMLException(xercesc_2_5::XMLException const&amp;amp;)" in file ../ddl/crddl001.a[ddl_regularexpressionm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLPlatformUtils::Initialize(char const*, char const*, xercesc_2_5::PanicHandler*, xercesc_2_5::MemoryManager*)" in file ../xml/crxml001.a[ddl2_ctrlm4dwdrxml.o]&lt;BR /&gt;78 errors.&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;new unsatisfied symbol:&lt;BR /&gt;-----------------------&lt;BR /&gt;&lt;BR /&gt;bash-3.2$ nm -pxAN xerceslib.a | grep AbstractDOMParser  | grep parse&lt;BR /&gt;0x00000620 T  xerceslib.a[AbstractDOMParser.o]:_ZN11xercesc_2_517AbstractDOMParser9parseNextERNS_13XMLPScanTokenE&lt;BR /&gt;0x00001770 T  xerceslib.a[AbstractDOMParser.o]:_ZN11xercesc_2_517AbstractDOMParser5parseEPKt&lt;BR /&gt;0x000021f0 T  xerceslib.a[AbstractDOMParser.o]:_ZN11xercesc_2_517AbstractDOMParser10parseResetERNS_13XMLPScanTokenE&lt;BR /&gt;0x00004d40 T  xerceslib.a[AbstractDOMParser.o]:_ZN11xercesc_2_517AbstractDOMParser10parseFirstERKNS_11InputSourceERNS_13XMLPScanTokenE&lt;BR /&gt;0x00005160 T  xerceslib.a[AbstractDOMParser.o]:_ZN11xercesc_2_517AbstractDOMParser5parseERKNS_11InputSourceE&lt;BR /&gt;0x00005630 T  xerceslib.a[AbstractDOMParser.o]:_ZN11xercesc_2_517AbstractDOMParser10parseFirstEPKcRNS_13XMLPScanTokenE&lt;BR /&gt;0x000057c0 T  xerceslib.a[AbstractDOMParser.o]:_ZN11xercesc_2_517AbstractDOMParser10parseFirstEPKtRNS_13XMLPScanTokenE&lt;BR /&gt;0x00005950 T  xerceslib.a[AbstractDOMParser.o]:_ZN11xercesc_2_517AbstractDOMParser5parseEPKc&lt;BR /&gt;0x00000000 U  xerceslib.a[DOMBuilderImpl.o]:_ZN11xercesc_2_517AbstractDOMParser5parseEPKc&lt;BR /&gt;0x00000000 U  xerceslib.a[DOMBuilderImpl.o]:_ZN11xercesc_2_517AbstractDOMParser5parseEPKt&lt;BR /&gt;0x00000000 U  xerceslib.a[DOMBuilderImpl.o]:_ZN11xercesc_2_517AbstractDOMParser5parseERKNS_11InputSourceE&lt;BR /&gt;0x00000000 U  xerceslib.a[IGXMLScanner2.o]:_ZN11xercesc_2_517AbstractDOMParser5parseERKNS_11InputSourceE&lt;BR /&gt;0x00000000 U  xerceslib.a[SGXMLScanner.o]:_ZN11xercesc_2_517AbstractDOMParser5parseERKNS_11InputSourceE&lt;BR /&gt;0x00000000 U  xerceslib.a[TraverseSchema.o]:_ZN11xercesc_2_517AbstractDOMParser5parseERKNS_11InputSourceE&lt;BR /&gt;0x00000000 U  xerceslib.a[XSAnnotation.o]:_ZN11xercesc_2_517AbstractDOMParser5parseERKNS_11InputSourceE&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 21 May 2009 09:15:28 GMT</pubDate>
    <dc:creator>uiqbal</dc:creator>
    <dc:date>2009-05-21T09:15:28Z</dc:date>
    <item>
      <title>xerces build using gnu g++ error -- forward declaration error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419022#M682621</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am trying to build xerces 2.5.0 using g++ version 4.2.3. I have added this to my makefile.incl&lt;BR /&gt;&lt;A href="http://marc.info/?l=xerces-c-dev&amp;amp;m=113163501028049&amp;amp;w=2" target="_blank"&gt;http://marc.info/?l=xerces-c-dev&amp;amp;m=113163501028049&amp;amp;w=2&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Here are my commands afterwards,&lt;BR /&gt;# export XERCESCROOT=/data1/rui/xerces-c-src_2_5_0&lt;BR /&gt;and then I execute these commands sitting in the $XERCESCROOT/src/xercesc directory&lt;BR /&gt;&lt;BR /&gt;# runConfigure -php-11 -cgcc -xg++ -z"-fPIC" -minmem -nsocket -tnative -rpthread&lt;BR /&gt;# gmake&lt;BR /&gt;&lt;BR /&gt;it compiles for a long time with most of the directories built, but ultimately gives this error, can anybody point me to what could be the problem -- any sort of code modification related to xerces code can be done as i just want to compile and get the lib ready.&lt;BR /&gt; &lt;BR /&gt;mkdir -p /data1/rui/xerces-c-src_2_5_0/include/xercesc/framework/psvi&lt;BR /&gt;cp -fp PSVIAttribute.hpp PSVIAttributeList.hpp PSVIElement.hpp PSVIHandler.hpp PSVIItem.hpp XSAnnotation.hpp XSAttributeDeclaration.hpp XSAttributeGroupDefinition.hpp XSAttributeUse.hpp XSComplexTypeDefinition.hpp XSConstants.hpp XSElementDeclaration.hpp XSFacet.hpp XSIDCDefinition.hpp XSModel.hpp XSModelGroup.hpp XSModelGroupDefinition.hpp XSMultiValueFacet.hpp XSNamedMap.hpp XSNamespaceItem.hpp XSNotationDeclaration.hpp XSObject.hpp XSParticle.hpp XSSimpleTypeDefinition.hpp XSTypeDefinition.hpp XSWildcard.hpp  XSNamedMap.c /data1/rui/xerces-c-src_2_5_0/include/xercesc/framework/psvi&lt;BR /&gt;g++ -fPIC -D_HP_UX -DXERCES_TMPLSINC -DHPUX11 -D_REENTRANT -c -I/data1/rui/xerces-c-src_2_5_0/include -w -O -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     -o /data1/rui/xerces-c-src_2_5_0/obj/HPUX/XSAttributeGroupDefinition.o XSAttributeGroupDefinition.cpp&lt;BR /&gt;&lt;BR /&gt;XSAttributeGroupDefinition.cpp: In member function 'virtual const XMLCh* xercesc_2_5::XSAttributeGroupDefinition::getName()':&lt;BR /&gt;XSAttributeGroupDefinition.cpp:122: error: invalid use of incomplete type 'struct xercesc_2_5::XMLStringPool'&lt;BR /&gt;/data1/rui/xerces-c-src_2_5_0/include/xercesc/framework/psvi/XSNamedMap.hpp:80: error: forward declaration of 'struct xercesc_2_5::XMLStringPool'&lt;BR /&gt;XSAttributeGroupDefinition.cpp: In member function 'virtual const XMLCh* xercesc_2_5::XSAttributeGroupDefinition::getNamespace()':&lt;BR /&gt;XSAttributeGroupDefinition.cpp:127: error: invalid use of incomplete type 'struct xercesc_2_5::XMLStringPool'&lt;BR /&gt;/data1/rui/xerces-c-src_2_5_0/include/xercesc/framework/psvi/XSNamedMap.hpp:80: error: forward declaration of 'struct xercesc_2_5::XMLStringPool'&lt;BR /&gt;gmake[2]: *** [XSAttributeGroupDefinition.o] Error 1&lt;BR /&gt;gmake[2]: Leaving directory `/data1/rui/xerces-c-src_2_5_0/src/xercesc/framework/psvi'&lt;BR /&gt;gmake[1]: *** [psvi] Error 2&lt;BR /&gt;gmake[1]: Leaving directory `/data1/rui/xerces-c-src_2_5_0/src/xercesc/framework'&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;rui</description>
      <pubDate>Wed, 13 May 2009 09:13:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419022#M682621</guid>
      <dc:creator>uiqbal</dc:creator>
      <dc:date>2009-05-13T09:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: xerces build using gnu g++ error -- forward declaration error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419023#M682622</link>
      <description>&amp;gt;XSAttributeGroupDefinition.cpp:122: error: invalid use of incomplete type 'struct xercesc_2_5::XMLStringPool'&lt;BR /&gt;&lt;BR /&gt;Has xercesc_2_5::XMLStringPool been defined before line 122?  Is this used in a template?</description>
      <pubDate>Thu, 14 May 2009 01:23:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419023#M682622</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-05-14T01:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: xerces build using gnu g++ error -- forward declaration error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419024#M682623</link>
      <description>I wonder this error is specific to g++.&lt;BR /&gt;&lt;BR /&gt;When I built Xerces-2.5 with HP ANSI C and aCC compiler on 11.23&lt;BR /&gt;around August 2004, I didn't encounter this error.</description>
      <pubDate>Fri, 15 May 2009 02:50:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419024#M682623</guid>
      <dc:creator>Shinji Teragaito_1</dc:creator>
      <dc:date>2009-05-15T02:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: xerces build using gnu g++ error -- forward declaration error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419025#M682624</link>
      <description>&amp;gt;Shinji: I wonder this error is specific to g++.&lt;BR /&gt;&lt;BR /&gt;You might be able to get the same error with aCC6's +strict option.</description>
      <pubDate>Fri, 15 May 2009 04:24:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419025#M682624</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-05-15T04:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: xerces build using gnu g++ error -- forward declaration error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419026#M682625</link>
      <description>&lt;!--!*#--&gt;Thanks Dennis. +strict option causes a different error:&lt;BR /&gt;&lt;BR /&gt;% aCC +strict -D_HP_UX -DHPaCC -DHPUX11 +Z -c \&lt;BR /&gt;  -I/home/shinji/oss/xerces-c-src_2_5_0/include \&lt;BR /&gt;  -AA  -w -O -DPROJ_XMLPARSER  -DPROJ_XMLUTIL  -DPROJ_PARSERS \&lt;BR /&gt;  -DPROJ_SAX4C  -DPROJ_SAX2  -DPROJ_DOM  -DPROJ_VALIDATORS \&lt;BR /&gt;  -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER \&lt;BR /&gt;  -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET &lt;BR /&gt;  -o /home/shinji/oss/xerces-c-src_2_5_0/obj/HPUX/XSAttributeGroupDefinition.o \&lt;BR /&gt;  XSAttributeGroupDefinition.o-test XSAttributeGroupDefinition.cpp&lt;BR /&gt;"/home/shinji/oss/xerces-c-src_2_5_0/include/xercesc/util/NameIdPool.c", line 416: error #2137: &lt;BR /&gt;          expression must be a modifiable lvalue&lt;BR /&gt;      fMemoryManager = toAssign.fMemoryManager;&lt;BR /&gt;&lt;BR /&gt;Without +strict option, Xerces-C 2.5.0 build on 11.23 works&lt;BR /&gt;successfully with our HP compiler A.06.22 as when I used A.05.57&lt;BR /&gt;5 years ago.</description>
      <pubDate>Fri, 15 May 2009 07:41:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419026#M682625</guid>
      <dc:creator>Shinji Teragaito_1</dc:creator>
      <dc:date>2009-05-15T07:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: xerces build using gnu g++ error -- forward declaration error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419027#M682626</link>
      <description>&amp;gt;Shinji: +strict option causes a different error:&lt;BR /&gt;error #2137: expression must be a modifiable lvalue&lt;BR /&gt;&lt;BR /&gt;Where is the caret pointing?  To the LHS or which of the tokens on the RHS?  What are the types of each?&lt;BR /&gt;&lt;BR /&gt;Basically it says the source is illegal and may be related to the incomplete class that g++ gave.  The source has to be reordered and xercesc_2_5::XMLStringPool must be defined before it is used.</description>
      <pubDate>Fri, 15 May 2009 20:08:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419027#M682626</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-05-15T20:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: xerces build using gnu g++ error -- forward declaration error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419028#M682627</link>
      <description>&lt;!--!*#--&gt;In src/xercesc/util/NameIdPool.hpp:&lt;BR /&gt;&lt;BR /&gt;  MemoryManager* const fMemoryManager;&lt;BR /&gt;&lt;BR /&gt;After removing "const" from this line, aCC6 +strict doesn't cause&lt;BR /&gt;the #2137 error in XSAttributeGroupDefinition.cpp.&lt;BR /&gt;&lt;BR /&gt;I needed one more changes in util/RefArrayOf.hpp to build successfully&lt;BR /&gt;whole of Xerces-C 2.5 source code using aCC6 +strict to prevent&lt;BR /&gt;the error #2393 "pointer to incomplete class type is not allowed":&lt;BR /&gt;&lt;BR /&gt;% diff util/RefArrayOf.hpp.orig util/RefArrayOf.hpp&lt;BR /&gt;104c104&lt;BR /&gt;&amp;lt; &lt;BR /&gt;---&lt;BR /&gt;&amp;gt; #include &lt;XERCESC&gt;&lt;BR /&gt;%&lt;BR /&gt;&lt;BR /&gt;NOTE: I was able to build successfully Xerces-C 2.8 and 3.0 using&lt;BR /&gt;gcc 4.0.0 and aCC6 +strict respectively without any source code&lt;BR /&gt;changes.&lt;BR /&gt;&lt;BR /&gt;Rui, can't you use the newer Xerces-C version, either Xerces-C&lt;BR /&gt;2.8 or 3.0 ?&lt;/XERCESC&gt;</description>
      <pubDate>Sun, 17 May 2009 01:27:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419028#M682627</guid>
      <dc:creator>Shinji Teragaito_1</dc:creator>
      <dc:date>2009-05-17T01:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: xerces build using gnu g++ error -- forward declaration error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419029#M682628</link>
      <description>&amp;gt;MemoryManager* const fMemoryManager;&lt;BR /&gt;&amp;gt;After removing "const" from this line&lt;BR /&gt;&lt;BR /&gt;Hmm, that seems like a useless definition unless it is mutable, initialized in a constructor init list or a cast hammer is used.</description>
      <pubDate>Sun, 17 May 2009 02:48:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419029#M682628</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-05-17T02:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: xerces build using gnu g++ error -- forward declaration error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419030#M682629</link>
      <description>&lt;!--!*#--&gt;Rui,&lt;BR /&gt;&lt;BR /&gt;To build Xerces-C 2.5 using gcc and g++, you have to change some files:&lt;BR /&gt;&lt;BR /&gt;1. Add #include &lt;XERCESC&gt; to&lt;BR /&gt;   - framework/psvi/XSAttributeGroupDefinition.cpp&lt;BR /&gt;   - framework/psvi/XSModelGroupDefinition.cpp&lt;BR /&gt;   - framework/psvi/XSNotationDeclaration.cpp&lt;BR /&gt;&lt;BR /&gt;2. Add #include &lt;XERCESC&gt; to&lt;BR /&gt;   - framework/psvi/XSNamespaceItem.hpp&lt;BR /&gt;&lt;BR /&gt;3. Change Makefile.incl you referenced as follows:&lt;BR /&gt;&amp;lt;     EXTRA_LINK_OPTIONS = -b -Wl,+s -Wl,+b,.&lt;BR /&gt;--&lt;BR /&gt;&amp;gt;     EXTRA_LINK_OPTIONS =&lt;BR /&gt;&lt;BR /&gt;I'm using gcc/gcc 4.0 on 11.23. So I hope the same changes work&lt;BR /&gt;for your environment, too !!&lt;/XERCESC&gt;&lt;/XERCESC&gt;</description>
      <pubDate>Wed, 20 May 2009 04:25:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419030#M682629</guid>
      <dc:creator>Shinji Teragaito_1</dc:creator>
      <dc:date>2009-05-20T04:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: xerces build using gnu g++ error -- forward declaration error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419031#M682630</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;Thanks for all the support on this thread, i tried the last option and it works great -- it seems you have to add certain changes into  source. &lt;BR /&gt;&lt;BR /&gt;Now afterwards i am generating an archive file using &lt;BR /&gt;&lt;BR /&gt;ar r xerceslib.a *.o&lt;BR /&gt;&lt;BR /&gt;but the thing is when I link to xerces using &lt;BR /&gt;&lt;BR /&gt;g++ -o ../cr_api_test.hp  -lstdc++  -lX11 -L. -L../ -Wall -Wno-deprecated -lpthread -lm -lsec -lnsl -lrt -L/usr/X11R6/lib  ../crxrdlin/crreadline01.a ../unittest/crunittest001.a ../dwmonitor/crdwmonitor001.a ../dwmonitor/systemmonitor/crsysmon001.a ../common/crcommon01.a ../xerceslib.a&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I get lot of messages, a few are given below, all have to do with "unsatisfied symbol". Am I missing some linker flag, also xerces code was compiled using -fPIC flag as the same code would be used for shared library, does it make any difference -- if not where lies the problem???&lt;BR /&gt;&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::RefStackOf&amp;lt;:domnode&amp;gt;::empty()" in file ../xerceslib.a[DOMDocumentImpl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::ValueStackOf&lt;INT&gt;::size()" in file ../xerceslib.a[IGXMLScanner.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::ArrayJanitor&lt;UNSIGNED short=""&gt;::operator[](int) const" in file ../xerceslib.a[IGXMLScanner2.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::Janitor&amp;lt;:schemaattdef&amp;gt;::reset(xercesc_2_5::SchemaAttDef*)" in file ../xerceslib.a[TraverseSchema.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::ValueHashTableOfEnumerator&lt;BOOL&gt;::~ValueHashTableOfEnumerator()" in file ../xerceslib.a[FieldActivator.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::ValueStackOf&amp;lt;:complextypeinfo&amp;gt;::pop()" in file ../xerceslib.a[SchemaValidator.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::NameIdPoolEnumerator&amp;lt;:dtdelementdecl&amp;gt;::nextElement()" in file ../xerceslib.a[XTemplateSerializer.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::ValueVectorOf&amp;lt;:schemagrammar&amp;gt;::removeAllElements()" in file ../xerceslib.a[GrammarResolver.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::ArrayJanitor&lt;UNSIGNED short=""&gt;::~ArrayJanitor()" in file ../xerceslib.a[DOMRangeImpl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::ArrayJanitor&lt;INT&gt;::~ArrayJanitor()" in file ../xerceslib.a[XMLRangeFactory.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::ArrayJanitor&lt;UNSIGNED char=""&gt;::~ArrayJanitor()" in file ../xerceslib.a[Base64.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::ArrayJanitor&lt;CHAR&gt;::~ArrayJanitor()" in file ../xerceslib.a[HPPlatformUtils.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::ArrayJanitor&lt;BOOL&gt;::~ArrayJanitor()" in file ../xerceslib.a[SchemaValidator.o]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;RUI&lt;BR /&gt;&lt;BR /&gt;&lt;/BOOL&gt;&lt;/CHAR&gt;&lt;/UNSIGNED&gt;&lt;/INT&gt;&lt;/UNSIGNED&gt;&lt;/BOOL&gt;&lt;/UNSIGNED&gt;&lt;/INT&gt;</description>
      <pubDate>Wed, 20 May 2009 14:05:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419031#M682630</guid>
      <dc:creator>uiqbal</dc:creator>
      <dc:date>2009-05-20T14:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: xerces build using gnu g++ error -- forward declaration error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419032#M682631</link>
      <description>It looks like even libxerces-c.sl generated by gcc/g++ has the&lt;BR /&gt;same problem.  On the other hand, libxerces-c.sl generated by&lt;BR /&gt;cc/aCC doesn't have the problem.&lt;BR /&gt;&lt;BR /&gt;Double-checking the changes may be needed for gcc/g++.</description>
      <pubDate>Wed, 20 May 2009 23:05:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419032#M682631</guid>
      <dc:creator>Shinji Teragaito_1</dc:creator>
      <dc:date>2009-05-20T23:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: xerces build using gnu g++ error -- forward declaration error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419033#M682632</link>
      <description>&amp;gt;Shinji: On the other hand, libxerces-c.sl generated by cc/aCC doesn't have the problem.&lt;BR /&gt;&lt;BR /&gt;This may help.  Are those references in those object files also in the aC++ version?  If so, does the aC++ version also have definitions elsewhere?&lt;BR /&gt;&lt;BR /&gt;Linking with -Wl,-ymangled-symbol-name would show both.&lt;BR /&gt;&lt;BR /&gt;Or you can use nm to find them:&lt;BR /&gt;nm -pxAN lib*.a *.o | grep ValueVectorOf | grep removeAllElements</description>
      <pubDate>Wed, 20 May 2009 23:49:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419033#M682632</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-05-20T23:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: xerces build using gnu g++ error -- forward declaration error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419034#M682633</link>
      <description>Thanks Shinji and Dennins for all your help.&lt;BR /&gt;&lt;BR /&gt;I have just played a little bit more with it and now my "link line" is changed to have xerceslib.a as first archive to link with, given below -- and i think it feels a lot better now, before there were 100s of error even referring to xercelib itself like "one of the errors before" given below&lt;BR /&gt;&lt;BR /&gt;Now the problem is that i get definite link errors, which amount to 78, called "new link error" given below and all the linking errors are with my source code which is better then before where there was linking error from with xerces itself.&lt;BR /&gt;&lt;BR /&gt;The out of nm command for "new unsatisfied symbols" is given below at the end in order and it shows that the AbstractDOMParser::parse is available in the xerceslib.a but my link line can't link to it in two places given right below from the 78 errors&lt;BR /&gt;../xml/crxml001.a[xmlmatchlistm4dwdrxml.o]&lt;BR /&gt;../ddl/crddl001.a[ddli_docimplm4dwddl.o]&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;RUI&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;link line:&lt;BR /&gt;-----------&lt;BR /&gt;g++ -o ../cr_api_test.hp -lstdc++ -lX11 -L. -L../ -Wall -Wno-deprecated -lpthread -lm -lsec -lnsl -lrt -L/usr/X11R6/lib ../xerceslib.a ../crxrdlin/crreadline01.a ../unittest/crunittest001.a ../dwmonitor/crdwmonitor001.a ../dwmonitor/systemmonitor/crsysmon001.a ../common/crcommon01.a&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;one of the errors before:&lt;BR /&gt;------------------------&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::RefStackOf&amp;lt;:domnode&amp;gt;::empty()" in file ../xerceslib.a[DOMDocumentImpl.o] &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;new link error:&lt;BR /&gt;--------------&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLPlatformUtils::Terminate()" in file ../ddl/crddl001.a[ddli_interfacem4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLUni::fgDOMWRTFormatPrettyPrint" in file ../ddl/crddl001.a[ddli_docimplm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::DOMImplementation::loadDOMExceptionMsg(xercesc_2_5::DOMException::ExceptionCode, unsigned short*, unsigned int)" in file ../comms/crcomms01.a[xmlapireqrep.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::DTDEntityDecl::getProtoType() const" in file ../csm/crcsm01.a[ccsmm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "typeinfo for xercesc_2_5::XMLException" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLString::lowerCase(unsigned short*)" in file ../ddl/crddl001.a[unicode_stringm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::Match::Match(xercesc_2_5::MemoryManager*)" in file ../ddl/crddl001.a[ddl_regularexpressionm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMemory::operator delete(void*)" in file ../csm/crcsm01.a[ccsmm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "typeinfo for xercesc_2_5::BinInputStream" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::SAXParseException::SAXParseException(xercesc_2_5::SAXParseException const&amp;amp;)" in file ../csm/crcsm01.a[ccsmm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLUni::fgArrayIndexOutOfBoundsException_Name" in file ../ddl/crddl001.a[ddl_regularexpressionm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::Match::~Match()" in file ../ddl/crddl001.a[ddl_regularexpressionm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLPlatformUtils::fgMemoryManager" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "typeinfo for xercesc_2_5::XMLEntityDecl" in file ../csm/crcsm01.a[ccsmm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::DTDEntityDecl::isSerializable() const" in file ../csm/crcsm01.a[ccsmm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::LocalFileInputSource::LocalFileInputSource(unsigned short const*, xercesc_2_5::MemoryManager*)" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::StdOutFormatTarget::StdOutFormatTarget()" in file ../ddl/crddl001.a[ddli_docimplm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLException::loadExceptText(xercesc_2_5::XMLExcepts::Codes)" in file ../ddl/crddl001.a[ddl_regularexpressionm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::AbstractDOMParser::setDoNamespaces(bool)" in file ../xml/crxml001.a[xmlmatchlistm4dwdrxml.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLFormatter::~XMLFormatter()" in file ../ddl/crddl001.a[event_driven_xml_writerm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLException::XMLException(char const*, unsigned int, xercesc_2_5::MemoryManager*)" in file ../ddl/crddl001.a[ddl_regularexpressionm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLRefInfo::getProtoType() const" in file ../csm/crcsm01.a[ccsmm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XercesDOMParser::setErrorHandler(xercesc_2_5::ErrorHandler*)" in file ../xml/crxml001.a[xmlmatchlistm4dwdrxml.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLRefInfo::isSerializable() const" in file ../csm/crcsm01.a[ccsmm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLString::transcode(char const*, unsigned short*, unsigned int, xercesc_2_5::MemoryManager*)" in file ../ddl/crddl001.a[ddli_docimplm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "typeinfo for xercesc_2_5::DOMException" in file ../ddl/crddl001.a[ddli_docimplm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLAttDefList::getProtoType() const" in file ../csm/crcsm01.a[ccsmm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::InputSource::setEncoding(unsigned short const*)" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::InputSource::InputSource(unsigned short const*, xercesc_2_5::MemoryManager*)" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::AbstractDOMParser::adoptDocument()" in file ../comms/crcomms01.a[xmlapireqrep.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLRefInfo::serialize(xercesc_2_5::XSerializeEngine&amp;amp;)" in file ../csm/crcsm01.a[ccsmm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::InputSource::~InputSource()" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLFormatter::formatBuf(unsigned short const*, unsigned int, xercesc_2_5::XMLFormatter::EscapeFlags, xercesc_2_5::XMLFormatter::UnRepFlags)" in file ../ddl/crddl001.a[event_driven_xml_writerm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::InputSource::setPublicId(unsigned short const*)" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLException::~XMLException()" in file ../ddl/crddl001.a[ddl_regularexpressionm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLUni::fgXercescDefaultLocale" in file ../xml/crxml001.a[ddl2_ctrlm4dwdrxml.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLAttDefList::serialize(xercesc_2_5::XSerializeEngine&amp;amp;)" in file ../csm/crcsm01.a[ccsmm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::MemBufInputSource::MemBufInputSource(unsigned char const*, unsigned int, unsigned short const*, bool, xercesc_2_5::MemoryManager*)" in file ../xml/crxml001.a[xmlmatchlistm4dwdrxml.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLString::upperCase(unsigned short*)" in file ../ddl/crddl001.a[unicode_stringm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::RegularExpression::~RegularExpression()" in file ../ddl/crddl001.a[ddl_regularexpressionm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLAttDefList::isSerializable() const" in file ../csm/crcsm01.a[ccsmm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLChar1_0::isValidName(unsigned short const*, unsigned int)" in file ../ddl/crddl001.a[event_driven_xml_writerm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::SAXParseException::getSystemId() const" in file ../ddl/crddl001.a[ddli_errorreportm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLString::release(char**)" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::SAXParseException::getColumnNumber() const" in file ../ddl/crddl001.a[ddli_errorreportm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLString::trim(unsigned short*)" in file ../ddl/crddl001.a[unicode_stringm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::MemBufInputSource::MemBufInputSource(unsigned char const*, unsigned int, char const*, bool, xercesc_2_5::MemoryManager*)" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::InputSource::setSystemId(unsigned short const*)" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLUni::fgRuntimeException_Name" in file ../ddl/crddl001.a[ddl_regularexpressionm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::SAXParseException::getLineNumber() const" in file ../ddl/crddl001.a[ddli_errorreportm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XercesDOMParser::XercesDOMParser(xercesc_2_5::XMLValidator*, xercesc_2_5::MemoryManager*, xercesc_2_5::XMLGrammarPool*)" in file ../xml/crxml001.a[xmlmatchlistm4dwdrxml.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMemory::operator new(unsigned long)" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::DOMImplementationRegistry::getDOMImplementation(unsigned short const*)" in file ../ddl/crddl001.a[ddli_docimplm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::RegularExpression::RegularExpression(char const*, char const*, xercesc_2_5::MemoryManager*)" in file ../ddl/crddl001.a[ddl_regularexpressionm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLString::compareString(unsigned short const*, unsigned short const*)" in file ../ddl/crddl001.a[unicode_stringm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::AbstractDOMParser::setCalculateSrcOfs(bool)" in file ../xml/crxml001.a[xmlmatchlistm4dwdrxml.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLString::compareIString(unsigned short const*, unsigned short const*)" in file ../ddl/crddl001.a[unicode_stringm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::SAXParseException::~SAXParseException()" in file ../csm/crcsm01.a[ccsmm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLString::regionIMatches(unsigned short const*, int, unsigned short const*, int, unsigned int)" in file ../ddl/crddl001.a[unicode_stringm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMemory::operator delete(void*, xercesc_2_5::MemoryManager*)" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMemory::operator new(unsigned long, xercesc_2_5::MemoryManager*)" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::AbstractDOMParser::getDocument()" in file ../xml/crxml001.a[xmlmatchlistm4dwdrxml.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLFormatter::XMLFormatter(char const*, char const*, xercesc_2_5::XMLFormatTarget*, xercesc_2_5::XMLFormatter::EscapeFlags, xercesc_2_5::XMLFormatter::UnRepFlags, xercesc_2_5::MemoryManager*)" in file ../ddl/crddl001.a[event_driven_xml_writerm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::BinInputStream::~BinInputStream()" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "typeinfo for xercesc_2_5::InputSource" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "typeinfo for xercesc_2_5::SAXParseException" in file ../csm/crcsm01.a[ccsmm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::BinInputStream::BinInputStream()" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::DTDEntityDecl::serialize(xercesc_2_5::XSerializeEngine&amp;amp;)" in file ../csm/crcsm01.a[ccsmm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLString::transcode(unsigned short const*)" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLString::transcode(char const*)" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::SAX2XMLReaderImpl::SAX2XMLReaderImpl(xercesc_2_5::MemoryManager*, xercesc_2_5::XMLGrammarPool*)" in file ../csm/crcsm01.a[crxmlm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::AbstractDOMParser::parse(xercesc_2_5::InputSource const&amp;amp;)" in file ../xml/crxml001.a[xmlmatchlistm4dwdrxml.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLString::isAllWhiteSpace(unsigned short const*)" in file ../ddl/crddl001.a[ddli_pretty_printm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLEntityDecl::~XMLEntityDecl()" in file ../csm/crcsm01.a[ccsmm4smcsm.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::RegularExpression::matches(char const*, xercesc_2_5::Match*, xercesc_2_5::MemoryManager*)" in file ../ddl/crddl001.a[ddl_regularexpressionm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::AbstractDOMParser::parse(char const*)" in file ../ddl/crddl001.a[ddli_docimplm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLException::XMLException(xercesc_2_5::XMLException const&amp;amp;)" in file ../ddl/crddl001.a[ddl_regularexpressionm4dwddl.o]&lt;BR /&gt;ld: Unsatisfied symbol "xercesc_2_5::XMLPlatformUtils::Initialize(char const*, char const*, xercesc_2_5::PanicHandler*, xercesc_2_5::MemoryManager*)" in file ../xml/crxml001.a[ddl2_ctrlm4dwdrxml.o]&lt;BR /&gt;78 errors.&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;new unsatisfied symbol:&lt;BR /&gt;-----------------------&lt;BR /&gt;&lt;BR /&gt;bash-3.2$ nm -pxAN xerceslib.a | grep AbstractDOMParser  | grep parse&lt;BR /&gt;0x00000620 T  xerceslib.a[AbstractDOMParser.o]:_ZN11xercesc_2_517AbstractDOMParser9parseNextERNS_13XMLPScanTokenE&lt;BR /&gt;0x00001770 T  xerceslib.a[AbstractDOMParser.o]:_ZN11xercesc_2_517AbstractDOMParser5parseEPKt&lt;BR /&gt;0x000021f0 T  xerceslib.a[AbstractDOMParser.o]:_ZN11xercesc_2_517AbstractDOMParser10parseResetERNS_13XMLPScanTokenE&lt;BR /&gt;0x00004d40 T  xerceslib.a[AbstractDOMParser.o]:_ZN11xercesc_2_517AbstractDOMParser10parseFirstERKNS_11InputSourceERNS_13XMLPScanTokenE&lt;BR /&gt;0x00005160 T  xerceslib.a[AbstractDOMParser.o]:_ZN11xercesc_2_517AbstractDOMParser5parseERKNS_11InputSourceE&lt;BR /&gt;0x00005630 T  xerceslib.a[AbstractDOMParser.o]:_ZN11xercesc_2_517AbstractDOMParser10parseFirstEPKcRNS_13XMLPScanTokenE&lt;BR /&gt;0x000057c0 T  xerceslib.a[AbstractDOMParser.o]:_ZN11xercesc_2_517AbstractDOMParser10parseFirstEPKtRNS_13XMLPScanTokenE&lt;BR /&gt;0x00005950 T  xerceslib.a[AbstractDOMParser.o]:_ZN11xercesc_2_517AbstractDOMParser5parseEPKc&lt;BR /&gt;0x00000000 U  xerceslib.a[DOMBuilderImpl.o]:_ZN11xercesc_2_517AbstractDOMParser5parseEPKc&lt;BR /&gt;0x00000000 U  xerceslib.a[DOMBuilderImpl.o]:_ZN11xercesc_2_517AbstractDOMParser5parseEPKt&lt;BR /&gt;0x00000000 U  xerceslib.a[DOMBuilderImpl.o]:_ZN11xercesc_2_517AbstractDOMParser5parseERKNS_11InputSourceE&lt;BR /&gt;0x00000000 U  xerceslib.a[IGXMLScanner2.o]:_ZN11xercesc_2_517AbstractDOMParser5parseERKNS_11InputSourceE&lt;BR /&gt;0x00000000 U  xerceslib.a[SGXMLScanner.o]:_ZN11xercesc_2_517AbstractDOMParser5parseERKNS_11InputSourceE&lt;BR /&gt;0x00000000 U  xerceslib.a[TraverseSchema.o]:_ZN11xercesc_2_517AbstractDOMParser5parseERKNS_11InputSourceE&lt;BR /&gt;0x00000000 U  xerceslib.a[XSAnnotation.o]:_ZN11xercesc_2_517AbstractDOMParser5parseERKNS_11InputSourceE&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 May 2009 09:15:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419034#M682633</guid>
      <dc:creator>uiqbal</dc:creator>
      <dc:date>2009-05-21T09:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: xerces build using gnu g++ error -- forward declaration error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419035#M682634</link>
      <description>&amp;gt;now my link line is changed to have xerceslib.a as first archive to link with&lt;BR /&gt;&amp;gt;it shows that the AbstractDOMParser::parse is available in the xerceslib.a&lt;BR /&gt;&lt;BR /&gt;Yes.  You may want to give up on ordering and just let ld figure it out with -Wl,+n.</description>
      <pubDate>Sun, 24 May 2009 00:05:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419035#M682634</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-05-24T00:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: xerces build using gnu g++ error -- forward declaration error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419036#M682635</link>
      <description>Rui, remove -DXERCES_TMPLSINC from Makefile.incl. I'm not sure if&lt;BR /&gt;the unsat problem goes away perfectly. But I think you can have&lt;BR /&gt;much more improvements.&lt;BR /&gt;&lt;BR /&gt;As you already know, -fPIC is not required when generating *.o&lt;BR /&gt;for the archive library.</description>
      <pubDate>Sun, 24 May 2009 09:16:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419036#M682635</guid>
      <dc:creator>Shinji Teragaito_1</dc:creator>
      <dc:date>2009-05-24T09:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: xerces build using gnu g++ error -- forward declaration error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419037#M682636</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thank you both for keeping up with me and helping me out.&lt;BR /&gt;&lt;BR /&gt;Tried both the things, adding +Wl,+n doesn't work and the errors increase.&lt;BR /&gt;&lt;BR /&gt;Also if I remove -DXERCES_TMPLSINC, then its even more problematic with xercesc compilation even failing after adding your mentioned changes.&lt;BR /&gt;&lt;BR /&gt;I have seen that there are some linker patches available at, should I upgrade to them.&lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://www13.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_34860&amp;amp;sel={hpux:11.23,0}&amp;amp;BC=main" target="_blank"&gt;http://www13.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_34860&amp;amp;sel={hpux:11.23,0}&amp;amp;BC=main&lt;/A&gt;|sbs|systemDesc{0}|&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www13.itrc.hp.com/service/patch/patchDetail.do?BC=main" target="_blank"&gt;http://www13.itrc.hp.com/service/patch/patchDetail.do?BC=main&lt;/A&gt;|sbs|systemDesc{0}|patchDetail{PHSS_34860,{hpux:11.23,0}}|&amp;amp;patchid=PHSS_39093&amp;amp;sel={hpux:11.23,0}&lt;BR /&gt;&lt;BR /&gt;Is it problem with the linker, my ld is this:&lt;BR /&gt;ld_msgs.cat: $Revision: 1.85 $&lt;BR /&gt;92453-07 linker ld HP Itanium(R) B.12.42  IPF/IPF&lt;BR /&gt;REL Fri Dec  1 11:36:57 2006 PST&lt;BR /&gt;HP aC++ for Integrity Servers B3910B A.06.10 [Mar 22 2006] Classic Iostream Library&lt;BR /&gt;HP aC++ for Integrity Servers B3910B A.06.10 [Mar 22 2006] Language Support Library&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Or should i try the linker with gcc which doesn't seem to be present.&lt;BR /&gt;Regards,&lt;BR /&gt;rui</description>
      <pubDate>Fri, 05 Jun 2009 09:51:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419037#M682636</guid>
      <dc:creator>uiqbal</dc:creator>
      <dc:date>2009-06-05T09:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: xerces build using gnu g++ error -- forward declaration error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419038#M682637</link>
      <description>&amp;gt;Is it problem with the linker, my ld is this: B.12.42&lt;BR /&gt;&lt;BR /&gt;Possibly, it's pretty old.&lt;BR /&gt;But typically this is due to a missing lib or incorrect path.&lt;BR /&gt;Basically you need to know where a symbol is being used and have some idea where it should be defined.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Or should I try the linker with gcc which doesn't seem to be present.&lt;BR /&gt;&lt;BR /&gt;Using a foreign devil ld would be taking 10 steps backwards.</description>
      <pubDate>Fri, 05 Jun 2009 11:47:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419038#M682637</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-06-05T11:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: xerces build using gnu g++ error -- forward declaration error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419039#M682638</link>
      <description>I have patched the linker as well now but to no avail. Still I get lot of errors -- and the symbol exist as is pretty evident that i get any problem with xerceslib itself but in different libs now.&lt;BR /&gt;&lt;BR /&gt;Any help regarding problem compiling xerces 2.5.0 on hp itanium using gcc would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;rui</description>
      <pubDate>Fri, 05 Jun 2009 15:55:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419039#M682638</guid>
      <dc:creator>uiqbal</dc:creator>
      <dc:date>2009-06-05T15:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: xerces build using gnu g++ error -- forward declaration error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419040#M682639</link>
      <description>&amp;gt;the symbol exist as is pretty evident that I get any problem with xerceslib itself but in different libs now.&lt;BR /&gt;&lt;BR /&gt;You've solved your above unsat problems?  And the symbols are now different?</description>
      <pubDate>Sat, 06 Jun 2009 12:48:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419040#M682639</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-06-06T12:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: xerces build using gnu g++ error -- forward declaration error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419041#M682640</link>
      <description>It seems to me some more changes are required in xerces-c 2.5&lt;BR /&gt;Makefile.incl.  If you want to have static library, you don't&lt;BR /&gt;have to specify -fPIC and -shared.  Actually both MAKE_SHARED and&lt;BR /&gt;MAKE_SHARED_C are not required.&lt;BR /&gt; &lt;BR /&gt;Anyway, I'd like to recommend to use Xerces-c 2.8 once again&lt;BR /&gt;rather than still sticking to out-of-date 2.5 version. As I&lt;BR /&gt;mentioned in my past message, you don't have to any changes to&lt;BR /&gt;the source code for gcc/g++. Also I just noticed runConfigure is&lt;BR /&gt;providing the "-s" option support for static building.&lt;BR /&gt;&lt;BR /&gt;% ./runConfigure -p hp-11 -c gcc -x g++ -s -r pthread&lt;BR /&gt;&lt;BR /&gt;With "-s", you can have both libxerces-a.a and libxerces-depdom.a&lt;BR /&gt;in the lib directory. Without "-s", those shared libraries are&lt;BR /&gt;built in the directory.</description>
      <pubDate>Sun, 07 Jun 2009 00:57:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xerces-build-using-gnu-g-error-forward-declaration-error/m-p/4419041#M682640</guid>
      <dc:creator>Shinji Teragaito_1</dc:creator>
      <dc:date>2009-06-07T00:57:42Z</dc:date>
    </item>
  </channel>
</rss>

