rticommunity / rticonnextdds-getting-started

Hands-on examples for getting started with RTI Connext DDS
27 stars 29 forks source link

Failed to link libnddscpp2.so in gcc8.3 #57

Open UncleNine opened 2 years ago

UncleNine commented 2 years ago

Screenshot from 2021-11-22 01-33-33

/opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to operator new(unsigned long)@GLIBCXX_3.4' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference tostd::runtime_error::what() const@GLIBCXX_3.4' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to std::basic_ios<char, std::char_traits<char> >::init(std::basic_streambuf<char, std::char_traits<char> >*)@GLIBCXX_3.4' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference totypeinfo for std::exception@GLIBCXX_3.4' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to vtable for __cxxabiv1::__vmi_class_type_info@CXXABI_1.3' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference tocxa_begin_catch@CXXABI_1.3' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to std::__throw_length_error(char const*)@GLIBCXX_3.4' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference tostd::throw_bad_alloc()@GLIBCXX_3.4' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to vtable for std::bad_alloc@GLIBCXX_3.4' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference tostd::throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to std::bad_alloc::~bad_alloc()@GLIBCXX_3.4' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference tostd::cxx11::basic_string<wchar_t, std::char_traits, std::allocator >::_M_assign(std::cxx11::basic_string<wchar_t, std::char_traits, std::allocator > const&)@GLIBCXX_3.4.21' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to `std::cxx11::basic_string<wchar_t, std::char_traits, std::allocator >::_M_create(unsigned long&, unsigned long)@GLIBCXX_3.4.21' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()@GLIBCXX_3.4.21' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference tocxa_pure_virtual@CXXABI_1.3' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to typeinfo for std::bad_alloc@GLIBCXX_3.4' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference tovtable for cxxabiv1::class_type_info@CXXABI_1.3' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to `dynamic_cast@CXXABI_1.3' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to std::basic_ios<char, std::char_traits<char> >::clear(std::_Ios_Iostate)@GLIBCXX_3.4' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference tostd::cxx11::basic_string<char, std::char_traits, std::allocator >::_M_assign(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&)@GLIBCXX_3.4.21' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to vtable for std::basic_ios<char, std::char_traits<char> >@GLIBCXX_3.4' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference tostd::invalid_argument::invalid_argument(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&)@GLIBCXX_3.4.21' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to std::logic_error::~logic_error()@GLIBCXX_3.4' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference tostd::locale::~locale()@GLIBCXX_3.4' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to std::runtime_error::runtime_error(std::runtime_error const&)@GLIBCXX_3.4.21' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference tostd::ios_base::~ios_base()@GLIBCXX_3.4' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to std::invalid_argument::~invalid_argument()@GLIBCXX_3.4.15' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to__cxa_guard_abort@CXXABI_1.3' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to `std::cxx11::basic_string<char, std::char_traits, std::allocator >::compare(char const) const@GLIBCXX_3.4.21' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to vtable for std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference tostd::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_append(char const, unsigned long)@GLIBCXX_3.4.21' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to std::ios_base::ios_base()@GLIBCXX_3.4' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference tostd::_Rb_tree_decrement(std::_Rb_tree_node_base)@GLIBCXX_3.4' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to __cxa_free_exception@CXXABI_1.3' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference totypeinfo for std::runtime_error@GLIBCXX_3.4' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::resize(unsigned long, wchar_t)@GLIBCXX_3.4.21' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference togxx_personality_v0@CXXABI_1.3' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to __cxa_call_unexpected@CXXABI_1.3' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference tocxa_guard_acquire@CXXABI_1.3' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to std::logic_error::logic_error(std::logic_error const&)@GLIBCXX_3.4.21' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference tostd::_Rb_tree_increment(std::_Rb_tree_node_base)@GLIBCXX_3.4' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to std::exception::~exception()@GLIBCXX_3.4' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference totypeinfo for std::logic_error@GLIBCXX_3.4' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to __cxa_throw@CXXABI_1.3' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference tovtable for std::basic_streambuf<char, std::char_traits >@GLIBCXX_3.4' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to std::ostream& std::ostream::_M_insert<void const*>(void const*)@GLIBCXX_3.4.9' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference tostd::basic_ostream<char, std::char_traits >& std::ostream_insert<char, std::char_traits >(std::basic_ostream<char, std::char_traits >&, char const, long)@GLIBCXX_3.4.9' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::basic_string(char const, std::allocator const&)@GLIBCXX_3.4.21' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to typeinfo for std::invalid_argument@GLIBCXX_3.4' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference tostd::__cxx11::basic_string<char, std::char_traits, std::allocator >::reserve(unsigned long)@GLIBCXX_3.4.21' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to `std::runtime_error::runtime_error(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&)@GLIBCXX_3.4.21' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to std::ios_base::Init::~Init()@GLIBCXX_3.4' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference tostd::runtime_error::~runtime_error()@GLIBCXX_3.4' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::resize(unsigned long, char)@GLIBCXX_3.4.21' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference tostd::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base, std::_Rb_tree_node_base, std::_Rb_tree_node_base&)@GLIBCXX_3.4' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to std::__throw_logic_error(char const*)@GLIBCXX_3.4' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference tovtable for cxxabiv1::si_class_type_info@CXXABI_1.3' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to operator delete(void*)@GLIBCXX_3.4' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference tostd::throw_bad_cast()@GLIBCXX_3.4' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to VTT for std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference tocxa_allocate_exception@CXXABI_1.3' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long)@GLIBCXX_3.4.21' /opt/toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: /work/modules/3rd/dds/lib/linux/aarch64/libnddscpp2.so: undefined reference to__cxa_guard_release@CXXABI_1.3'