/tmp/ccPvi6oi.o(.gnu.linkonce.t._ZNSt14__simple_allocISbIwSt11char_traitsIwESaIwEESt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x1e): In function `std::__simple_alloc, std::allocator >, std::__default_alloc_template<(bool)1, (int)0> >::allocate(unsigned)': : undefined reference to `std::__default_alloc_template<(bool)1, (int)0>::allocate(unsigned)' /tmp/ccPvi6oi.o(.gnu.linkonce.t._ZSt8_DestroyISbIwSt11char_traitsIwESaIwEEEvPT_+0xd): In function `void std::_Destroy, std::allocator > >(std::basic_string, std::allocator >*)': : undefined reference to `std::basic_string, std::allocator >::~basic_string [in-charge]()' /tmp/ccPvi6oi.o(.gnu.linkonce.t._ZSt24__uninitialized_copy_auxIN9__gnu_cxx17__normal_iteratorIPKSbIwSt11char_traitsIwESaIwEESt6vectorIS5_SaIS5_EEEEPS5_ET0_T_SE_SD_12__false_type+0x6d): In function `std::basic_string, std::allocator >* std::__uninitialized_copy_aux<__gnu_cxx::__normal_iterator, std::allocator > const*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, std::basic_string, std::allocator >*>(__gnu_cxx::__normal_iterator, std::allocator > const*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, __gnu_cxx::__normal_iterator, std::allocator > const*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, std::basic_string, std::allocator >*, __false_type)': : undefined reference to `__cxa_begin_catch' /tmp/ccPvi6oi.o(.gnu.linkonce.t._ZSt24__uninitialized_copy_auxIN9__gnu_cxx17__normal_iteratorIPKSbIwSt11char_traitsIwESaIwEESt6vectorIS5_SaIS5_EEEEPS5_ET0_T_SE_SD_12__false_type+0x86): In function `std::basic_string, std::allocator >* std::__uninitialized_copy_aux<__gnu_cxx::__normal_iterator, std::allocator > const*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, std::basic_string, std::allocator >*>(__gnu_cxx::__normal_iterator, std::allocator > const*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, __gnu_cxx::__normal_iterator, std::allocator > const*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, std::basic_string, std::allocator >*, __false_type)': : undefined reference to `__cxa_rethrow' /tmp/ccPvi6oi.o(.gnu.linkonce.t._ZSt24__uninitialized_copy_auxIN9__gnu_cxx17__normal_iteratorIPKSbIwSt11char_traitsIwESaIwEESt6vectorIS5_SaIS5_EEEEPS5_ET0_T_SE_SD_12__false_type+0x91): In function `std::basic_string, std::allocator >* std::__uninitialized_copy_aux<__gnu_cxx::__normal_iterator, std::allocator > const*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, std::basic_string, std::allocator >*>(__gnu_cxx::__normal_iterator, std::allocator > const*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, __gnu_cxx::__normal_iterator, std::allocator > const*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, std::basic_string, std::allocator >*, __false_type)': : undefined reference to `__cxa_end_catch' /tmp/ccPvi6oi.o(.gnu.linkonce.t._ZSt6__copyIPKSbIwSt11char_traitsIwESaIwEEPS3_ET0_T_S8_S7_St26random_access_iterator_tag+0x26): In function `std::basic_string, std::allocator >* std::__copy, std::allocator > const*, std::basic_string, std::allocator >*>(std::basic_string, std::allocator > const*, std::basic_string, std::allocator > const*, std::basic_string, std::allocator >*, std::random_access_iterator_tag)': : undefined reference to `std::basic_string, std::allocator >::operator=(std::basic_string, std::allocator > const&)' /tmp/ccPvi6oi.o(.gnu.linkonce.t._ZSt10_ConstructISbIwSt11char_traitsIwESaIwEES3_EvPT_RKT0_+0x34): In function `void std::_Construct, std::allocator >, std::basic_string, std::allocator > >(std::basic_string, std::allocator >*, std::basic_string, std::allocator > const&)': : undefined reference to `std::basic_string, std::allocator >::basic_string[in-charge](std::basic_string, std::allocator > const&)' /tmp/ccPvi6oi.o(.eh_frame+0x12): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status