0

I'm trying to cross-compile for an ARM A9 on my host machine running Linux using Yocto SDK.The instructions for what I'm doing can be seen at this link. Yocto SDK Prior to building my application, I'm instructed to source the appropriate file which sets up the necessary paths and variables.

. $SDKPATH/environment-setup-armv7ahf-vfp-neon-oe-linux-gnueabi

Then, I issue

 export LD_LIBRARY_PATH=/usr/local/lib:/usr/local/include/

from the command line so that the paths where the API driver I'm using can be searched. Lastly, I issue the make command for my executable and get the following which looks like none of the APIs along with boost are being seen based on the undefined reference errors. This is new for me so I'm not quite sure what I'm doing wrong at the moment.

tw@tw-virtual-machine:/usr/local/share/uhd/images/y$ sudo make rfnoc_replay_samples_1_from_file
[sudo] password for tw: 
g++     rfnoc_replay_samples_1_from_file.cpp   -o rfnoc_replay_samples_1_from_file
/tmp/ccXdJ5o0.o: In function `_main(int, char**)':
rfnoc_replay_samples_1_from_file.cpp:(.text+0x34e): undefined reference to `boost::program_options::options_description::m_default_line_length'
rfnoc_replay_samples_1_from_file.cpp:(.text+0x359): undefined reference to `boost::program_options::options_description::m_default_line_length'
rfnoc_replay_samples_1_from_file.cpp:(.text+0x3a0): undefined reference to `boost::program_options::options_description::options_description(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int)'
rfnoc_replay_samples_1_from_file.cpp:(.text+0x3cd): undefined reference to `boost::program_options::options_description::add_options()'
rfnoc_replay_samples_1_from_file.cpp:(.text+0x3f1): undefined reference to `boost::program_options::options_description_easy_init::operator()(char const*, char const*)'
rfnoc_replay_samples_1_from_file.cpp:(.text+0x45d): undefined reference to `boost::program_options::options_description_easy_init::operator()(char const*, boost::program_options::value_semantic const*, char const*)'
rfnoc_replay_samples_1_from_file.cpp:(.text+0x488): undefined reference to `boost::program_options::options_description_easy_init::operator()(char const*, boost::program_options::value_semantic const*, char const*)'
rfnoc_replay_samples_1_from_file.cpp:(.text+0x4d3): undefined reference to `boost::program_options::options_description_easy_init::operator()(char const*, boost::program_options::value_semantic const*, char const*)'
rfnoc_replay_samples_1_from_file.cpp:(.text+0x51e): undefined reference to `boost::program_options::options_description_easy_init::operator()(char const*, boost::program_options::value_semantic const*, char const*)'
rfnoc_replay_samples_1_from_file.cpp:(.text+0x569): undefined reference to `boost::program_options::options_description_easy_init::operator()(char const*, boost::program_options::value_semantic const*, char const*)'
/tmp/ccXdJ5o0.o:rfnoc_replay_samples_1_from_file.cpp:(.text+0x5b4): more undefined references to `boost::program_options::options_description_easy_init::operator()(char const*, boost::program_options::value_semantic const*, char const*)' follow
/tmp/ccXdJ5o0.o: In function `_main(int, char**)':
rfnoc_replay_samples_1_from_file.cpp:(.text+0x817): undefined reference to `boost::program_options::variables_map::variables_map()'
rfnoc_replay_samples_1_from_file.cpp:(.text+0x877): undefined reference to `boost::program_options::store(boost::program_options::basic_parsed_options<char> const&, boost::program_options::variables_map&, bool)'
rfnoc_replay_samples_1_from_file.cpp:(.text+0x8a4): undefined reference to `boost::program_options::notify(boost::program_options::variables_map&)'
rfnoc_replay_samples_1_from_file.cpp:(.text+0x941): undefined reference to `boost::program_options::operator<<(std::ostream&, boost::program_options::options_description const&)'
rfnoc_replay_samples_1_from_file.cpp:(.text+0xa18): undefined reference to `uhd::device_addr_t::device_addr_t(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
rfnoc_replay_samples_1_from_file.cpp:(.text+0xa31): undefined reference to `uhd::rfnoc::rfnoc_graph::make(uhd::device_addr_t const&)'
rfnoc_replay_samples_1_from_file.cpp:(.text+0xa91): undefined reference to `uhd::rfnoc::block_id_t::block_id_t(unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long)'
rfnoc_replay_samples_1_from_file.cpp:(.text+0xcf7): undefined reference to `uhd::rfnoc::block_id_t::block_id_t(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
rfnoc_replay_samples_1_from_file.cpp:(.text+0xd3c): undefined reference to `uhd::rfnoc::block_id_t::match(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
rfnoc_replay_samples_1_from_file.cpp:(.text+0xeef): undefined reference to `uhd::rfnoc::block_id_t::block_id_t(unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long)'
rfnoc_replay_samples_1_from_file.cpp:(.text+0x127f): undefined reference to `uhd::device_addr_t::device_addr_t(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
rfnoc_replay_samples_1_from_file.cpp:(.text+0x1ce8): undefined reference to `uhd::_log::log::log(uhd::log::severity_level, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::thread::id)'
rfnoc_replay_samples_1_from_file.cpp:(.text+0x1d0d): undefined reference to `uhd::_log::log::~log()'
rfnoc_replay_samples_1_from_file.cpp:(.text+0x1f6e): undefined reference to `uhd::_log::log::log(uhd::log::severity_level, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::thread::id)'
rfnoc_replay_samples_1_from_file.cpp:(.text+0x1f93): undefined reference to `uhd::_log::log::~log()'
rfnoc_replay_samples_1_from_file.cpp:(.text+0x207a): undefined reference to `uhd::_log::log::log(uhd::log::severity_level, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::thread::id)'
rfnoc_replay_samples_1_from_file.cpp:(.text+0x209f): undefined reference to `uhd::_log::log::~log()'
rfnoc_replay_samples_1_from_file.cpp:(.text+0x2120): undefined reference to `uhd::device_addr_t::device_addr_t(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
rfnoc_replay_samples_1_from_file.cpp:(.text+0x2183): undefined reference to `uhd::tx_metadata_t::tx_metadata_t()'
rfnoc_replay_samples_1_from_file.cpp:(.text+0x21af): undefined reference to `uhd::rfnoc::block_id_t::to_string[abi:cxx11]() const'
rfnoc_replay_samples_1_from_file.cpp:(.text+0x2e93): undefined reference to `uhd::time_spec_t::time_spec_t(double)'
rfnoc_replay_samples_1_from_file.cpp:(.text+0x2f47): undefined reference to `uhd::stream_cmd_t::stream_cmd_t(uhd::stream_cmd_t::stream_mode_t const&)'
rfnoc_replay_samples_1_from_file.cpp:(.text+0x3604): undefined reference to `uhd::_log::log::~log()'
rfnoc_replay_samples_1_from_file.cpp:(.text+0x3666): undefined reference to `uhd::_log::log::~log()'
rfnoc_replay_samples_1_from_file.cpp:(.text+0x36c8): undefined reference to `uhd::_log::log::~log()'
/tmp/ccXdJ5o0.o: In function `uhd::rfnoc::property_t<int>* (anonymous namespace)::_assert_prop<int>(uhd::rfnoc::property_base_t*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
rfnoc_replay_samples_1_from_file.cpp:(.text+0x3a81): undefined reference to `uhd::lookup_error::lookup_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
rfnoc_replay_samples_1_from_file.cpp:(.text+0x3aad): undefined reference to `typeinfo for uhd::lookup_error'
rfnoc_replay_samples_1_from_file.cpp:(.text+0x3ba6): undefined reference to `uhd::type_error::type_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
rfnoc_replay_samples_1_from_file.cpp:(.text+0x3be1): undefined reference to `typeinfo for uhd::type_error'
/tmp/ccXdJ5o0.o: In function `uhd::rfnoc::block_id_t::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >() const':
rfnoc_replay_samples_1_from_file.cpp:(.text._ZNK3uhd5rfnoc10block_id_tcvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEv[_ZNK3uhd5rfnoc10block_id_tcvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEv]+0x2e): undefined reference to `uhd::rfnoc::block_id_t::to_string[abi:cxx11]() const'
/tmp/ccXdJ5o0.o: In function `uhd::rfnoc::operator<<(std::ostream&, uhd::rfnoc::block_id_t)':
rfnoc_replay_samples_1_from_file.cpp:(.text._ZN3uhd5rfnoclsERSoNS0_10block_id_tE[_ZN3uhd5rfnoclsERSoNS0_10block_id_tE]+0x2f): undefined reference to `uhd::rfnoc::block_id_t::to_string[abi:cxx11]() const'
/tmp/ccXdJ5o0.o: In function `uhd::runtime_error::~runtime_error()':
rfnoc_replay_samples_1_from_file.cpp:(.text._ZN3uhd13runtime_errorD2Ev[_ZN3uhd13runtime_errorD5Ev]+0xf): undefined reference to `vtable for uhd::runtime_error'
/tmp/ccXdJ5o0.o: In function `uhd::stream_args_t::stream_args_t(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
rfnoc_replay_samples_1_from_file.cpp:(.text._ZN3uhd13stream_args_tC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3uhd13stream_args_tC5ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0x76): undefined reference to `uhd::device_addr_t::device_addr_t(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/tmp/ccXdJ5o0.o: In function `boost::program_options::error_with_option_name::~error_with_option_name()':
rfnoc_replay_samples_1_from_file.cpp:(.text._ZN5boost15program_options22error_with_option_nameD2Ev[_ZN5boost15program_options22error_with_option_nameD5Ev]+0xf): undefined reference to `vtable for boost::program_options::error_with_option_name'
/tmp/ccXdJ5o0.o: In function `boost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)':
rfnoc_replay_samples_1_from_file.cpp:(.text._ZN5boost15program_options16validation_errorC2ENS1_6kind_tERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_i[_ZN5boost15program_options16validation_errorC5ENS1_6kind_tERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_i]+0x41): undefined reference to `boost::program_options::validation_error::get_template[abi:cxx11](boost::program_options::validation_error::kind_t)'
rfnoc_replay_samples_1_from_file.cpp:(.text._ZN5boost15program_options16validation_errorC2ENS1_6kind_tERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_i[_ZN5boost15program_options16validation_errorC5ENS1_6kind_tERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_i]+0x5e): undefined reference to `boost::program_options::error_with_option_name::error_with_option_name(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
/tmp/ccXdJ5o0.o: In function `boost::program_options::value_semantic_codecvt_helper<char>::value_semantic_codecvt_helper()':
rfnoc_replay_samples_1_from_file.cpp:(.text._ZN5boost15program_options29value_semantic_codecvt_helperIcEC2Ev[_ZN5boost15program_options29value_semantic_codecvt_helperIcEC5Ev]+0x1b): undefined reference to `vtable for boost::program_options::value_semantic_codecvt_helper<char>'
/tmp/ccXdJ5o0.o: In function `boost::program_options::value_semantic_codecvt_helper<char>::~value_semantic_codecvt_helper()':
rfnoc_replay_samples_1_from_file.cpp:(.text._ZN5boost15program_options29value_semantic_codecvt_helperIcED2Ev[_ZN5boost15program_options29value_semantic_codecvt_helperIcED5Ev]+0xf): undefined reference to `vtable for boost::program_options::value_semantic_codecvt_helper<char>'
/tmp/ccXdJ5o0.o: In function `uhd::lookup_error::~lookup_error()':
rfnoc_replay_samples_1_from_file.cpp:(.text._ZN3uhd12lookup_errorD2Ev[_ZN3uhd12lookup_errorD5Ev]+0xf): undefined reference to `vtable for uhd::lookup_error'
/tmp/ccXdJ5o0.o: In function `std::shared_ptr<uhd::rfnoc::radio_control> uhd::rfnoc::rfnoc_graph::get_block<uhd::rfnoc::radio_control>(uhd::rfnoc::block_id_t const&) const':
rfnoc_replay_samples_1_from_file.cpp:(.text._ZNK3uhd5rfnoc11rfnoc_graph9get_blockINS0_13radio_controlEEESt10shared_ptrIT_ERKNS0_10block_id_tE[_ZNK3uhd5rfnoc11rfnoc_graph9get_blockINS0_13radio_controlEEESt10shared_ptrIT_ERKNS0_10block_id_tE]+0xbb): undefined reference to `uhd::rfnoc::block_id_t::to_string[abi:cxx11]() const'
rfnoc_replay_samples_1_from_file.cpp:(.text._ZNK3uhd5rfnoc11rfnoc_graph9get_blockINS0_13radio_controlEEESt10shared_ptrIT_ERKNS0_10block_id_tE[_ZNK3uhd5rfnoc11rfnoc_graph9get_blockINS0_13radio_controlEEESt10shared_ptrIT_ERKNS0_10block_id_tE]+0x16b): undefined reference to `uhd::lookup_error::lookup_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
rfnoc_replay_samples_1_from_file.cpp:(.text._ZNK3uhd5rfnoc11rfnoc_graph9get_blockINS0_13radio_controlEEESt10shared_ptrIT_ERKNS0_10block_id_tE[_ZNK3uhd5rfnoc11rfnoc_graph9get_blockINS0_13radio_controlEEESt10shared_ptrIT_ERKNS0_10block_id_tE]+0x1d9): undefined reference to `typeinfo for uhd::lookup_error'
/tmp/ccXdJ5o0.o: In function `std::shared_ptr<uhd::rfnoc::duc_block_control> uhd::rfnoc::rfnoc_graph::get_block<uhd::rfnoc::duc_block_control>(uhd::rfnoc::block_id_t const&) const':
rfnoc_replay_samples_1_from_file.cpp:(.text._ZNK3uhd5rfnoc11rfnoc_graph9get_blockINS0_17duc_block_controlEEESt10shared_ptrIT_ERKNS0_10block_id_tE[_ZNK3uhd5rfnoc11rfnoc_graph9get_blockINS0_17duc_block_controlEEESt10shared_ptrIT_ERKNS0_10block_id_tE]+0xbb): undefined reference to `uhd::rfnoc::block_id_t::to_string[abi:cxx11]() const'
rfnoc_replay_samples_1_from_file.cpp:(.text._ZNK3uhd5rfnoc11rfnoc_graph9get_blockINS0_17duc_block_controlEEESt10shared_ptrIT_ERKNS0_10block_id_tE[_ZNK3uhd5rfnoc11rfnoc_graph9get_blockINS0_17duc_block_controlEEESt10shared_ptrIT_ERKNS0_10block_id_tE]+0x16b): undefined reference to `uhd::lookup_error::lookup_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
rfnoc_replay_samples_1_from_file.cpp:(.text._ZNK3uhd5rfnoc11rfnoc_graph9get_blockINS0_17duc_block_controlEEESt10shared_ptrIT_ERKNS0_10block_id_tE[_ZNK3uhd5rfnoc11rfnoc_graph9get_blockINS0_17duc_block_controlEEESt10shared_ptrIT_ERKNS0_10block_id_tE]+0x1d9): undefined reference to `typeinfo for uhd::lookup_error'
/tmp/ccXdJ5o0.o: In function `std::shared_ptr<uhd::rfnoc::replay_block_control> uhd::rfnoc::rfnoc_graph::get_block<uhd::rfnoc::replay_block_control>(uhd::rfnoc::block_id_t const&) const':
rfnoc_replay_samples_1_from_file.cpp:(.text._ZNK3uhd5rfnoc11rfnoc_graph9get_blockINS0_20replay_block_controlEEESt10shared_ptrIT_ERKNS0_10block_id_tE[_ZNK3uhd5rfnoc11rfnoc_graph9get_blockINS0_20replay_block_controlEEESt10shared_ptrIT_ERKNS0_10block_id_tE]+0xbb): undefined reference to `uhd::rfnoc::block_id_t::to_string[abi:cxx11]() const'
rfnoc_replay_samples_1_from_file.cpp:(.text._ZNK3uhd5rfnoc11rfnoc_graph9get_blockINS0_20replay_block_controlEEESt10shared_ptrIT_ERKNS0_10block_id_tE[_ZNK3uhd5rfnoc11rfnoc_graph9get_blockINS0_20replay_block_controlEEESt10shared_ptrIT_ERKNS0_10block_id_tE]+0x16b): undefined reference to `uhd::lookup_error::lookup_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
rfnoc_replay_samples_1_from_file.cpp:(.text._ZNK3uhd5rfnoc11rfnoc_graph9get_blockINS0_20replay_block_controlEEESt10shared_ptrIT_ERKNS0_10block_id_tE[_ZNK3uhd5rfnoc11rfnoc_graph9get_blockINS0_20replay_block_controlEEESt10shared_ptrIT_ERKNS0_10block_id_tE]+0x1d9): undefined reference to `typeinfo for uhd::lookup_error'
/tmp/ccXdJ5o0.o: In function `boost::program_options::basic_command_line_parser<char>::basic_command_line_parser(int, char const* const*)':
rfnoc_replay_samples_1_from_file.cpp:(.text._ZN5boost15program_options25basic_command_line_parserIcEC2EiPKPKc[_ZN5boost15program_options25basic_command_line_parserIcEC5EiPKPKc]+0x81): undefined reference to `boost::program_options::detail::cmdline::cmdline(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)'
/tmp/ccXdJ5o0.o: In function `boost::program_options::basic_command_line_parser<char>::options(boost::program_options::options_description const&)':
rfnoc_replay_samples_1_from_file.cpp:(.text._ZN5boost15program_options25basic_command_line_parserIcE7optionsERKNS0_19options_descriptionE[_ZN5boost15program_options25basic_command_line_parserIcE7optionsERKNS0_19options_descriptionE]+0x1f): undefined reference to `boost::program_options::detail::cmdline::set_options_description(boost::program_options::options_description const&)'
/tmp/ccXdJ5o0.o: In function `boost::program_options::basic_command_line_parser<char>::style(int)':
rfnoc_replay_samples_1_from_file.cpp:(.text._ZN5boost15program_options25basic_command_line_parserIcE5styleEi[_ZN5boost15program_options25basic_command_line_parserIcE5styleEi]+0x1c): undefined reference to `boost::program_options::detail::cmdline::style(int)'
/tmp/ccXdJ5o0.o: In function `boost::program_options::basic_command_line_parser<char>::extra_parser(boost::function1<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>)':
rfnoc_replay_samples_1_from_file.cpp:(.text._ZN5boost15program_options25basic_command_line_parserIcE12extra_parserENS_9function1ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_ERKSA_EE[_ZN5boost15program_options25basic_command_line_parserIcE12extra_parserENS_9function1ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_ERKSA_EE]+0x42): undefined reference to `boost::program_options::detail::cmdline::set_additional_parser(boost::function1<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>)'
/tmp/ccXdJ5o0.o: In function `boost::program_options::basic_command_line_parser<char>::run()':
rfnoc_replay_samples_1_from_file.cpp:(.text._ZN5boost15program_options25basic_command_line_parserIcE3runEv[_ZN5boost15program_options25basic_command_line_parserIcE3runEv]+0x28): undefined reference to `boost::program_options::detail::cmdline::get_canonical_option_prefix()'
rfnoc_replay_samples_1_from_file.cpp:(.text._ZN5boost15program_options25basic_command_line_parserIcE3runEv[_ZN5boost15program_options25basic_command_line_parserIcE3runEv]+0x54): undefined reference to `boost::program_options::detail::cmdline::run()'
/tmp/ccXdJ5o0.o: In function `std::shared_ptr<uhd::rfnoc::radio_control> std::dynamic_pointer_cast<uhd::rfnoc::radio_control, uhd::rfnoc::noc_block_base>(std::shared_ptr<uhd::rfnoc::noc_block_base> const&)':
rfnoc_replay_samples_1_from_file.cpp:(.text._ZSt20dynamic_pointer_castIN3uhd5rfnoc13radio_controlENS1_14noc_block_baseEESt10shared_ptrIT_ERKS4_IT0_E[_ZSt20dynamic_pointer_castIN3uhd5rfnoc13radio_controlENS1_14noc_block_baseEESt10shared_ptrIT_ERKS4_IT0_E]+0x30): undefined reference to `typeinfo for uhd::rfnoc::noc_block_base'
/tmp/ccXdJ5o0.o: In function `std::shared_ptr<uhd::rfnoc::duc_block_control> std::dynamic_pointer_cast<uhd::rfnoc::duc_block_control, uhd::rfnoc::noc_block_base>(std::shared_ptr<uhd::rfnoc::noc_block_base> const&)':
rfnoc_replay_samples_1_from_file.cpp:(.text._ZSt20dynamic_pointer_castIN3uhd5rfnoc17duc_block_controlENS1_14noc_block_baseEESt10shared_ptrIT_ERKS4_IT0_E[_ZSt20dynamic_pointer_castIN3uhd5rfnoc17duc_block_controlENS1_14noc_block_baseEESt10shared_ptrIT_ERKS4_IT0_E]+0x30): undefined reference to `typeinfo for uhd::rfnoc::noc_block_base'
/tmp/ccXdJ5o0.o: In function `std::shared_ptr<uhd::rfnoc::replay_block_control> std::dynamic_pointer_cast<uhd::rfnoc::replay_block_control, uhd::rfnoc::noc_block_base>(std::shared_ptr<uhd::rfnoc::noc_block_base> const&)':
rfnoc_replay_samples_1_from_file.cpp:(.text._ZSt20dynamic_pointer_castIN3uhd5rfnoc20replay_block_controlENS1_14noc_block_baseEESt10shared_ptrIT_ERKS4_IT0_E[_ZSt20dynamic_pointer_castIN3uhd5rfnoc20replay_block_controlENS1_14noc_block_baseEESt10shared_ptrIT_ERKS4_IT0_E]+0x30): undefined reference to `typeinfo for uhd::rfnoc::noc_block_base'
/tmp/ccXdJ5o0.o: In function `int const& uhd::rfnoc::node_t::get_property<int>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, uhd::rfnoc::res_source_info const&)':
rfnoc_replay_samples_1_from_file.cpp:(.text._ZN3uhd5rfnoc6node_t12get_propertyIiEERKT_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_15res_source_infoE[_ZN3uhd5rfnoc6node_t12get_propertyIiEERKT_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_15res_source_infoE]+0xb4): undefined reference to `uhd::_log::log::log(uhd::log::severity_level, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::thread::id)'
rfnoc_replay_samples_1_from_file.cpp:(.text._ZN3uhd5rfnoc6node_t12get_propertyIiEERKT_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_15res_source_infoE[_ZN3uhd5rfnoc6node_t12get_propertyIiEERKT_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_15res_source_infoE]+0x162): undefined reference to `uhd::_log::log::~log()'
rfnoc_replay_samples_1_from_file.cpp:(.text._ZN3uhd5rfnoc6node_t12get_propertyIiEERKT_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_15res_source_infoE[_ZN3uhd5rfnoc6node_t12get_propertyIiEERKT_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_15res_source_infoE]+0x19e): undefined reference to `uhd::rfnoc::node_t::resolve_all()'
rfnoc_replay_samples_1_from_file.cpp:(.text._ZN3uhd5rfnoc6node_t12get_propertyIiEERKT_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_15res_source_infoE[_ZN3uhd5rfnoc6node_t12get_propertyIiEERKT_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_15res_source_infoE]+0x1e8): undefined reference to `uhd::rfnoc::node_t::_find_property(uhd::rfnoc::res_source_info, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
rfnoc_replay_samples_1_from_file.cpp:(.text._ZN3uhd5rfnoc6node_t12get_propertyIiEERKT_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_15res_source_infoE[_ZN3uhd5rfnoc6node_t12get_propertyIiEERKT_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_15res_source_infoE]+0x23c): undefined reference to `uhd::rfnoc::node_t::_request_property_access(uhd::rfnoc::property_base_t*, uhd::rfnoc::property_base_t::access_t) const'
rfnoc_replay_samples_1_from_file.cpp:(.text._ZN3uhd5rfnoc6node_t12get_propertyIiEERKT_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_15res_source_infoE[_ZN3uhd5rfnoc6node_t12get_propertyIiEERKT_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_15res_source_infoE]+0x2b2): undefined reference to `uhd::_log::log::~log()'
/tmp/ccXdJ5o0.o: In function `std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > boost::program_options::to_internal<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)':
rfnoc_replay_samples_1_from_file.cpp:(.text._ZN5boost15program_options11to_internalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESt6vectorIS7_SaIS7_EERKS8_IT_SaISB_EE[_ZN5boost15program_options11to_internalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESt6vectorIS7_SaIS7_EERKS8_IT_SaISB_EE]+0x6c): undefined reference to `boost::program_options::to_internal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/tmp/ccXdJ5o0.o: In function `uhd::access_error::~access_error()':
rfnoc_replay_samples_1_from_file.cpp:(.text._ZN3uhd12access_errorD2Ev[_ZN3uhd12access_errorD5Ev]+0xf): undefined reference to `vtable for uhd::access_error'
/tmp/ccXdJ5o0.o: In function `uhd::rfnoc::property_t<int>::get() const':
rfnoc_replay_samples_1_from_file.cpp:(.text._ZNK3uhd5rfnoc10property_tIiE3getEv[_ZNK3uhd5rfnoc10property_tIiE3getEv]+0x133): undefined reference to `uhd::access_error::access_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
rfnoc_replay_samples_1_from_file.cpp:(.text._ZNK3uhd5rfnoc10property_tIiE3getEv[_ZNK3uhd5rfnoc10property_tIiE3getEv]+0x1a1): undefined reference to `typeinfo for uhd::access_error'
rfnoc_replay_samples_1_from_file.cpp:(.text._ZNK3uhd5rfnoc10property_tIiE3getEv[_ZNK3uhd5rfnoc10property_tIiE3getEv]+0x26e): undefined reference to `uhd::access_error::access_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
rfnoc_replay_samples_1_from_file.cpp:(.text._ZNK3uhd5rfnoc10property_tIiE3getEv[_ZNK3uhd5rfnoc10property_tIiE3getEv]+0x2af): undefined reference to `typeinfo for uhd::access_error'
/tmp/ccXdJ5o0.o:(.data.rel.ro._ZTVN5boost15program_options11typed_valueIdcEE[_ZTVN5boost15program_options11typed_valueIdcEE]+0x38): undefined reference to `boost::program_options::value_semantic_codecvt_helper<char>::parse(boost::any&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, bool) const'
/tmp/ccXdJ5o0.o:(.data.rel.ro._ZTVN5boost15program_options11typed_valueImcEE[_ZTVN5boost15program_options11typed_valueImcEE]+0x38): undefined reference to `boost::program_options::value_semantic_codecvt_helper<char>::parse(boost::any&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, bool) const'
/tmp/ccXdJ5o0.o:(.data.rel.ro._ZTVN5boost15program_options11typed_valueINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEE[_ZTVN5boost15program_options11typed_valueINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEE]+0x38): undefined reference to `boost::program_options::value_semantic_codecvt_helper<char>::parse(boost::any&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, bool) const'
/tmp/ccXdJ5o0.o:(.data.rel.ro._ZTVN5boost15program_options20invalid_option_valueE[_ZTVN5boost15program_options20invalid_option_valueE]+0x20): undefined reference to `boost::program_options::error_with_option_name::what() const'
/tmp/ccXdJ5o0.o:(.data.rel.ro._ZTVN5boost15program_options20invalid_option_valueE[_ZTVN5boost15program_options20invalid_option_valueE]+0x30): undefined reference to `boost::program_options::error_with_option_name::substitute_placeholders(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/tmp/ccXdJ5o0.o:(.data.rel.ro._ZTVN5boost15program_options16validation_errorE[_ZTVN5boost15program_options16validation_errorE]+0x20): undefined reference to `boost::program_options::error_with_option_name::what() const'
/tmp/ccXdJ5o0.o:(.data.rel.ro._ZTVN5boost15program_options16validation_errorE[_ZTVN5boost15program_options16validation_errorE]+0x30): undefined reference to `boost::program_options::error_with_option_name::substitute_placeholders(std::__cxx11::ba
cigien
  • 55,661
  • 11
  • 60
  • 99
  • Looks like your compiler command isn't specifying any libraries to link to, you need to look to boost program options and other libraries. – Alan Birtles Aug 26 '21 at 06:21

0 Answers0