Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 19 May 2004 16:27:05 +0200 From: "Gerrit P. Haase" Reply-To: "Gerrit P. Haase" Organization: Esse keine toten Tiere Message-ID: <1601303347194.20040519162705@familiehaase.de> To: cygwin AT cygwin DOT com Subject: libtool dll linking problem MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-IsSubscribed: yes Hallo cygwin, Libtool tries to link: sh ./libtool --mode=link g++ -avoid-version -rpath /usr/lib -no-undefined -o libdbxml-1.2.la ANTLRUtil.lo ASTFactory.lo ASTNULLType.lo ASTRefCount.lo BaseAST.lo BitSet.lo CharBuffer.lo CharScanner.lo CommonAST.lo CommonASTWithHiddenTokens.lo CommonHiddenStreamToken.lo CommonToken.lo InputBuffer.lo LLkParser.lo MismatchedCharException.lo MismatchedTokenException.lo NoViableAltException.lo NoViableAltForCharException.lo Parser.lo RecognitionException.lo String.lo Token.lo TokenBuffer.lo TokenStreamBasicFilter.lo TokenStreamHiddenTokenFilter.lo TokenStreamSelector.lo TreeParser.lo db_rdbt.lo Buffer.lo Container.lo Cursor.lo Database.lo Document.lo HighResTimer.lo ID.lo IDS.lo IndexSpecification.lo Indexer.lo Key.lo KeyStatistics.lo Log.lo Name.lo QueryContext.lo QueryExpression.lo QueryPlan.lo ReferenceCounted.lo Results.lo Statistics.lo Syntax.lo SyntaxManager.lo TransactedContainer.lo UTF8.lo UpdateContext.lo Value.lo VariableBindings.lo XmlQueryExpression.lo XPathLexer.lo XPathParser.lo XPathProjectionTreeParser.lo XPathSelectionTreeParser.lo XmlContainer.lo XmlDocument.lo XmlException.lo XmlIndexSpecification.lo XmlNamespace.lo XmlQueryContext.lo XmlResults.lo XmlUpdateContext.lo XmlValue.lo XmlModify.lo Modify.lo /usr/lib/libdb_cxx-4.2.la /usr/lib/libpathan.la -lxerces-c g++ -shared /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/crtbegin.o .libs/ANTLRUtil.o .libs/ASTFactory.o .libs/ASTNULLType.o .libs/ASTRefCount.o .libs/BaseAST.o .libs/BitSet.o .libs/CharBuffer.o .libs/CharScanner.o .libs/CommonAST.o .libs/CommonASTWithHiddenTokens.o .libs/CommonHiddenStreamToken.o .libs/CommonToken.o .libs/InputBuffer.o .libs/LLkParser.o .libs/MismatchedCharException.o .libs/MismatchedTokenException.o .libs/NoViableAltException.o .libs/NoViableAltForCharException.o .libs/Parser.o .libs/RecognitionException.o .libs/String.o .libs/Token.o .libs/TokenBuffer.o .libs/TokenStreamBasicFilter.o .libs/TokenStreamHiddenTokenFilter.o .libs/TokenStreamSelector.o .libs/TreeParser.o .libs/db_rdbt.o .libs/Buffer.o .libs/Container.o .libs/Cursor.o .libs/Database.o .libs/Document.o .libs/HighResTimer.o .libs/ID.o .libs/IDS.o .libs/IndexSpecification.o .libs/Indexer.o .libs/Key.o .libs/KeyStatistics.o .libs/Log.o .libs/Name.o .libs/QueryContext.o .libs/QueryExpression.o .libs/QueryPlan.o .libs/ReferenceCounted.o .libs/Results.o .libs/Statistics.o .libs/Syntax.o .libs/SyntaxManager.o .libs/TransactedContainer.o .libs/UTF8.o .libs/UpdateContext.o .libs/Value.o .libs/VariableBindings.o .libs/XmlQueryExpression.o .libs/XPathLexer.o .libs/XPathParser.o .libs/XPathProjectionTreeParser.o .libs/XPathSelectionTreeParser.o .libs/XmlContainer.o .libs/XmlDocument.o .libs/XmlException.o .libs/XmlIndexSpecification.o .libs/XmlNamespace.o .libs/XmlQueryContext.o .libs/XmlResults.o .libs/XmlUpdateContext.o .libs/XmlValue.o .libs/XmlModify.o .libs/Modify.o /usr/lib/libdb_cxx-4.2.dll.a /usr/lib/libpathan.dll.a -lxerces-c -L. -L/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1 -L/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../.. -lstdc++ -lgcc -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/crtend.o -o .libs/libdbxml-1.2.dll.a /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/crtbegin.o(.text+0x0):crtstuff.c: multiple definition of `___do_sjlj_init' /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/crtbegin.o(.text+0x0):crtstuff.c: first defined here Info: resolving xercesc_2_4::XMLUni::fgXercescDefaultLocale by linking to __imp___ZN11xercesc_2_46XMLUni22fgXercescDefaultLocaleE (auto-import) Info: resolving xercesc_2_4::XMLPlatformUtils::fgMemoryManager by linking to __imp___ZN11xercesc_2_416XMLPlatformUtils15fgMemoryManagerE (auto-import) Info: resolving xercesc_2_4::XMLPlatformUtils::fgTransService by linking to __imp___ZN11xercesc_2_416XMLPlatformUtils14fgTransServiceE (auto-import) Info: resolving xercesc_2_4::XMLUni::fgWFXMLScanner by linking to __imp___ZN11xercesc_2_46XMLUni14fgWFXMLScannerE (auto-import) Info: resolving xercesc_2_4::XMLUni::fgXercesScannerName by linking to __imp___ZN11xercesc_2_46XMLUni19fgXercesScannerNameE (auto-import) Info: resolving xercesc_2_4::XMLUni::fgSAX2CoreValidation by linking to __imp___ZN11xercesc_2_46XMLUni20fgSAX2CoreValidationE (auto-import) Info: resolving xercesc_2_4::XMLUni::fgSAX2CoreNameSpaces by linking to __imp___ZN11xercesc_2_46XMLUni20fgSAX2CoreNameSpacesE (auto-import) Info: resolving xercesc_2_4::XMLUni::fgXercesLoadExternalDTD by linking to __imp___ZN11xercesc_2_46XMLUni23fgXercesLoadExternalDTDE (auto-import) Info: resolving xercesc_2_4::XMLUni::fgXercesSchema by linking to __imp___ZN11xercesc_2_46XMLUni14fgXercesSchemaE (auto-import) collect2: ld returned 1 exit status make: *** [libdbxml-1.2.la] Error 1 Why this: -o .libs/libdbxml-1.2.dll.a ? What the heck is libtool doing here? Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/