From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11202 invoked by alias); 10 Feb 2004 15:35:22 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 11195 invoked from network); 10 Feb 2004 15:35:22 -0000 Received: from unknown (HELO inside.fusionone.com) (208.184.227.194) by sources.redhat.com with SMTP; 10 Feb 2004 15:35:22 -0000 Received: from alekseid ([194.106.126.11]) by inside.fusionone.com (inside.fusionone.com [208.184.227.194]) (MDaemon.PRO.v6.8.4.R) with ESMTP id 51-md50000003679.tmp for ; Tue, 10 Feb 2004 07:38:42 -0800 Message-ID: <03a401c3efeb$7aca57e0$c00a0a0a@corp.fusionone.com> From: "Aleksei Andevis" To: Subject: multiple definition of `typeinfo for std::exception' Date: Tue, 10 Feb 2004 15:35:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Spam-Processed: inside.fusionone.com, Tue, 10 Feb 2004 07:38:42 -0800 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 194.106.126.11 X-Return-Path: aleksei@andevis.ee X-MDaemon-Deliver-To: gcc-help@gcc.gnu.org X-SW-Source: 2004-02/txt/msg00099.txt.bz2 Hell All again! In my project I user STL_PORT 4.5.3 compiled under Mingw32 3.3.1 , and mostly parts linked fine but in one my dll I user follows construction class _SHARED_BASE_EXPORT MyError : public std::exception and when I linked this DLL with stlport library tohether linker produced follows: ---------------------------------------------------------------------------- -------------------------------- Linking... \mingw\lib\libstdc++.a(eh_personality.o)(.data$_ZTISt9exception+0x0): multiple definition of `typeinfo for std::exception' C:\Projects\F1\platform\source\f1shared_base\Debug\f1error.o(.rdata$_ZTISt9e xception+0x0):C:\MinGWStudio\MinGW\include\stlport_include\stl\_string.h: first defined here \mingw\lib\libstdc++.a(eh_personality.o)(.text$_ZTSSt9exception+0x0): multiple definition of `typeinfo name for std::exception' C:\Projects\F1\platform\source\f1shared_base\Debug\f1error.o(.rdata$_ZTSSt9e xception+0x0):C:\MinGWStudio\MinGW\include\stlport_include\stl\_string.h: first defined here ---------------------------------------------------------------------------- -------------------------------- Is somebody has home problem in past ? Or can you gime me advise - where is can by problem ? Best Regards