Hi,
I try to build xerces-c_2_6_0 on solaris using gcc 2.95.2 using the
command as follows:
runConfigure -psolaris -cgcc -xg++
gmake

but it gives the error message as follows,

Building /home/grad/niyuan/xerces-c-src_2_6_0/lib/.so.26.0
gmake -C /home/grad/niyuan/xerces-c-src_2_6_0/obj -k 
gmake[1]: Entering directory `/postgrad/grad/niyuan/xerces-c-src_2_6_0/obj'
Building /home/grad/niyuan/xerces-c-src_2_6_0/lib/libxerces-c.so.26.0
g++ -DSOLARIS -shared  -h libxerces-c.so.26 -o
/home/grad/niyuan/xerces-c-src_2_6_0/lib/libxerces-c.so.26.0
SOLARIS/ASCIIRangeFactory.o SOLARIS/AbstractDOMParser.o
SOLARIS/AbstractNumericFacetValidator.o
SOLARIS/AbstractNumericValidator.o SOLARIS/AbstractStringValidator.o
SOLARIS/AllContentModel.o SOLARIS/AnySimpleTypeDatatypeValidator.o
SOLARIS/AnyURIDatatypeValidator.o SOLARIS/BMPattern.o SOLARIS/Base64.o
SOLARIS/Base64BinaryDatatypeValidator.o SOLARIS/BinFileInputStream.o
SOLARIS/BinFileOutputStream.o SOLARIS/BinInputStream.o
SOLARIS/BinMemInputStream.o SOLARIS/BinMemOutputStream.o
SOLARIS/BinOutputStream.o SOLARIS/BitSet.o SOLARIS/BlockRangeFactory.o
SOLARIS/BooleanDatatypeValidator.o SOLARIS/CMAny.o
SOLARIS/CMBinaryOp.o SOLARIS/CMUnaryOp.o SOLARIS/CharToken.o
SOLARIS/ClosureToken.o SOLARIS/ComplexTypeInfo.o SOLARIS/ConcatToken.o
SOLARIS/ConditionToken.o SOLARIS/ContentLeafNameTypeVector.o
SOLARIS/ContentSpecNode.o SOLARIS/DFAContentModel.o
SOLARIS/DGXMLScanner.o SOLARIS/DOMAttrImpl.o SOLARIS/DOMAttrMapImpl.o
SOLARIS/DOMAttrNSImpl.o SOLARIS/DOMBuilderImpl.o
SOLARIS/DOMCDATASectionImpl.o SOLARIS/DOMCharacterDataImpl.o
SOLARIS/DOMChildNode.o SOLARIS/DOMCommentImpl.o
SOLARIS/DOMConfigurationImpl.o SOLARIS/DOMDeepNodeListImpl.o
SOLARIS/DOMDocumentFragmentImpl.o SOLARIS/DOMDocumentImpl.o
SOLARIS/DOMDocumentTypeImpl.o SOLARIS/DOMElementImpl.o
SOLARIS/DOMElementNSImpl.o SOLARIS/DOMEntityImpl.o
SOLARIS/DOMEntityReferenceImpl.o SOLARIS/DOMErrorImpl.o
SOLARIS/DOMException.o SOLARIS/DOMImplementationImpl.o
SOLARIS/DOMImplementationRegistry.o SOLARIS/DOMLocatorImpl.o
SOLARIS/DOMNamedNodeMapImpl.o SOLARIS/DOMNodeIDMap.o
SOLARIS/DOMNodeImpl.o SOLARIS/DOMNodeIteratorImpl.o
SOLARIS/DOMNodeListImpl.o SOLARIS/DOMNodeVector.o
SOLARIS/DOMNormalizer.o SOLARIS/DOMNotationImpl.o
SOLARIS/DOMParentNode.o SOLARIS/DOMProcessingInstructionImpl.o
SOLARIS/DOMRangeException.o SOLARIS/DOMRangeImpl.o
SOLARIS/DOMStringPool.o SOLARIS/DOMTextImpl.o
SOLARIS/DOMTreeWalkerImpl.o SOLARIS/DOMTypeInfoImpl.o
SOLARIS/DOMWriterImpl.o SOLARIS/DOMXPathException.o
SOLARIS/DTDAttDef.o SOLARIS/DTDAttDefList.o SOLARIS/DTDElementDecl.o
SOLARIS/DTDEntityDecl.o SOLARIS/DTDGrammar.o SOLARIS/DTDScanner.o
SOLARIS/DTDValidator.o SOLARIS/DatatypeValidator.o
SOLARIS/DatatypeValidatorFactory.o SOLARIS/DateDatatypeValidator.o
SOLARIS/DateTimeDatatypeValidator.o SOLARIS/DateTimeValidator.o
SOLARIS/DayDatatypeValidator.o SOLARIS/DecimalDatatypeValidator.o
SOLARIS/DefaultPanicHandler.o SOLARIS/DoubleDatatypeValidator.o
SOLARIS/Dummy.o SOLARIS/DurationDatatypeValidator.o
SOLARIS/ENTITYDatatypeValidator.o SOLARIS/ElemStack.o
SOLARIS/EncodingValidator.o SOLARIS/FieldActivator.o
SOLARIS/FieldValueMap.o SOLARIS/FloatDatatypeValidator.o
SOLARIS/GCCDefs.o SOLARIS/GeneralAttributeCheck.o SOLARIS/Grammar.o
SOLARIS/GrammarResolver.o SOLARIS/HashPtr.o SOLARIS/HashXMLCh.o
SOLARIS/HeaderDummy.o SOLARIS/HexBin.o
SOLARIS/HexBinaryDatatypeValidator.o SOLARIS/IC_Field.o
SOLARIS/IC_Key.o SOLARIS/IC_KeyRef.o SOLARIS/IC_Selector.o
SOLARIS/IC_Unique.o SOLARIS/IDDatatypeValidator.o
SOLARIS/IDREFDatatypeValidator.o SOLARIS/IGXMLScanner.o
SOLARIS/IGXMLScanner2.o SOLARIS/IconvTransService.o
SOLARIS/IdentityConstraint.o SOLARIS/IdentityConstraintHandler.o
SOLARIS/InMemMsgLoader.o SOLARIS/InputSource.o SOLARIS/KVStringPair.o
SOLARIS/ListDatatypeValidator.o SOLARIS/LocalFileFormatTarget.o
SOLARIS/LocalFileInputSource.o SOLARIS/Match.o
SOLARIS/MemBufFormatTarget.o SOLARIS/MemBufInputSource.o
SOLARIS/MemoryManagerArrayImpl.o SOLARIS/MemoryManagerImpl.o
SOLARIS/MixedContentModel.o SOLARIS/ModifierToken.o
SOLARIS/MonthDatatypeValidator.o SOLARIS/MonthDayDatatypeValidator.o
SOLARIS/Mutexes.o SOLARIS/NCNameDatatypeValidator.o
SOLARIS/NOTATIONDatatypeValidator.o SOLARIS/NameDatatypeValidator.o
SOLARIS/NamespaceScope.o SOLARIS/Op.o SOLARIS/OpFactory.o
SOLARIS/PSVIAttribute.o SOLARIS/PSVIAttributeList.o
SOLARIS/PSVIElement.o SOLARIS/PSVIItem.o SOLARIS/PanicHandler.o
SOLARIS/ParenToken.o SOLARIS/ParserForXMLSchema.o
SOLARIS/PlatformUtils.o SOLARIS/QName.o
SOLARIS/QNameDatatypeValidator.o SOLARIS/RangeFactory.o
SOLARIS/RangeToken.o SOLARIS/RangeTokenMap.o SOLARIS/ReaderMgr.o
SOLARIS/RegularExpression.o SOLARIS/RegxParser.o SOLARIS/RegxUtil.o
SOLARIS/SAX2XMLReaderImpl.o SOLARIS/SAXException.o
SOLARIS/SAXParseException.o SOLARIS/SAXParser.o SOLARIS/SGXMLScanner.o
SOLARIS/SchemaAttDef.o SOLARIS/SchemaAttDefList.o
SOLARIS/SchemaElementDecl.o SOLARIS/SchemaGrammar.o
SOLARIS/SchemaInfo.o SOLARIS/SchemaSymbols.o SOLARIS/SchemaValidator.o
SOLARIS/SimpleContentModel.o SOLARIS/SocketNetAccessor.o
SOLARIS/SolarisPlatformUtils.o SOLARIS/StdInInputSource.o
SOLARIS/StdOutFormatTarget.o SOLARIS/StringDatatypeValidator.o
SOLARIS/StringPool.o SOLARIS/StringToken.o
SOLARIS/SubstitutionGroupComparator.o SOLARIS/SynchronizedStringPool.o
SOLARIS/TimeDatatypeValidator.o SOLARIS/Token.o SOLARIS/TokenFactory.o
SOLARIS/TransService.o SOLARIS/TraverseSchema.o
SOLARIS/URLInputSource.o SOLARIS/UnicodeRangeFactory.o
SOLARIS/UnionDatatypeValidator.o SOLARIS/UnionToken.o
SOLARIS/UnixHTTPURLInputStream.o SOLARIS/ValidationContextImpl.o
SOLARIS/ValueStore.o SOLARIS/ValueStoreCache.o
SOLARIS/VecAttrListImpl.o SOLARIS/VecAttributesImpl.o
SOLARIS/WFXMLScanner.o SOLARIS/Wrapper4DOMInputSource.o
SOLARIS/Wrapper4InputSource.o SOLARIS/XML256TableTranscoder.o
SOLARIS/XML88591Transcoder.o SOLARIS/XMLASCIITranscoder.o
SOLARIS/XMLAbstractDoubleFloat.o SOLARIS/XMLAttDef.o
SOLARIS/XMLAttDefList.o SOLARIS/XMLAttr.o SOLARIS/XMLBigDecimal.o
SOLARIS/XMLBigInteger.o SOLARIS/XMLBuffer.o SOLARIS/XMLBufferMgr.o
SOLARIS/XMLCanRepGroup.o SOLARIS/XMLChTranscoder.o SOLARIS/XMLChar.o
SOLARIS/XMLContentModel.o SOLARIS/XMLDTDDescription.o
SOLARIS/XMLDTDDescriptionImpl.o SOLARIS/XMLDateTime.o
SOLARIS/XMLDouble.o SOLARIS/XMLEBCDICTranscoder.o
SOLARIS/XMLElementDecl.o SOLARIS/XMLEntityDecl.o
SOLARIS/XMLException.o SOLARIS/XMLFloat.o SOLARIS/XMLFormatter.o
SOLARIS/XMLGrammarDescription.o SOLARIS/XMLGrammarPoolImpl.o
SOLARIS/XMLIBM1047Transcoder.o SOLARIS/XMLIBM1140Transcoder.o
SOLARIS/XMLMsgLoader.o SOLARIS/XMLNotationDecl.o SOLARIS/XMLNumber.o
SOLARIS/XMLRangeFactory.o SOLARIS/XMLReader.o SOLARIS/XMLRecognizer.o
SOLARIS/XMLRefInfo.o SOLARIS/XMLRegisterCleanup.o SOLARIS/XMLScanner.o
SOLARIS/XMLScannerResolver.o SOLARIS/XMLSchemaDescription.o
SOLARIS/XMLSchemaDescriptionImpl.o SOLARIS/XMLString.o
SOLARIS/XMLStringTokenizer.o SOLARIS/XMLUCSTranscoder.o
SOLARIS/XMLURL.o SOLARIS/XMLUTF16Transcoder.o
SOLARIS/XMLUTF8Transcoder.o SOLARIS/XMLUni.o SOLARIS/XMLUniCharacter.o
SOLARIS/XMLUri.o SOLARIS/XMLValidator.o SOLARIS/XMLWin1252Transcoder.o
SOLARIS/XMemory.o SOLARIS/XObjectComparator.o SOLARIS/XPathMatcher.o
SOLARIS/XPathMatcherStack.o SOLARIS/XPathSymbols.o
SOLARIS/XProtoType.o SOLARIS/XSAXMLScanner.o SOLARIS/XSAnnotation.o
SOLARIS/XSAttributeDeclaration.o SOLARIS/XSAttributeGroupDefinition.o
SOLARIS/XSAttributeUse.o SOLARIS/XSComplexTypeDefinition.o
SOLARIS/XSDDOMParser.o SOLARIS/XSDElementNSImpl.o
SOLARIS/XSDErrorReporter.o SOLARIS/XSDLocator.o
SOLARIS/XSElementDeclaration.o SOLARIS/XSFacet.o
SOLARIS/XSIDCDefinition.o SOLARIS/XSModel.o SOLARIS/XSModelGroup.o
SOLARIS/XSModelGroupDefinition.o SOLARIS/XSMultiValueFacet.o
SOLARIS/XSNamespaceItem.o SOLARIS/XSNotationDeclaration.o
SOLARIS/XSObject.o SOLARIS/XSObjectFactory.o SOLARIS/XSParticle.o
SOLARIS/XSSimpleTypeDefinition.o SOLARIS/XSTypeDefinition.o
SOLARIS/XSValue.o SOLARIS/XSWildcard.o SOLARIS/XSerializeEngine.o
SOLARIS/XTemplateComparator.o SOLARIS/XTemplateSerializer.o
SOLARIS/XUtil.o SOLARIS/XercesAttGroupInfo.o SOLARIS/XercesDOMParser.o
SOLARIS/XercesElementWildcard.o SOLARIS/XercesGroupInfo.o
SOLARIS/XercesXPath.o SOLARIS/YearDatatypeValidator.o
SOLARIS/YearMonthDatatypeValidator.o SOLARIS/sax2Dummy.o    -lnsl
-lsocket -L/usr/lib -L/usr/local/lib -L/usr/ccs/lib -lm  -lgen
ld: fatal: symbol `set_terminate(void (*)(void))' is multiply-defined:
        (file /usr/local/lib/libstdc++.a(exceptioni.o) type=FUNC; file
/usr/local/.5.8/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/libgcc.a(exception.o)
type=FUNC);
ld: fatal: symbol `__default_unexpected(void)' is multiply-defined:
        (file /usr/local/lib/libstdc++.a(exceptioni.o) type=FUNC; file
/usr/local/.5.8/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/libgcc.a(exception.o)
type=FUNC);
ld: fatal: symbol `terminate(void)' is multiply-defined:
        (file /usr/local/lib/libstdc++.a(exceptioni.o) type=FUNC; file
/usr/local/.5.8/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/libgcc.a(exception.o)
type=FUNC);
ld: fatal: symbol `set_unexpected(void (*)(void))' is multiply-defined:
        (file /usr/local/lib/libstdc++.a(exceptioni.o) type=FUNC; file
/usr/local/.5.8/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/libgcc.a(exception.o)
type=FUNC);
ld: fatal: symbol `unexpected(void)' is multiply-defined:
        (file /usr/local/lib/libstdc++.a(exceptioni.o) type=FUNC; file
/usr/local/.5.8/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/libgcc.a(exception.o)
type=FUNC);
ld: fatal: File processing errors. No output written to
/home/grad/niyuan/xerces-c-src_2_6_0/lib/libxerces-c.so.26.0
collect2: ld returned 1 exit status
gmake[1]: *** [/home/grad/niyuan/xerces-c-src_2_6_0/lib/libxerces-c.so.26.0]
Error 1
Building /home/grad/niyuan/xerces-c-src_2_6_0/lib/libxerces-depdom.so.26.0
cp SOLARIS/depdom/AttrImpl.o SOLARIS/depdom/AttrMapImpl.o
SOLARIS/depdom/AttrNSImpl.o SOLARIS/depdom/CDATASectionImpl.o
SOLARIS/depdom/CharacterDataImpl.o SOLARIS/depdom/ChildNode.o
SOLARIS/depdom/CommentImpl.o SOLARIS/depdom/DOMParser.o
SOLARIS/depdom/DOMString.o SOLARIS/depdom/DOM_Attr.o
SOLARIS/depdom/DOM_CDATASection.o SOLARIS/depdom/DOM_CharacterData.o
SOLARIS/depdom/DOM_Comment.o SOLARIS/depdom/DOM_DOMException.o
SOLARIS/depdom/DOM_DOMImplementation.o SOLARIS/depdom/DOM_Document.o
SOLARIS/depdom/DOM_DocumentFragment.o
SOLARIS/depdom/DOM_DocumentType.o SOLARIS/depdom/DOM_Element.o
SOLARIS/depdom/DOM_Entity.o SOLARIS/depdom/DOM_EntityReference.o
SOLARIS/depdom/DOM_NamedNodeMap.o SOLARIS/depdom/DOM_Node.o
SOLARIS/depdom/DOM_NodeFilter.o SOLARIS/depdom/DOM_NodeIterator.o
SOLARIS/depdom/DOM_NodeList.o SOLARIS/depdom/DOM_Notation.o
SOLARIS/depdom/DOM_ProcessingInstruction.o SOLARIS/depdom/DOM_Range.o
SOLARIS/depdom/DOM_RangeException.o SOLARIS/depdom/DOM_Text.o
SOLARIS/depdom/DOM_TreeWalker.o SOLARIS/depdom/DOM_XMLDecl.o
SOLARIS/depdom/DStringPool.o SOLARIS/depdom/DeepNodeListImpl.o
SOLARIS/depdom/DocumentFragmentImpl.o SOLARIS/depdom/DocumentImpl.o
SOLARIS/depdom/DocumentTypeImpl.o SOLARIS/depdom/DomMemDebug.o
SOLARIS/depdom/ElementDefinitionImpl.o SOLARIS/depdom/ElementImpl.o
SOLARIS/depdom/ElementNSImpl.o SOLARIS/depdom/EntityImpl.o
SOLARIS/depdom/EntityReferenceImpl.o SOLARIS/depdom/NamedNodeMapImpl.o
SOLARIS/depdom/NodeIDMap.o SOLARIS/depdom/NodeImpl.o
SOLARIS/depdom/NodeIteratorImpl.o SOLARIS/depdom/NodeListImpl.o
SOLARIS/depdom/NodeVector.o SOLARIS/depdom/NotationImpl.o
SOLARIS/depdom/ParentNode.o SOLARIS/depdom/ProcessingInstructionImpl.o
SOLARIS/depdom/RangeImpl.o SOLARIS/depdom/RefCountedImpl.o
SOLARIS/depdom/TextImpl.o SOLARIS/depdom/TreeWalkerImpl.o
SOLARIS/depdom/XMLDeclImpl.o SOLARIS
g++ -DSOLARIS -shared  -h libxerces-depdom.so.26   -o
/home/grad/niyuan/xerces-c-src_2_6_0/lib/libxerces-depdom.so.26.0
SOLARIS/AttrImpl.o SOLARIS/AttrMapImpl.o SOLARIS/AttrNSImpl.o
SOLARIS/CDATASectionImpl.o SOLARIS/CharacterDataImpl.o
SOLARIS/ChildNode.o SOLARIS/CommentImpl.o SOLARIS/DOMParser.o
SOLARIS/DOMString.o SOLARIS/DOM_Attr.o SOLARIS/DOM_CDATASection.o
SOLARIS/DOM_CharacterData.o SOLARIS/DOM_Comment.o
SOLARIS/DOM_DOMException.o SOLARIS/DOM_DOMImplementation.o
SOLARIS/DOM_Document.o SOLARIS/DOM_DocumentFragment.o
SOLARIS/DOM_DocumentType.o SOLARIS/DOM_Element.o SOLARIS/DOM_Entity.o
SOLARIS/DOM_EntityReference.o SOLARIS/DOM_NamedNodeMap.o
SOLARIS/DOM_Node.o SOLARIS/DOM_NodeFilter.o SOLARIS/DOM_NodeIterator.o
SOLARIS/DOM_NodeList.o SOLARIS/DOM_Notation.o
SOLARIS/DOM_ProcessingInstruction.o SOLARIS/DOM_Range.o
SOLARIS/DOM_RangeException.o SOLARIS/DOM_Text.o
SOLARIS/DOM_TreeWalker.o SOLARIS/DOM_XMLDecl.o SOLARIS/DStringPool.o
SOLARIS/DeepNodeListImpl.o SOLARIS/DocumentFragmentImpl.o
SOLARIS/DocumentImpl.o SOLARIS/DocumentTypeImpl.o
SOLARIS/DomMemDebug.o SOLARIS/ElementDefinitionImpl.o
SOLARIS/ElementImpl.o SOLARIS/ElementNSImpl.o SOLARIS/EntityImpl.o
SOLARIS/EntityReferenceImpl.o SOLARIS/NamedNodeMapImpl.o
SOLARIS/NodeIDMap.o SOLARIS/NodeImpl.o SOLARIS/NodeIteratorImpl.o
SOLARIS/NodeListImpl.o SOLARIS/NodeVector.o SOLARIS/NotationImpl.o
SOLARIS/ParentNode.o SOLARIS/ProcessingInstructionImpl.o
SOLARIS/RangeImpl.o SOLARIS/RefCountedImpl.o SOLARIS/TextImpl.o
SOLARIS/TreeWalkerImpl.o SOLARIS/XMLDeclImpl.o      -lnsl -lsocket
-L/usr/lib -L/usr/local/lib -L/usr/ccs/lib -lm  -lgen
-L/home/grad/niyuan/xerces-c-src_2_6_0/lib -lxerces-c
ld: fatal: library -lxerces-c: not found
ld: fatal: File processing errors. No output written to
/home/grad/niyuan/xerces-c-src_2_6_0/lib/libxerces-depdom.so.26.0
collect2: ld returned 1 exit status
gmake[1]: *** 
[/home/grad/niyuan/xerces-c-src_2_6_0/lib/libxerces-depdom.so.26.0]
Error 1
gmake[1]: Target `ALL' not remade because of errors.
gmake[1]: Leaving directory `/postgrad/grad/niyuan/xerces-c-src_2_6_0/obj'
gmake: *** [/home/grad/niyuan/xerces-c-src_2_6_0/lib/.so.26.0] Error 2

please tell me what is the problem in my building, thank you very much!
-- 
Regards!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to