[absinthe@localhost Sto sam ja vjezbo]$ gcc PrviPrimjer.cpp /home/absinthe/tmp/ccEezZKI.o: In function `__static_initialization_and_destruction_0(int, int)': PrviPrimjer.cpp:(.text+0x23): undefined reference to `std::ios_base::Init::Init()' /home/absinthe/tmp/ccEezZKI.o: In function `__tcf_0': PrviPrimjer.cpp:(.text+0x6c): undefined reference to `std::ios_base::Init::~Init()' /home/absinthe/tmp/ccEezZKI.o: In function `main': PrviPrimjer.cpp:(.text+0x8e): undefined reference to `std::cout' PrviPrimjer.cpp:(.text+0x93): undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' PrviPrimjer.cpp:(.text+0x9b): undefined reference to `std::basic_ostream >& std::endl >(std::basic_ostream >&)' PrviPrimjer.cpp:(.text+0xa3): undefined reference to `std::basic_ostream >::operator<<(std::basic_ostream >& (*)(std::basic_ostream >&))' PrviPrimjer.cpp:(.text+0xb1): undefined reference to `std::cin' PrviPrimjer.cpp:(.text+0xb6): undefined reference to `std::basic_istream >::operator>>(float&)' PrviPrimjer.cpp:(.text+0xe3): undefined reference to `std::cout' PrviPrimjer.cpp:(.text+0xe8): undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' PrviPrimjer.cpp:(.text+0xf9): undefined reference to `std::basic_ostream >::operator<<(float)' PrviPrimjer.cpp:(.text+0x101): undefined reference to `std::basic_ostream >& std::endl >(std::basic_ostream >&)' PrviPrimjer.cpp:(.text+0x109): undefined reference to `std::basic_ostream >::operator<<(std::basic_ostream >& (*)(std::basic_ostream >&))' /home/absinthe/tmp/ccEezZKI.o:(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status [absinthe@localhost Sto sam ja vjezbo]$ clear [absinthe@localhost Sto sam ja vjezbo]$ gcc PrviPrimjer.cpp /home/absinthe/tmp/cc0kHsLj.o: In function `__static_initialization_and_destruction_0(int, int)': PrviPrimjer.cpp:(.text+0x23): undefined reference to `std::ios_base::Init::Init()' /home/absinthe/tmp/cc0kHsLj.o: In function `__tcf_0': PrviPrimjer.cpp:(.text+0x6c): undefined reference to `std::ios_base::Init::~Init()' /home/absinthe/tmp/cc0kHsLj.o: In function `main': PrviPrimjer.cpp:(.text+0x8e): undefined reference to `std::cout' PrviPrimjer.cpp:(.text+0x93): undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' PrviPrimjer.cpp:(.text+0x9b): undefined reference to `std::basic_ostream >& std::endl >(std::basic_ostream >&)' PrviPrimjer.cpp:(.text+0xa3): undefined reference to `std::basic_ostream >::operator<<(std::basic_ostream >& (*)(std::basic_ostream >&))' PrviPrimjer.cpp:(.text+0xb1): undefined reference to `std::cin' PrviPrimjer.cpp:(.text+0xb6): undefined reference to `std::basic_istream >::operator>>(float&)' PrviPrimjer.cpp:(.text+0xe3): undefined reference to `std::cout' PrviPrimjer.cpp:(.text+0xe8): undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' PrviPrimjer.cpp:(.text+0xf9): undefined reference to `std::basic_ostream >::operator<<(float)' PrviPrimjer.cpp:(.text+0x101): undefined reference to `std::basic_ostream >& std::endl >(std::basic_ostream >&)' PrviPrimjer.cpp:(.text+0x109): undefined reference to `std::basic_ostream >::operator<<(std::basic_ostream >& (*)(std::basic_ostream >&))' /home/absinthe/tmp/cc0kHsLj.o:(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status [absinthe@localhost Sto sam ja vjezbo]$ gcc PrviPrimjer.cpp /home/absinthe/tmp/ccM0wxPq.o: In function `__static_initialization_and_destruction_0(int, int)': PrviPrimjer.cpp:(.text+0x23): undefined reference to `std::ios_base::Init::Init()' /home/absinthe/tmp/ccM0wxPq.o: In function `__tcf_0': PrviPrimjer.cpp:(.text+0x6c): undefined reference to `std::ios_base::Init::~Init()' /home/absinthe/tmp/ccM0wxPq.o: In function `main': PrviPrimjer.cpp:(.text+0x8e): undefined reference to `std::cout' PrviPrimjer.cpp:(.text+0x93): undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' PrviPrimjer.cpp:(.text+0x9b): undefined reference to `std::basic_ostream >& std::endl >(std::basic_ostream >&)' PrviPrimjer.cpp:(.text+0xa3): undefined reference to `std::basic_ostream >::operator<<(std::basic_ostream >& (*)(std::basic_ostream >&))' PrviPrimjer.cpp:(.text+0xb1): undefined reference to `std::cin' PrviPrimjer.cpp:(.text+0xb6): undefined reference to `std::basic_istream >::operator>>(float&)' PrviPrimjer.cpp:(.text+0xe3): undefined reference to `std::cout' PrviPrimjer.cpp:(.text+0xe8): undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' PrviPrimjer.cpp:(.text+0xf9): undefined reference to `std::basic_ostream >::operator<<(float)' PrviPrimjer.cpp:(.text+0x101): undefined reference to `std::basic_ostream >& std::endl >(std::basic_ostream >&)' PrviPrimjer.cpp:(.text+0x109): undefined reference to `std::basic_ostream >::operator<<(std::basic_ostream >& (*)(std::basic_ostream >&))' /home/absinthe/tmp/ccM0wxPq.o:(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status [absinthe@localhost Sto sam ja vjezbo]$ gcc PrviPrimjer.cpp /home/absinthe/tmp/ccTZH1of.o: In function `__static_initialization_and_destruction_0(int, int)': PrviPrimjer.cpp:(.text+0x23): undefined reference to `std::ios_base::Init::Init()' /home/absinthe/tmp/ccTZH1of.o: In function `__tcf_0': PrviPrimjer.cpp:(.text+0x6c): undefined reference to `std::ios_base::Init::~Init()' /home/absinthe/tmp/ccTZH1of.o: In function `main': PrviPrimjer.cpp:(.text+0x8e): undefined reference to `std::cout' PrviPrimjer.cpp:(.text+0x93): undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' PrviPrimjer.cpp:(.text+0x9b): undefined reference to `std::basic_ostream >& std::endl >(std::basic_ostream >&)' PrviPrimjer.cpp:(.text+0xa3): undefined reference to `std::basic_ostream >::operator<<(std::basic_ostream >& (*)(std::basic_ostream >&))' PrviPrimjer.cpp:(.text+0xb1): undefined reference to `std::cin' PrviPrimjer.cpp:(.text+0xb6): undefined reference to `std::basic_istream >::operator>>(float&)' PrviPrimjer.cpp:(.text+0xe3): undefined reference to `std::cout' PrviPrimjer.cpp:(.text+0xe8): undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' PrviPrimjer.cpp:(.text+0xf9): undefined reference to `std::basic_ostream >::operator<<(float)' PrviPrimjer.cpp:(.text+0x101): undefined reference to `std::basic_ostream >& std::endl >(std::basic_ostream >&)' PrviPrimjer.cpp:(.text+0x109): undefined reference to `std::basic_ostream >::operator<<(std::basic_ostream >& (*)(std::basic_ostream >&))' /home/absinthe/tmp/ccTZH1of.o:(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status [absinthe@localhost Sto sam ja vjezbo]$