Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-1373

not able to build on CYGWIN using g++ compiler

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Cannot Reproduce
    • 2.6.0
    • None
    • Build
    • None
    • Cygwin

    Description

      Followed the build notes

      ./runConfigure worked successfully

      make ran but eventually failed, see below

      Building /home/rwolf/xerces-c-src_2_6_0//lib/cygxerces-depdom26.dll
      g++ -shared -o /home/rwolf/xerces-c-src_2_6_0//lib/cygxerces-depdom26.dll CYGWIN/depdom/AttrImpl.o CYGWIN/depdom/AttrMapImpl.o CYGWIN/depdom/AttrNSImpl.o CYGWIN/depdom/CDATASectionImpl.o CYGWIN/depdom/CharacterDataImpl.o CYGWIN/depdom/ChildNode.o CYGWIN/depdom/CommentImpl.o CYGWIN/depdom/DOMParser.o CYGWIN/depdom/DOMString.o CYGWIN/depdom/DOM_Attr.o CYGWIN/depdom/DOM_CDATASection.o CYGWIN/depdom/DOM_CharacterData.o CYGWIN/depdom/DOM_Comment.o CYGWIN/depdom/DOM_DOMException.o CYGWIN/depdom/DOM_DOMImplementation.o CYGWIN/depdom/DOM_Document.o CYGWIN/depdom/DOM_DocumentFragment.o CYGWIN/depdom/DOM_DocumentType.o CYGWIN/depdom/DOM_Element.o CYGWIN/depdom/DOM_Entity.o CYGWIN/depdom/DOM_EntityReference.o CYGWIN/depdom/DOM_NamedNodeMap.o CYGWIN/depdom/DOM_Node.o CYGWIN/depdom/DOM_NodeFilter.o CYGWIN/depdom/DOM_NodeIterator.o CYGWIN/depdom/DOM_NodeList.o CYGWIN/depdom/DOM_Notation.o CYGWIN/depdom/DOM_ProcessingInstruction.o CYGWIN/depdom/DOM_Range.o CYGWIN/depdom/DOM_RangeException.o CYGWIN/depdom/DOM_Text.o CYGWIN/depdom/DOM_TreeWalker.o CYGWIN/depdom/DOM_XMLDecl.o CYGWIN/depdom/DStringPool.o CYGWIN/depdom/DeepNodeListImpl.o CYGWIN/depdom/DocumentFragmentImpl.o CYGWIN/depdom/DocumentImpl.o CYGWIN/depdom/DocumentTypeImpl.o CYGWIN/depdom/DomMemDebug.o CYGWIN/depdom/ElementDefinitionImpl.o CYGWIN/depdom/ElementImpl.o CYGWIN/depdom/ElementNSImpl.o CYGWIN/depdom/EntityImpl.o CYGWIN/depdom/EntityReferenceImpl.o CYGWIN/depdom/NamedNodeMapImpl.o CYGWIN/depdom/NodeIDMap.o CYGWIN/depdom/NodeImpl.o CYGWIN/depdom/NodeIteratorImpl.o CYGWIN/depdom/NodeListImpl.o CYGWIN/depdom/NodeVector.o CYGWIN/depdom/NotationImpl.o CYGWIN/depdom/ParentNode.o CYGWIN/depdom/ProcessingInstructionImpl.o CYGWIN/depdom/RangeImpl.o CYGWIN/depdom/RefCountedImpl.o CYGWIN/depdom/TextImpl.o CYGWIN/depdom/TreeWalkerImpl.o CYGWIN/depdom/XMLDeclImpl.o -Xlinker --warn-once -Xlinker -Map -Xlinker /home/rwolf/xerces-c-src_2_6_0//lib/libxerces-depdom26.map -Xlinker --output-def -Xlinker /home/rwolf/xerces-c-src_2_6_0//lib/libxerces-depdom26.def -Xlinker --out-implib -Xlinker /home/rwolf/xerces-c-src_2_6_0//lib/libxerces-depdom26.dll.a -lpthread -L/usr/lib -L/home/rwolf/xerces-c-src_2_6_0//lib -lxerces-c

      Creating library file: /home/rwolf/xerces-c-src_2_6_0//lib/libxerces-depdom26.dll.a

      CYGWIN/depdom/AttrImpl.o(.text+0x4bb):AttrImpl.cpp: undefined reference to `xercesc_2_6::XMemory::operator delete(void*)'
      CYGWIN/depdom/AttrImpl.o(.text+0x50d):AttrImpl.cpp: undefined reference to `xercesc_2_6::XMemory::operator new(unsigned, xercesc_2_6::MemoryManager*)'
      CYGWIN/depdom/AttrImpl.o(.text+0x563):AttrImpl.cpp: undefined reference to `xercesc_2_6::XMemory::operator delete(void*, xercesc_2_6::MemoryManager*)'
      CYGWIN/depdom/AttrImpl.o(.text$_ZN11xercesc_2_615BaseRefVectorOfINS_9RangeImplEE9elementAtEj[xercesc_2_6::BaseRefVectorOf<xercesc_2_6::RangeImpl>::elementAt(unsigned)]+0x87):AttrImpl.cpp: undefined reference to `xercesc_2_6::XMLException::XMLException[not-in-charge](char const*, unsigned, xercesc_2_6::MemoryManager*)'
      CYGWIN/depdom/AttrImpl.o(.text$_ZN11xercesc_2_615BaseRefVectorOfINS_9RangeImplEE9elementAtEj[xercesc_2_6::BaseRefVectorOf<xercesc_2_6::RangeImpl>::elementAt(unsigned)]+0xa7):AttrImpl.cpp: undefined reference to `xercesc_2_6::XMLException::loadExceptText(xercesc_2_6::XMLExcepts::Codes)'
      CYGWIN/depdom/AttrImpl.o(.text$_ZN11xercesc_2_615BaseRefVectorOfINS_9RangeImplEE9elementAtEj[xercesc_2_6::BaseRefVectorOf<xercesc_2_6::RangeImpl>::elementAt(unsigned)]+0xca):AttrImpl.cpp: undefined reference to `xercesc_2_6::XMLException::~XMLException [not-in-cha

      Attachments

        1. xml-xerces-cygwin.patch
          5 kB
          Axel Weiß

        Issue Links

          Activity

            People

              Unassigned Unassigned
              robert_wolf_toronto Robert Wolf
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: