Linker Fehler unter linux bei gcc 3.3.3



  • Hallo,

    Beim Linken erhalten ich folgende Fehlermeldungen.
    Wenn ich das Ganze mit dem Mingw 3.4.5 unter Windows erzeugen, funktionierte
    es.
    Include Guards sind richtig gesetzt.
    Hat jemand eine Idee, bin mit meinem Latein jedefalls am Ende.

    debug/boersentyp.o(.bss+0x0):/usr/include/stlport/stl/_string.h:126: multiple definition of `(anonymous namespace)::_9'
    debug/boersentyp.o(.bss+0x0):/usr/include/stlport/stl/_string.h:126: first defined here
    debug/boersentyp.o(.bss+0x1):/usr/include/stlport/stl/_string.h:213: multiple definition of `(anonymous namespace)::_8'
    debug/boersentyp.o(.bss+0x1):/usr/include/stlport/stl/_string.h:213: first defined here
    debug/boersentyp.o(.bss+0x2):/usr/include/stlport/stl/_sstream.c:406: multiple definition of `(anonymous namespace)::_7'
    debug/boersentyp.o(.bss+0x2):/usr/include/stlport/stl/_sstream.c:406: first defined here
    debug/boersentyp.o(.bss+0x3):/usr/include/stlport/stl/_istreambuf_iterator.h:79: multiple definition of `(anonymous namespace)::_6'
    debug/boersentyp.o(.bss+0x3):/usr/include/stlport/stl/_istreambuf_iterator.h:79: first defined here
    debug/boersentyp.o(.bss+0x4):/usr/include/stlport/stl/_string.h:352: multiple definition of `(anonymous namespace)::_5'
    debug/boersentyp.o(.bss+0x4):/usr/include/stlport/stl/_string.h:352: first defined here
    debug/boersentyp.o(.bss+0x5):/usr/include/stlport/stl/_string.h:212: multiple definition of `(anonymous namespace)::_4'
    debug/boersentyp.o(.bss+0x5):/usr/include/stlport/stl/_string.h:212: first defined here
    debug/boersentyp.o(.bss+0x6):/usr/include/stlport/stl/_algobase.c:140: multiple definition of `(anonymous namespace)::_3'
    debug/boersentyp.o(.bss+0x6):/usr/include/stlport/stl/_algobase.c:140: first defined here
    debug/boersentyp.o(.bss+0x7):/usr/include/stlport/stl/_ios.h:67: multiple definition of `(anonymous namespace)::_2'
    debug/boersentyp.o(.bss+0x7):/usr/include/stlport/stl/_ios.h:67: first defined here
    debug/boersentyp.o(.bss+0x8):/usr/include/stlport/stl/_ios_base.h:140: multiple definition of `(anonymous namespace)::_1'
    debug/boersentyp.o(.bss+0x8):/usr/include/stlport/stl/_ios_base.h:140: first defined here
    debug/boersentyp.o(.text+0x0): In function `BoersenTyp::getPs() const':
    : multiple definition of `BoersenTyp::getPs() const'
    debug/boersentyp.o(.text+0x0): first defined here
    debug/boersentyp.o(.text+0x10): In function `BoersenTyp::getKw() const':
    /usr/include/stlport/stl/_num_get.h:80: multiple definition of `BoersenTyp::getKw() const'
    debug/boersentyp.o(.text+0x10):/usr/include/stlport/stl/_num_get.h:80: first defined here
    debug/boersentyp.o(.text+0x20): In function `BoersenTyp::getDoors() const':
    /usr/include/stlport/stl/_streambuf.h:474: multiple definition of `BoersenTyp::getDoors() const'
    debug/boersentyp.o(.text+0x20):/usr/include/stlport/stl/_streambuf.h:474: first defined here
    debug/boersentyp.o(.text+0x30): In function `BoersenTyp::getCcm() const':
    /devdir/src/websplit_new/boersentyp.cpp:74: multiple definition of `BoersenTyp::getCcm() const'
    debug/boersentyp.o(.text+0x30):/devdir/src/websplit_new/boersentyp.cpp:74: first defined here
    debug/boersentyp.o(.text+0x40): In function `BoersenTyp::getZylinder() const':
    /usr/include/stlport/stl/_streambuf.h:435: multiple definition of `BoersenTyp::getZylinder() const'
    debug/boersentyp.o(.text+0x40):/usr/include/stlport/stl/_streambuf.h:435: first defined here
    debug/boersentyp.o(.text+0x50): In function `BoersenTyp::getRegMonth() const':
    /usr/include/stlport/stl/_string.c:358: multiple definition of `BoersenTyp::getRegMonth() const'
    debug/boersentyp.o(.text+0x50):/usr/include/stlport/stl/_string.c:358: first defined here
    debug/boersentyp.o(.text+0x60): In function `BoersenTyp::getRegYear() const':
    /devdir/src/websplit_new/boersentyp.cpp:97: multiple definition of `BoersenTyp::getRegYear() const'
    debug/boersentyp.o(.text+0x60):/devdir/src/websplit_new/boersentyp.cpp:97: first defined here
    debug/boersentyp.o(.text+0xc0): In function `_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >& basic_stringstrip_str<char>(_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >&, StripType, char const*)':
    /devdir/src/websplit_new/boersentyp.cpp:111: multiple definition of `BoersenTyp::getMakeCode() const'
    debug/boersentyp.o(.text+0xc0):/devdir/src/websplit_new/boersentyp.cpp:111: first defined here
    debug/boersentyp.o(.text+0xe0): In function `_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >& basic_stringstrip_str<char>(_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >&, StripType, char const*)':
    /usr/include/stlport/stl/_algobase.c:164: multiple definition of `BoersenTyp::getModellCode() const'
    debug/boersentyp.o(.text+0xe0):/usr/include/stlport/stl/_algobase.c:164: first defined here
    debug/boersentyp.o(.text+0x100): In function `_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >& basic_stringstrip_str<char>(_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >&, StripType, char const*)':
    /devdir/src/websplit_new/boersentyp.cpp:101: multiple definition of `BoersenTyp::getHsnTsn() const'
    debug/boersentyp.o(.text+0x100):/devdir/src/websplit_new/boersentyp.cpp:101: first defined here
    debug/boersentyp.o(.text+0x120): In function `_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >& basic_stringstrip_str<char>(_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >&, StripType, char const*)':
    /devdir/src/websplit_new/boersentyp.cpp:85: multiple definition of `BoersenTyp::getCarName() const'
    debug/boersentyp.o(.text+0x120):/devdir/src/websplit_new/boersentyp.cpp:85: first defined here
    debug/boersentyp.o(.text+0x140): In function `BoersenTyp::BoersenTyp[in-charge](_STL::vector<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >, _STL::allocator<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > > > const&, IProcessHandler const&)':
    /devdir/src/websplit_new/boersentyp.cpp:36: multiple definition of `BoersenTyp::BoersenTyp[in-charge](_STL::vector<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >, _STL::allocator<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > > > const&, IProcessHandler const&)'
    debug/boersentyp.o(.text+0x140):/devdir/src/websplit_new/boersentyp.cpp:36: first defined here
    debug/boersentyp.o(.text+0x6e0): In function `BoersenTyp::BoersenTyp[not-in-charge](_STL::vector<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >, _STL::allocator<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > > > const&, IProcessHandler const&)':
    /devdir/src/websplit_new/boersentyp.cpp:36: multiple definition of `BoersenTyp::BoersenTyp[not-in-charge](_STL::vector<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >, _STL::allocator<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > > > const&, IProcessHandler const&)'
    

Anmelden zum Antworten