You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Rajeev Karri <ka...@i2.com> on 2000/06/08 05:50:26 UTC

Problem building 1.1.0 on Solaris

Is there support for  CC 4.2 ? the compiler crashes with Sig 10 !!
Do i need some xtra compiler flags ?
Trying to build Xerces-C on Solaris

1. uname -a 
SunOS sun4k7 5.5.1 Generic_103640-28 sun4u sparc SUNW,Ultra-Enterprise

2. CC -V
 CC: WorkShop Compilers 4.2 18 Sep 1997 C++ 4.2 patch 104631-04

3. runConfigure -p solaris -c cc -x CC -m inmem -t native

4. make

I am pasting the build output below :



Preparing the directory structure for a build ...
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/obj
Building util
Building sax
Building internal
cd internal ; gmake  ; cd ..
cd sax ; gmake  ; cd ..
cd util ; gmake  ; cd ..
Building framework
Building parsers
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/include/internal
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/include/sax
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/include/util
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/obj
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/obj
cd Platforms ; gmake ; cd ..
cd Transcoders/Iconv ; gmake ; cd ../..
cd MsgLoaders/InMemory ; gmake ; cd ../..
cp -fp CharTypeTables.hpp ElemStack.hpp EndOfEntityException.hpp ReaderMgr.hpp VecAttrListImpl.hpp XMLReader.hpp XMLScanner.hpp  /u/karri/lang/xml/xerces-c-src_1_1_0/include/internal
cp -fp AttributeList.hpp DTDHandler.hpp DocumentHandler.hpp EntityResolver.hpp ErrorHandler.hpp HandlerBase.hpp InputSource.hpp Locator.hpp Parser.hpp SAXException.hpp SAXParseException.hpp  /u/karri/lang/xml/xerces-c-src_1_1_0/include/sax
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/include/util/Platforms/Solaris
cp -fp ArrayIndexOutOfBoundsException.hpp AutoSense.hpp BinFileInputStream.hpp BinInputStream.hpp BinMemInputStream.hpp BitOps.hpp BitSet.hpp CountedPointer.hpp EmptyStackException.hpp FlagJanitor.hpp IOException.hpp IllegalArgumentException.hpp InvalidCastException.hpp Janitor.hpp KVStringPair.hpp KeyValuePair.hpp Mutexes.hpp NameIdPool.hpp NoDefTranscoderException.hpp NoSuchElementException.hpp NullPointerException.hpp PlatformUtils.hpp RefArrayOf.hpp RefHashTableOf.hpp RefStackOf.hpp RefVectorOf.hpp RuntimeException.hpp StringPool.hpp TextOutputStream.hpp TransENameMap.hpp TransService.hpp TranscodingException.hpp UTFDataFormatException.hpp UnexpectedEOFException.hpp UnsupportedEncodingException.hpp ValueArrayOf.hpp ValueStackOf.hpp ValueVectorOf.hpp XML4CDefs.hpp XML88591Transcoder.hpp XMLASCIITranscoder.hpp XMLChTranscoder.hpp XMLIBM1140Transcoder.hpp XMLEBCDICTranscoder.hpp XMLEnumerator.hpp XMLExceptMsgs.hpp XMLException.hpp XMLMsgLoader.hpp XMLNetAccessor.hpp XMLString!
.hpp XMLUCS4Transcoder.hpp XMLURL.hpp XMLUTF16Transcoder.hpp XMLUTF8Transcoder.hpp XMLUni.hpp XMLWin1252Transcoder.hpp CountedPointer.c FlagJanitor.c Janitor.c KeyValuePair.c NameIdPool.c RefArrayOf.c RefHashTableOf.c RefStackOf.c RefVectorOf.c TransENameMap.c ValueArrayOf.c ValueStackOf.c ValueVectorOf.c /u/karri/lang/xml/xerces-c-src_1_1_0/include/util
cp -fp Dummy.o InputSource.o SAXParseException.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/include/util/Transcoders/Iconv
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/include/util/MsgLoaders/InMemory
cp -fp ElemStack.o ReaderMgr.o VecAttrListImpl.o XMLReader.o XMLScanner.o XMLScanner2.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj
cp -fp Solaris/SolarisDefs.hpp /u/karri/lang/xml/xerces-c-src_1_1_0/include/util/Platforms/Solaris
cp -fp CppErrMsgs_EN_US.hpp InMemMsgLoader.hpp /u/karri/lang/xml/xerces-c-src_1_1_0/include/util/MsgLoaders/InMemory
cp -fp IconvTransService.hpp /u/karri/lang/xml/xerces-c-src_1_1_0/include/util/Transcoders/Iconv
cd parsers ; gmake  ; cd ..
Building dom
cd dom ; gmake  ; cd ..
cd framework ; gmake  ; cd ..
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/lib
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/include/dom
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/obj
cd util ; gmake includes ; cd ..
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/include/parsers
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/include/framework
cp -fp DOM.hpp DOMString.hpp DOM_Attr.hpp DOM_CDATASection.hpp DOM_CharacterData.hpp DOM_Comment.hpp DOM_DOMException.hpp DOM_DOMImplementation.hpp DOM_Document.hpp DOM_DocumentFragment.hpp DOM_DocumentType.hpp DOM_Element.hpp DOM_Entity.hpp DOM_EntityReference.hpp DOM_NamedNodeMap.hpp DOM_Node.hpp DOM_NodeFilter.hpp DOM_NodeIterator.hpp DOM_NodeList.hpp DOM_Notation.hpp DOM_ProcessingInstruction.hpp DOM_Text.hpp DOM_TreeWalker.hpp  /u/karri/lang/xml/xerces-c-src_1_1_0/include/dom
cp -fp LocalFileInputSource.hpp MemBufInputSource.hpp StdInInputSource.hpp URLInputSource.hpp XMLAttDef.hpp XMLAttDefList.hpp XMLAttr.hpp XMLBuffer.hpp XMLBufferMgr.hpp XMLContentModel.hpp XMLDocumentHandler.hpp XMLElementDecl.hpp XMLEntityDecl.hpp XMLEntityHandler.hpp XMLErrorCodes.hpp XMLErrorReporter.hpp XMLNotationDecl.hpp XMLPScanToken.hpp XMLRecognizer.hpp XMLRefInfo.hpp XMLValidator.hpp XMLValidityCodes.hpp  /u/karri/lang/xml/xerces-c-src_1_1_0/include/framework
cp -fp Solaris/SolarisPlatformUtils.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj
CC -KPIC -mt -xs -instances=static -features=rtti -DSOLARIS -D_REENTRANT -c -O -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER    -I/u/karri/lang/xml/xerces-c-src_1_1_0/include  -o IconvTransService.o IconvTransService.cpp
cp -fp DOMParser.hpp SAXParser.hpp  /u/karri/lang/xml/xerces-c-src_1_1_0/include/parsers
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/include/util
cp -fp ArrayIndexOutOfBoundsException.hpp AutoSense.hpp BinFileInputStream.hpp BinInputStream.hpp BinMemInputStream.hpp BitOps.hpp BitSet.hpp CountedPointer.hpp EmptyStackException.hpp FlagJanitor.hpp IOException.hpp IllegalArgumentException.hpp InvalidCastException.hpp Janitor.hpp KVStringPair.hpp KeyValuePair.hpp Mutexes.hpp NameIdPool.hpp NoDefTranscoderException.hpp NoSuchElementException.hpp NullPointerException.hpp PlatformUtils.hpp RefArrayOf.hpp RefHashTableOf.hpp RefStackOf.hpp RefVectorOf.hpp RuntimeException.hpp StringPool.hpp TextOutputStream.hpp TransENameMap.hpp TransService.hpp TranscodingException.hpp UTFDataFormatException.hpp UnexpectedEOFException.hpp UnsupportedEncodingException.hpp ValueArrayOf.hpp ValueStackOf.hpp ValueVectorOf.hpp XML4CDefs.hpp XML88591Transcoder.hpp XMLASCIITranscoder.hpp XMLChTranscoder.hpp XMLIBM1140Transcoder.hpp XMLEBCDICTranscoder.hpp XMLEnumerator.hpp XMLExceptMsgs.hpp XMLException.hpp XMLMsgLoader.hpp XMLNetAccessor.hpp XMLString!
.hpp XMLUCS4Transcoder.hpp XMLURL.hpp XMLUTF16Transcoder.hpp XMLUTF8Transcoder.hpp XMLUni.hpp XMLWin1252Transcoder.hpp CountedPointer.c FlagJanitor.c Janitor.c KeyValuePair.c NameIdPool.c RefArrayOf.c RefHashTableOf.c RefStackOf.c RefVectorOf.c TransENameMap.c ValueArrayOf.c ValueStackOf.c ValueVectorOf.c /u/karri/lang/xml/xerces-c-src_1_1_0/include/util
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/obj
cp -fp InMemMsgLoader.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj
Building validators
cd validators/DTD ; gmake  ; cd ../..
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/include/validators/DTD
cp -fp CMBinaryOp.hpp CMLeaf.hpp CMNode.hpp CMStateSet.hpp CMUnaryOp.hpp ContentSpecNode.hpp DFAContentModel.hpp DTDAttDef.hpp DTDAttDefList.hpp DTDElementDecl.hpp DTDEntityDecl.hpp DTDValidator.hpp DocTypeHandler.hpp MixedContentModel.hpp SimpleContentModel.hpp  /u/karri/lang/xml/xerces-c-src_1_1_0/include/validators/DTD
CC -KPIC -mt -xs -instances=static -features=rtti -DSOLARIS -D_REENTRANT -c -O -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER    -I/u/karri/lang/xml/xerces-c-src_1_1_0/include  -o DOMParser.o DOMParser.cpp
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/obj
CC -KPIC -mt -xs -instances=static -features=rtti -DSOLARIS -D_REENTRANT -c -O -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER    -I/u/karri/lang/xml/xerces-c-src_1_1_0/include  -o MixedContentModel.o MixedContentModel.cpp
cp -fp IconvTransService.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj
cp: cannot access IconvTransService.o
gmake[2]: [publish] Error 2 (ignored)
CC -KPIC -mt -xs -instances=static -features=rtti -DSOLARIS -D_REENTRANT -c -O -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER    -I/u/karri/lang/xml/xerces-c-src_1_1_0/include  -o XMLValidator.o XMLValidator.cpp
Building /u/karri/lang/xml/xerces-c-src_1_1_0/lib/libxerces-c1_1
cd /u/karri/lang/xml/xerces-c-src_1_1_0/obj ; gmake -k  ; cd ..
cd Compilers ; gmake ; cd ..
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/include/util/Compilers
cp -fp BorlandCDefs.hpp CSetDefs.hpp CodeWarriorDefs.hpp GCCDefs.hpp HPCCDefs.hpp IBMVAOS2Defs.hpp IBMVAW32Defs.hpp MVSCPPDefs.hpp SCOCCDefs.hpp SunCCDefs.hpp SunKaiDefs.hpp OS400SetDefs.hpp MIPSproDefs.hpp TandemCCDefs.hpp VCPPDefs.hpp /u/karri/lang/xml/xerces-c-src_1_1_0/include/util/Compilers
 >> Signal 10:
    while processing /u/karri/lang/xml/xerces-c-src_1_1_0/include/framework/XMLElementDecl.hpp at line 1.
