[me@cs ]$ gcc -o html3 html3.cpp /tmp/cc8tz0yM.o(.text+0xcc): In function `main': : undefined reference to `std::basic_ostream >& std::endl >(std::basic_ostream >&)' /tmp/cc8tz0yM.o(.text+0xdf): In function `main': : undefined reference to `std::cout' /tmp/cc8tz0yM.o(.text+0xe4): In function `main': : undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' /tmp/cc8tz0yM.o(.text+0xed): In function `main': : undefined reference to `std::basic_ostream >::operator<<(int)' /tmp/cc8tz0yM.o(.text+0xf6): In function `main': : undefined reference to `std::basic_ostream >::operator<<(std::basic_ostream >& (*)(std::basic_ostream >&))' /tmp/cc8tz0yM.o(.text+0x1d8): In function `main': : undefined reference to `std::basic_ostream >& std::endl >(std::basic_ostream >&)' /tmp/cc8tz0yM.o(.text+0x1f3): In function `main': : undefined reference to `std::cout' /tmp/cc8tz0yM.o(.text+0x1f8): In function `main': : undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' /tmp/cc8tz0yM.o(.text+0x201): In function `main': : undefined reference to `std::basic_ostream >::operator<<(int)' /tmp/cc8tz0yM.o(.text+0x20a): In function `main': : undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' /tmp/cc8tz0yM.o(.text+0x213): In function `main': : undefined reference to `std::basic_ostream >::operator<<(std::basic_ostream >& (*)(std::basic_ostream >&))' /tmp/cc8tz0yM.o(.text+0x23c): In function `main': : undefined reference to `std::basic_ostream >& std::endl >(std::basic_ostream >&)' /tmp/cc8tz0yM.o(.text+0x257): In function `main': : undefined reference to `std::cout' /tmp/cc8tz0yM.o(.text+0x25c): In function `main': : undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' /tmp/cc8tz0yM.o(.text+0x265): In function `main': : undefined reference to `std::basic_ostream >::operator<<(int)' /tmp/cc8tz0yM.o(.text+0x26e): In function `main': : undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' /tmp/cc8tz0yM.o(.text+0x277): In function `main': : undefined reference to `std::basic_ostream >::operator<<(std::basic_ostream >& (*)(std::basic_ostream >&))' /tmp/cc8tz0yM.o(.text+0x2ba): In function `main': : undefined reference to `std::basic_ostream >& std::endl >(std::basic_ostream >&)' /tmp/cc8tz0yM.o(.text+0x2d5): In function `main': : undefined reference to `std::cout' /tmp/cc8tz0yM.o(.text+0x2da): In function `main': : undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' /tmp/cc8tz0yM.o(.text+0x2e3): In function `main': : undefined reference to `std::basic_ostream >::operator<<(int)' /tmp/cc8tz0yM.o(.text+0x2ec): In function `main': : undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' /tmp/cc8tz0yM.o(.text+0x2f5): In function `main': : undefined reference to `std::basic_ostream >::operator<<(std::basic_ostream >& (*)(std::basic_ostream >&))' /tmp/cc8tz0yM.o(.text+0x341): In function `main': : undefined reference to `std::basic_ostream >& std::endl >(std::basic_ostream >&)' /tmp/cc8tz0yM.o(.text+0x35c): In function `main': : undefined reference to `std::cout' /tmp/cc8tz0yM.o(.text+0x361): In function `main': : undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' /tmp/cc8tz0yM.o(.text+0x36a): In function `main': : undefined reference to `std::basic_ostream >::operator<<(int)' /tmp/cc8tz0yM.o(.text+0x373): In function `main': : undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' /tmp/cc8tz0yM.o(.text+0x37c): In function `main': : undefined reference to `std::basic_ostream >::operator<<(std::basic_ostream >& (*)(std::basic_ostream >&))' /tmp/cc8tz0yM.o(.text+0x3ba): In function `main': : undefined reference to `std::basic_ostream >& std::endl >(std::basic_ostream >&)' /tmp/cc8tz0yM.o(.text+0x3f0): In function `main': : undefined reference to `std::cout' /tmp/cc8tz0yM.o(.text+0x3f5): In function `main': : undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' /tmp/cc8tz0yM.o(.text+0x3fe): In function `main': : undefined reference to `std::basic_ostream >::operator<<(int)' /tmp/cc8tz0yM.o(.text+0x407): In function `main': : undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' /tmp/cc8tz0yM.o(.text+0x410): In function `main': : undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' /tmp/cc8tz0yM.o(.text+0x419): In function `main': : undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' /tmp/cc8tz0yM.o(.text+0x422): In function `main': : undefined reference to `std::basic_ostream >::operator<<(std::basic_ostream >& (*)(std::basic_ostream >&))' /tmp/cc8tz0yM.o(.text+0x471): In function `main': : undefined reference to `std::basic_ostream >& std::endl >(std::basic_ostream >&)' /tmp/cc8tz0yM.o(.text+0x4a9): In function `main': : undefined reference to `std::cout' /tmp/cc8tz0yM.o(.text+0x4ae): In function `main': : undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' /tmp/cc8tz0yM.o(.text+0x4b7): In function `main': : undefined reference to `std::basic_ostream >::operator<<(int)' /tmp/cc8tz0yM.o(.text+0x4c0): In function `main': : undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' /tmp/cc8tz0yM.o(.text+0x4c9): In function `main': : undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' /tmp/cc8tz0yM.o(.text+0x4d2): In function `main': : undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' /tmp/cc8tz0yM.o(.text+0x4db): In function `main': : undefined reference to `std::basic_ostream >::operator<<(std::basic_ostream >& (*)(std::basic_ostream >&))' /tmp/cc8tz0yM.o(.text+0x4f0): In function `main': : undefined reference to `std::basic_ostream >& std::endl >(std::basic_ostream >&)' /tmp/cc8tz0yM.o(.text+0x4fd): In function `main': : undefined reference to `std::cout' /tmp/cc8tz0yM.o(.text+0x502): In function `main': : undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' /tmp/cc8tz0yM.o(.text+0x50b): In function `main': : undefined reference to `std::basic_ostream >::operator<<(std::basic_ostream >& (*)(std::basic_ostream >&))' /tmp/cc8tz0yM.o(.text+0x58c): In function `__static_initialization_and_destruction_0(int, int)': : undefined reference to `std::ios_base::Init::Init()' /tmp/cc8tz0yM.o(.text+0x5bb): In function `__tcf_0': : undefined reference to `std::ios_base::Init::~Init()' /tmp/cc8tz0yM.o(.gnu.linkonce.t._ZNSt5dequeI5mytagSaIS0_EE16_M_push_back_auxERKS0_+0x91): In function `std::deque >::_M_push_back_aux(mytag const&)': : undefined reference to `__cxa_begin_catch' /tmp/cc8tz0yM.o(.gnu.linkonce.t._ZNSt5dequeI5mytagSaIS0_EE16_M_push_back_auxERKS0_+0xb2): In function `std::deque >::_M_push_back_aux(mytag const&)': : undefined reference to `__cxa_rethrow' /tmp/cc8tz0yM.o(.gnu.linkonce.t._ZNSt5dequeI5mytagSaIS0_EE16_M_push_back_auxERKS0_+0xbd): In function `std::deque >::_M_push_back_aux(mytag const&)': : undefined reference to `__cxa_end_catch' /tmp/cc8tz0yM.o(.gnu.linkonce.t._ZNSt11_Deque_baseI5mytagSaIS0_EE17_M_initialize_mapEj+0xaf): In function `std::_Deque_base >::_M_initialize_map(unsigned int)': : undefined reference to `__cxa_begin_catch' /tmp/cc8tz0yM.o(.gnu.linkonce.t._ZNSt11_Deque_baseI5mytagSaIS0_EE17_M_initialize_mapEj+0xe3): In function `std::_Deque_base >::_M_initialize_map(unsigned int)': : undefined reference to `__cxa_rethrow' /tmp/cc8tz0yM.o(.gnu.linkonce.t._ZNSt11_Deque_baseI5mytagSaIS0_EE17_M_initialize_mapEj+0xee): In function `std::_Deque_base >::_M_initialize_map(unsigned int)': : undefined reference to `__cxa_end_catch' /tmp/cc8tz0yM.o(.gnu.linkonce.t._ZNSt11_Deque_baseI5mytagSaIS0_EE15_M_create_nodesEPPS0_S4_+0x3e): In function `std::_Deque_base >::_M_create_nodes(mytag**, mytag**)': : undefined reference to `__cxa_begin_catch' /tmp/cc8tz0yM.o(.gnu.linkonce.t._ZNSt11_Deque_baseI5mytagSaIS0_EE15_M_create_nodesEPPS0_S4_+0x5a): In function `std::_Deque_base >::_M_create_nodes(mytag**, mytag**)': : undefined reference to `__cxa_rethrow' /tmp/cc8tz0yM.o(.gnu.linkonce.t._ZNSt11_Deque_baseI5mytagSaIS0_EE15_M_create_nodesEPPS0_S4_+0x65): In function `std::_Deque_base >::_M_create_nodes(mytag**, mytag**)': : undefined reference to `__cxa_end_catch' /tmp/cc8tz0yM.o(.gnu.linkonce.t._ZNSt14__simple_allocI5mytagSt24__default_alloc_templateILb1ELi0EEE10deallocateEPS0_j+0x21): In function `std::__simple_alloc >::deallocate(mytag*, unsigned int)': : undefined reference to `std::__default_alloc_template::deallocate(void*, unsigned int)' /tmp/cc8tz0yM.o(.gnu.linkonce.t._ZNSt14__simple_allocI5mytagSt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x25): In function `std::__simple_alloc >::allocate(unsigned int)': : undefined reference to `std::__default_alloc_template::allocate(unsigned int)' /tmp/cc8tz0yM.o(.gnu.linkonce.t._ZNSt14__simple_allocIP5mytagSt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x1e): In function `std::__simple_alloc >::allocate(unsigned int)': : undefined reference to `std::__default_alloc_template::allocate(unsigned int)' /tmp/cc8tz0yM.o(.gnu.linkonce.t._ZNSt14__simple_allocIP5mytagSt24__default_alloc_templateILb1ELi0EEE10deallocateEPS1_j+0x1a): In function `std::__simple_alloc >::deallocate(mytag**, unsigned int)': : undefined reference to `std::__default_alloc_template::deallocate(void*, unsigned int)' /tmp/cc8tz0yM.o(.eh_frame+0x12): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status