multiple definition of `typeinfo for std::exception'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux