gcc -Wall new.cpp -o caca In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../include/c ++/4.1.1/backward/iostream.h:31, from new.cpp:1: /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../include/c++/4.1.1/backward/back ward_warning.h:32:2: warning: #warning This file includes at least one deprecate d or antiquated header. Please consider using one of the 32 headers found in sec tion 17.4.1.2 of the C++ standard. Examples include substituting the header for the header for C++ includes, or instead of the deprecated h eader . To disable this warning use -Wno-deprecated. /tmp/ccwAXak7.o: In function `__static_initialization_and_destruction_0(int, int )': new.cpp:(.text+0x23): undefined reference to `std::ios_base::Init::Init()' /tmp/ccwAXak7.o: In function `__tcf_0': new.cpp:(.text+0x6c): undefined reference to `std::ios_base::Init::~Init()' /tmp/ccwAXak7.o: In function `main': new.cpp:(.text+0xc7): undefined reference to `std::cout' new.cpp:(.text+0xcc): undefined reference to `std::basic_ostream >::operator<<(int)' new.cpp:(.text+0xdc): undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' new.cpp:(.text+0xed): undefined reference to `std::basic_ostream >& std::endl >(std::basic_ostream >&)' new.cpp:(.text+0xf4): undefined reference to `std::cout' new.cpp:(.text+0xf9): undefined reference to `std::basic_ostream >::operator<<(std::basic_ostream >& ( *)(std::basic_ostream >&))' /tmp/ccwAXak7.o:(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status [keld@darkness estructura]$ vi new.cpp [keld@darkness estructura]$ gcc -Wall new.cpp -o caca In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../include/c ++/4.1.1/backward/iostream.h:31, from new.cpp:1: /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../include/c++/4.1.1/backward/back ward_warning.h:32:2: warning: #warning This file includes at least one deprecate d or antiquated header. Please consider using one of the 32 headers found in sec tion 17.4.1.2 of the C++ standard. Examples include substituting the header for the header for C++ includes, or instead of the deprecated h eader . To disable this warning use -Wno-deprecated. /tmp/cc9ioD2u.o: In function `__static_initialization_and_destruction_0(int, int )': new.cpp:(.text+0x23): undefined reference to `std::ios_base::Init::Init()' /tmp/cc9ioD2u.o: In function `__tcf_0': new.cpp:(.text+0x6c): undefined reference to `std::ios_base::Init::~Init()' /tmp/cc9ioD2u.o: In function `main': new.cpp:(.text+0xc7): undefined reference to `std::cout' new.cpp:(.text+0xcc): undefined reference to `std::basic_ostream >::operator<<(int)' new.cpp:(.text+0xdc): undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' new.cpp:(.text+0xed): undefined reference to `std::basic_ostream >& std::endl >(std::basic_ostream >&)' new.cpp:(.text+0xf4): undefined reference to `std::cout' new.cpp:(.text+0xf9): undefined reference to `std::basic_ostream >::operator<<(std::basic_ostream >& ( *)(std::basic_ostream >&))' /tmp/cc9ioD2u.o:(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status