/tmp/ccYsOvkH.o: In function `__static_initialization_and_destruction_0(int, int)': helloworld.cpp:(.text+0x23): undefined reference to `std::ios_base::Init::Init()' /tmp/ccYsOvkH.o: In function `__tcf_0': helloworld.cpp:(.text+0x66): undefined reference to `std::ios_base::Init::~Init()' /tmp/ccYsOvkH.o: In function `main': helloworld.cpp:(.text+0x76): undefined reference to `std::cout' helloworld.cpp:(.text+0x7b): undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' helloworld.cpp:(.text+0x83): undefined reference to `std::basic_ostream >& std::endl >(std::basic_ostream >&)' helloworld.cpp:(.text+0x88): undefined reference to `std::basic_ostream >::operator<<(std::basic_ostream >& (*)(std::basic_ostream >&))' /tmp/ccYsOvkH.o:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status