gmake[1]: *** [MixedContentModel.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
CC -KPIC -mt -xs -instances=static -features=rtti -DSOLARIS -D_REENTRANT -c -O -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER    -I/u/karri/lang/xml/xerces-c-src_1_1_0/include  -o SAXParser.o SAXParser.cpp
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/obj
cp -fp BinFileInputStream.o BinInputStream.o BinMemInputStream.o BitSet.o HeaderDummy.o KVStringPair.o Mutexes.o PlatformUtils.o StringPool.o TextOutputStream.o XMLURL.o TransService.o XML88591Transcoder.o XMLASCIITranscoder.o XMLChTranscoder.o XMLIBM1140Transcoder.o XMLEBCDICTranscoder.o XMLException.o XMLString.o XMLUCSTranscoder.o XMLUTF16Transcoder.o XMLUTF8Transcoder.o XMLUni.o XMLWin1252Transcoder.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj
 >> Signal 10:
    while processing /u/karri/lang/xml/xerces-c-src_1_1_0/include/framework/XMLRefInfo.hpp at line 212.
gmake[1]: *** [XMLValidator.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/obj

cp -fp AttrImpl.o CDATASectionImpl.o CharacterDataImpl.o CommentImpl.o DOMString.o DOM_Attr.o DOM_CDATASection.o DOM_CharacterData.o DOM_Comment.o DOM_DOMException.o DOM_DOMImplementation.o DOM_Document.o DOM_DocumentFragment.o DOM_DocumentType.o DOM_Element.o DOM_Entity.o DOM_EntityReference.o DOM_NamedNodeMap.o DOM_Node.o DOM_NodeList.o DOM_NodeFilter.o DOM_NodeIterator.o DOM_TreeWalker.o DOM_Notation.o DOM_ProcessingInstruction.o DOM_Text.o DStringPool.o DeepNodeListImpl.o DocumentFragmentImpl.o DocumentImpl.o DocumentTypeImpl.o DomMemDebug.o ElementDefinitionImpl.o ElementImpl.o EntityImpl.o EntityReferenceImpl.o NamedNodeMapImpl.o NodeImpl.o NodeIteratorImpl.o NodeListImpl.o NodeVector.o NotationImpl.o ProcessingInstructionImpl.o RefCountedImpl.o TextImpl.o TreeWalkerImpl.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/obj
cp -fp DOMParser.o SAXParser.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/obj
cp: cannot access DOMParser.o
cp: cannot access SAXParser.o
gmake[1]: [publish] Error 2 (ignored)
cp -fp SunCCDefs.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj
Building /u/karri/lang/xml/xerces-c-src_1_1_0/lib/libxerces-c1_1.so
CC -DSOLARIS -G -o /u/karri/lang/xml/xerces-c-src_1_1_0/lib/libxerces-c1_1.so /u/karri/lang/xml/xerces-c-src_1_1_0/obj/AttrImpl.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/BinFileInputStream.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/BinInputStream.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/BinMemInputStream.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/BitSet.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/CDATASectionImpl.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/CMBinaryOp.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/CMUnaryOp.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/CharacterDataImpl.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/CommentImpl.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/ContentSpecNode.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DFAContentModel.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DOMString.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DOM_Attr.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DOM_CDATASection.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DOM_CharacterData.o /u/!
karri/lang/xml/xerces-c-src_1_1_0/obj/DOM_Comment.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DOM_DOMException.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DOM_DOMImplementation.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DOM_Document.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DOM_DocumentFragment.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DOM_DocumentType.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DOM_Element.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DOM_Entity.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DOM_EntityReference.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DOM_NamedNodeMap.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DOM_Node.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DOM_NodeFilter.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DOM_NodeIterator.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DOM_NodeList.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DOM_Notation.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DOM_ProcessingInstruction.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DOM_Text.o!
 /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DOM_TreeWalker.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DStringPool.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DTDAttDef.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DTDAttDefList.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DTDElementDecl.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DTDValidator.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DeepNodeListImpl.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DocumentFragmentImpl.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DocumentImpl.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DocumentTypeImpl.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DomMemDebug.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/Dummy.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/ElemStack.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/ElementDefinitionImpl.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/ElementImpl.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/EntityImpl.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/EntityReferenceImpl.o /u/karri/lang/xml/x!
erces-c-src_1_1_0/obj/HeaderDummy.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/InMemMsgLoader.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/InputSource.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/KVStringPair.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/LocalFileInputSource.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/MemBufInputSource.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/Mutexes.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/NamedNodeMapImpl.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/NodeImpl.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/NodeIteratorImpl.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/NodeListImpl.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/NodeVector.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/NotationImpl.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/PlatformUtils.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/ProcessingInstructionImpl.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/ReaderMgr.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/RefCountedImpl.o /u/karri/lang/xml/xerces-c-src_1_1_!
0/obj/SAXParseException.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/SimpleContentModel.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/SolarisPlatformUtils.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/StdInInputSource.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/StringPool.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/TextImpl.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/TextOutputStream.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/TransService.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/TreeWalkerImpl.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/URLInputSource.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/VecAttrListImpl.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/XML88591Transcoder.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/XMLASCIITranscoder.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/XMLAttDef.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/XMLAttr.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/XMLBuffer.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/XMLBufferMgr.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/XMLC!
hTranscoder.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/XMLContentModel.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/XMLEBCDICTranscoder.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/XMLElementDecl.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/XMLEntityDecl.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/XMLException.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/XMLIBM1140Transcoder.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/XMLNotationDecl.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/XMLReader.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/XMLRecognizer.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/XMLScanner.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/XMLScanner2.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/XMLString.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/XMLUCSTranscoder.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/XMLURL.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/XMLUTF16Transcoder.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/XMLUTF8Transcoder.o /u/karri/lang/xml/xerces-c-src_1_1_0/obj/XMLUni.o /u/kar!
ri/lang/xml/xerces-c-src_1_1_0/obj/XMLWin1252Transcoder.o    -lm  -lpthread  -L/usr/local/SUNWspro/lib -L/usr/ccs/lib -lm -lw -lC -lc -lgen
 >> Signal 10:
    while processing /u/karri/lang/xml/xerces-c-src_1_1_0/include/util/RefVectorOf.hpp at line 1.
gmake[1]: *** [SAXParser.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
ld: fatal: file /u/karri/lang/xml/xerces-c-src_1_1_0/obj/DOMString.o: wrong machine class
ld: fatal: File processing errors. No output written to /u/karri/lang/xml/xerces-c-src_1_1_0/lib/libxerces-c1_1.so
gmake[1]: *** [/u/karri/lang/xml/xerces-c-src_1_1_0/lib/libxerces-c1_1.so] Error 1
gmake[1]: Target `ALL' not remade because of errors.
cd Platforms ; gmake includes ; cd ..
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/include/util/Platforms/Solaris
cp -fp Solaris/SolarisDefs.hpp /u/karri/lang/xml/xerces-c-src_1_1_0/include/util/Platforms/Solaris
cd Transcoders/Iconv ; gmake includes ; cd ../..
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/include/util/Transcoders/Iconv
cp -fp IconvTransService.hpp /u/karri/lang/xml/xerces-c-src_1_1_0/include/util/Transcoders/Iconv
cd MsgLoaders/InMemory ; gmake includes ; cd ../..
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/include/util/MsgLoaders/InMemory
cp -fp CppErrMsgs_EN_US.hpp InMemMsgLoader.hpp /u/karri/lang/xml/xerces-c-src_1_1_0/include/util/MsgLoaders/InMemory
cd Platforms ; gmake includes ; cd ..
cd Compilers ; gmake includes ; cd ..
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/include/util/Platforms/Solaris
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/include/util/Compilers
cp -fp Solaris/SolarisDefs.hpp /u/karri/lang/xml/xerces-c-src_1_1_0/include/util/Platforms/Solaris
cp -fp BorlandCDefs.hpp CSetDefs.hpp CodeWarriorDefs.hpp GCCDefs.hpp HPCCDefs.hpp IBMVAOS2Defs.hpp IBMVAW32Defs.hpp MVSCPPDefs.hpp SCOCCDefs.hpp SunCCDefs.hpp SunKaiDefs.hpp OS400SetDefs.hpp MIPSproDefs.hpp TandemCCDefs.hpp VCPPDefs.hpp /u/karri/lang/xml/xerces-c-src_1_1_0/include/util/Compilers
cd Transcoders/Iconv ; gmake includes ; cd ../..
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/include/util/Transcoders/Iconv
cp -fp IconvTransService.hpp /u/karri/lang/xml/xerces-c-src_1_1_0/include/util/Transcoders/Iconv
cd MsgLoaders/InMemory ; gmake includes ; cd ../..
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/include/util/MsgLoaders/InMemory
cp -fp CppErrMsgs_EN_US.hpp InMemMsgLoader.hpp /u/karri/lang/xml/xerces-c-src_1_1_0/include/util/MsgLoaders/InMemory
cd Compilers ; gmake includes ; cd ..
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/include/util/Compilers
cp -fp BorlandCDefs.hpp CSetDefs.hpp CodeWarriorDefs.hpp GCCDefs.hpp HPCCDefs.hpp IBMVAOS2Defs.hpp IBMVAW32Defs.hpp MVSCPPDefs.hpp SCOCCDefs.hpp SunCCDefs.hpp SunKaiDefs.hpp OS400SetDefs.hpp MIPSproDefs.hpp TandemCCDefs.hpp VCPPDefs.hpp /u/karri/lang/xml/xerces-c-src_1_1_0/include/util/Compilers
cd sax ; gmake includes ; cd ..
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/include/sax
cp -fp AttributeList.hpp DTDHandler.hpp DocumentHandler.hpp EntityResolver.hpp ErrorHandler.hpp HandlerBase.hpp InputSource.hpp Locator.hpp Parser.hpp SAXException.hpp SAXParseException.hpp  /u/karri/lang/xml/xerces-c-src_1_1_0/include/sax
cd internal ; gmake includes ; cd ..
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/include/internal
cp -fp CharTypeTables.hpp ElemStack.hpp EndOfEntityException.hpp ReaderMgr.hpp VecAttrListImpl.hpp XMLReader.hpp XMLScanner.hpp  /u/karri/lang/xml/xerces-c-src_1_1_0/include/internal
cd framework ; gmake includes ; cd ..
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/include/framework
cp -fp LocalFileInputSource.hpp MemBufInputSource.hpp StdInInputSource.hpp URLInputSource.hpp XMLAttDef.hpp XMLAttDefList.hpp XMLAttr.hpp XMLBuffer.hpp XMLBufferMgr.hpp XMLContentModel.hpp XMLDocumentHandler.hpp XMLElementDecl.hpp XMLEntityDecl.hpp XMLEntityHandler.hpp XMLErrorCodes.hpp XMLErrorReporter.hpp XMLNotationDecl.hpp XMLPScanToken.hpp XMLRecognizer.hpp XMLRefInfo.hpp XMLValidator.hpp XMLValidityCodes.hpp  /u/karri/lang/xml/xerces-c-src_1_1_0/include/framework
cd parsers ; gmake includes ; cd ..
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/include/parsers
cp -fp DOMParser.hpp SAXParser.hpp  /u/karri/lang/xml/xerces-c-src_1_1_0/include/parsers
cd validators/DTD ; gmake includes ; cd ../..
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/include/validators/DTD
cp -fp CMBinaryOp.hpp CMLeaf.hpp CMNode.hpp CMStateSet.hpp CMUnaryOp.hpp ContentSpecNode.hpp DFAContentModel.hpp DTDAttDef.hpp DTDAttDefList.hpp DTDElementDecl.hpp DTDEntityDecl.hpp DTDValidator.hpp DocTypeHandler.hpp MixedContentModel.hpp SimpleContentModel.hpp  /u/karri/lang/xml/xerces-c-src_1_1_0/include/validators/DTD
cd dom ; gmake includes ; cd ..
mkdir -p /u/karri/lang/xml/xerces-c-src_1_1_0/include/dom
cp -fp DOM.hpp DOMString.hpp DOM_Attr.hpp DOM_CDATASection.hpp DOM_CharacterData.hpp DOM_Comment.hpp DOM_DOMException.hpp DOM_DOMImplementation.hpp DOM_Document.hpp DOM_DocumentFragment.hpp DOM_DocumentType.hpp DOM_Element.hpp DOM_Entity.hpp DOM_EntityReference.hpp DOM_NamedNodeMap.hpp DOM_Node.hpp DOM_NodeFilter.hpp DOM_NodeIterator.hpp DOM_NodeList.hpp DOM_Notation.hpp DOM_ProcessingInstruction.hpp DOM_Text.hpp DOM_TreeWalker.hpp  /u/karri/lang/xml/xerces-c-src_1_1_0/include/dom

Re: Problem building 1.1.0 on Solaris

Posted by Alexandre Blum <ab...@4js.com>.
Maybe is not a good answer,
but i've build Xerces with the gcc 2.95.2 and there was no problem.

Alexandre


Re: Problem building 1.1.0 on Solaris

Posted by Arundhati Bhowmick <ar...@hyperreal.org>.
Looks like your system library paths are different from the ones specified in the
builds or you've set the LD_LIBRARY_PATH preperly. If the case is former then
update the Makefile.incl to link to the right system library directories (i.e.,
update the -L<paths> under the section SOLARIS).
Undefined symbol errors are due to errors in source building. The source library
needs to be build cleanly before you go to samples.

Arundhati

Rajeev Karri wrote:

> I downloaded todays night build.
> i get a bunch of erros, seg faults and includes not found - but
> libxerces-c1_2.so finally appears in the lib directory . yippee!!
> the library seems ok too -
>
> sun4k7  167> ldd libxerces-c1_2.so
>         libm.so.1 =>     /opt/SUNWspro/lib/libm.so.1
>         libpthread.so.1 =>       /usr/lib/libpthread.so.1
>         libc.so.1 =>     /usr/lib/libc.so.1
>         libdl.so.1 =>    /usr/lib/libdl.so.1
> sun4k7  168> file libxerces-c1_2.so
> libxerces-c1_2.so:      ELF 32-bit MSB dynamic lib SPARC Version 1, dynamically
> linked, not stripped
>
> But, unfortunatley, when i build in the samples directory, i get a bunch of
> undefined symbols from the link line !!
> Rajeev
>
> > -----Original Message-----
> > From: Arundhati Bhowmick [mailto:aruna1@hyperreal.org]
> > Sent: Thursday, June 08, 2000 12:16 PM
> > To: xerces-c-dev@xml.apache.org
> > Subject: Re: Problem building 1.1.0 on Solaris
> >
> >
> > Can you try the latest nightly build and see if you get the
> > problem? There'd been lot of changes on solaris front since
> > the version you built.
> > Arundhati
> >
> > Rajeev Karri wrote:
> >
> > > Is there support for  CC 4.2 ? the compiler crashes with Sig 10 !!
> > > Do i need some xtra compiler flags ?
> > > Trying to build Xerces-C on Solaris
> > >
> > > 1. uname -a
> > > SunOS sun4k7 5.5.1 Generic_103640-28 sun4u sparc
> > SUNW,Ultra-Enterprise
> > >
> > > 2. CC -V
> > >  CC: WorkShop Compilers 4.2 18 Sep 1997 C++ 4.2 patch 104631-04
> > >
> > > 3. runConfigure -p solaris -c cc -x CC -m inmem -t native
> > >
> > > 4. make
> > >
> > > I am pasting the build output below :
> > >
> >
> > > <output omitted/>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> > For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


Re: Problem building 1.1.0 on Solaris

Posted by Reg Anderson <re...@epic-systems.com>.
I had the same problem. I installed GNU gcc 2.95.2, GNU Make and Autoconf
and things began to work for me.

----- Original Message -----
From: Rajeev Karri <ka...@i2.com>
To: <xe...@xml.apache.org>
Sent: Thursday, June 08, 2000 12:41 PM
Subject: RE: Problem building 1.1.0 on Solaris


> I downloaded todays night build.
> i get a bunch of erros, seg faults and includes not found - but
> libxerces-c1_2.so finally appears in the lib directory . yippee!!
> the library seems ok too -
>
> sun4k7  167> ldd libxerces-c1_2.so
> libm.so.1 => /opt/SUNWspro/lib/libm.so.1
> libpthread.so.1 => /usr/lib/libpthread.so.1
> libc.so.1 => /usr/lib/libc.so.1
> libdl.so.1 => /usr/lib/libdl.so.1
> sun4k7  168> file libxerces-c1_2.so
> libxerces-c1_2.so: ELF 32-bit MSB dynamic lib SPARC Version 1, dynamically
> linked, not stripped
>
> But, unfortunatley, when i build in the samples directory, i get a bunch
of
> undefined symbols from the link line !!
> Rajeev
>
>
> > -----Original Message-----
> > From: Arundhati Bhowmick [mailto:aruna1@hyperreal.org]
> > Sent: Thursday, June 08, 2000 12:16 PM
> > To: xerces-c-dev@xml.apache.org
> > Subject: Re: Problem building 1.1.0 on Solaris
> >
> >
> > Can you try the latest nightly build and see if you get the
> > problem? There'd been lot of changes on solaris front since
> > the version you built.
> > Arundhati
> >
> > Rajeev Karri wrote:
> >
> > > Is there support for  CC 4.2 ? the compiler crashes with Sig 10 !!
> > > Do i need some xtra compiler flags ?
> > > Trying to build Xerces-C on Solaris
> > >
> > > 1. uname -a
> > > SunOS sun4k7 5.5.1 Generic_103640-28 sun4u sparc
> > SUNW,Ultra-Enterprise
> > >
> > > 2. CC -V
> > >  CC: WorkShop Compilers 4.2 18 Sep 1997 C++ 4.2 patch 104631-04
> > >
> > > 3. runConfigure -p solaris -c cc -x CC -m inmem -t native
> > >
> > > 4. make
> > >
> > > I am pasting the build output below :
> > >
> >
> > > <output omitted/>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> > For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>
>


RE: Problem building 1.1.0 on Solaris

Posted by Rajeev Karri <ka...@i2.com>.
I introduced a -znodefs flag on the link line and the samples build ok.
But the outputs seem to have a problem.
 SAXCount ../samples/data/personal.xml
ld.so.1: SAXCount: fatal: relocation error: file SAXCount: symbol
__0oMXMLExceptiondtv: referenced symbol not found

> -----Original Message-----
> From: Rajeev Karri [mailto:karri@i2.com]
> Sent: Thursday, June 08, 2000 2:42 PM
> To: xerces-c-dev@xml.apache.org
> Subject: RE: Problem building 1.1.0 on Solaris
>
>
> I downloaded todays night build.
> i get a bunch of erros, seg faults and includes not found - but
> libxerces-c1_2.so finally appears in the lib directory . yippee!!
> the library seems ok too -
>
> sun4k7  167> ldd libxerces-c1_2.so
> 	libm.so.1 =>	 /opt/SUNWspro/lib/libm.so.1
> 	libpthread.so.1 =>	 /usr/lib/libpthread.so.1
> 	libc.so.1 =>	 /usr/lib/libc.so.1
> 	libdl.so.1 =>	 /usr/lib/libdl.so.1
> sun4k7  168> file libxerces-c1_2.so
> libxerces-c1_2.so:	ELF 32-bit MSB dynamic lib SPARC
> Version 1, dynamically
> linked, not stripped
>
> But, unfortunatley, when i build in the samples directory, i
> get a bunch of
> undefined symbols from the link line !!
> Rajeev
>
>
> > -----Original Message-----
> > From: Arundhati Bhowmick [mailto:aruna1@hyperreal.org]
> > Sent: Thursday, June 08, 2000 12:16 PM
> > To: xerces-c-dev@xml.apache.org
> > Subject: Re: Problem building 1.1.0 on Solaris
> >
> >
> > Can you try the latest nightly build and see if you get the
> > problem? There'd been lot of changes on solaris front since
> > the version you built.
> > Arundhati
> >
> > Rajeev Karri wrote:
> >
> > > Is there support for  CC 4.2 ? the compiler crashes with Sig 10 !!
> > > Do i need some xtra compiler flags ?
> > > Trying to build Xerces-C on Solaris
> > >
> > > 1. uname -a
> > > SunOS sun4k7 5.5.1 Generic_103640-28 sun4u sparc
> > SUNW,Ultra-Enterprise
> > >
> > > 2. CC -V
> > >  CC: WorkShop Compilers 4.2 18 Sep 1997 C++ 4.2 patch 104631-04
> > >
> > > 3. runConfigure -p solaris -c cc -x CC -m inmem -t native
> > >
> > > 4. make
> > >
> > > I am pasting the build output below :
> > >
> >
> > > <output omitted/>
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> > For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


RE: Problem building 1.1.0 on Solaris

Posted by Rajeev Karri <ka...@i2.com>.
I downloaded todays night build.
i get a bunch of erros, seg faults and includes not found - but
libxerces-c1_2.so finally appears in the lib directory . yippee!!
the library seems ok too -

sun4k7  167> ldd libxerces-c1_2.so
	libm.so.1 =>	 /opt/SUNWspro/lib/libm.so.1
	libpthread.so.1 =>	 /usr/lib/libpthread.so.1
	libc.so.1 =>	 /usr/lib/libc.so.1
	libdl.so.1 =>	 /usr/lib/libdl.so.1
sun4k7  168> file libxerces-c1_2.so
libxerces-c1_2.so:	ELF 32-bit MSB dynamic lib SPARC Version 1, dynamically
linked, not stripped

But, unfortunatley, when i build in the samples directory, i get a bunch of
undefined symbols from the link line !!
Rajeev


> -----Original Message-----
> From: Arundhati Bhowmick [mailto:aruna1@hyperreal.org]
> Sent: Thursday, June 08, 2000 12:16 PM
> To: xerces-c-dev@xml.apache.org
> Subject: Re: Problem building 1.1.0 on Solaris
>
>
> Can you try the latest nightly build and see if you get the
> problem? There'd been lot of changes on solaris front since
> the version you built.
> Arundhati
>
> Rajeev Karri wrote:
>
> > Is there support for  CC 4.2 ? the compiler crashes with Sig 10 !!
> > Do i need some xtra compiler flags ?
> > Trying to build Xerces-C on Solaris
> >
> > 1. uname -a
> > SunOS sun4k7 5.5.1 Generic_103640-28 sun4u sparc
> SUNW,Ultra-Enterprise
> >
> > 2. CC -V
> >  CC: WorkShop Compilers 4.2 18 Sep 1997 C++ 4.2 patch 104631-04
> >
> > 3. runConfigure -p solaris -c cc -x CC -m inmem -t native
> >
> > 4. make
> >
> > I am pasting the build output below :
> >
>
> > <output omitted/>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


Re: Problem building 1.1.0 on Solaris

Posted by Arundhati Bhowmick <ar...@hyperreal.org>.
Can you try the latest nightly build and see if you get the problem? There'd been lot of changes on solaris front since the version you built.
Arundhati

Rajeev Karri wrote:

> Is there support for  CC 4.2 ? the compiler crashes with Sig 10 !!
> Do i need some xtra compiler flags ?
> Trying to build Xerces-C on Solaris
>
> 1. uname -a
> SunOS sun4k7 5.5.1 Generic_103640-28 sun4u sparc SUNW,Ultra-Enterprise
>
> 2. CC -V
>  CC: WorkShop Compilers 4.2 18 Sep 1997 C++ 4.2 patch 104631-04
>
> 3. runConfigure -p solaris -c cc -x CC -m inmem -t native
>
> 4. make
>
> I am pasting the build output below :
>

> <output omitted/>