Jump to content

Stephni

Members
  • Posts

    31
  • Joined

  • Last visited

Posts posted by Stephni

  1. what I need to compile a c++ fille on Linux, as far as I know I've created my file with extension cpp by using the text editor such as KWirter, and then compile it with gcc, but it gives me long error message

    /tmp/ccb5v3PS.o: In function `__static_initialization_and_destruction_0(int, int)':

    1.cpp:(.text+0x23): undefined reference to `std::ios_base::Init::Init()'

    /tmp/ccb5v3PS.o: In function `__tcf_0':

    1.cpp:(.text+0x6c): undefined reference to `std::ios_base::Init::~Init()'

    /tmp/ccb5v3PS.o: In function `main':

    1.cpp:(.text+0x8b): undefined reference to `std::allocator<char>::allocator()'

×
×
  • Create New...