gcc test.cpp -o test /tmp/cceVHycp.o: In function `__static_initialization_and_destruction_0(int, int)': test.cpp:(.text+0x23): undefined reference to `std::ios_base::Init::Init()' /tmp/cceVHycp.o: In function `__tcf_0': test.cpp:(.text+0x6c): undefined reference to `std::ios_base::Init::~Init()' /tmp/cceVHycp.o: In function `main': test.cpp:(.text+0x8b): undefined reference to `std::allocator::allocator()' test.cpp:(.text+0xa5): undefined reference to `std::basic_string, std::allocator >::basic_string(char const*, std::allocator const&)' test.cpp:(.text+0xb0): undefined reference to `std::allocator::~allocator()' test.cpp:(.text+0xbe): undefined reference to `std::cout' test.cpp:(.text+0xc3): undefined reference to `std::basic_ostream >& std::operator<< , std::allocator >(std::basic_ostream >&, std::basic_string, std::allocator > const&)' test.cpp:(.text+0xd6): undefined reference to `std::allocator::~allocator()' test.cpp:(.text+0xf4): undefined reference to `std::basic_string, std::allocator >::~basic_string()' test.cpp:(.text+0x10a): undefined reference to `std::basic_string, std::allocator >::~basic_string()' /tmp/cceVHycp.o:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0' collect2: ld gab 1 als Ende-Status zurück