(1) tarball GNU Radio 3.2.2 has Make error with boost_1_39_0,
boost_1_40_0, boost_1_41_0, boost_1_43_0 with or without
–prefix=/opt/boost_1_4*_0 (where boost is installed)
/bin/bash …/…/…/libtool --tag=CXX --mode=link g++ -g -O2 -Wall
-Woverloaded-virtual -pthread -o test_usrp_standard_tx
test_usrp_standard_tx.o time_stuff.o
/home/titan1/Downloads/gnuradio-3.2.2/usrp/host/lib/legacy/libusrp.la
http://libusrp.la -L/opt/boost_1_41_0/lib -lboost_program_options
libtool: link: g++ -g -O2 -Wall -Woverloaded-virtual -pthread -o
.libs/test_usrp_standard_tx test_usrp_standard_tx.o time_stuff.o
/home/titan1/Downloads/gnuradio-3.2.2/usrp/host/lib/legacy/.libs/libusrp.so
-L/opt/boost_1_41_0/lib /usr/lib/libusb.so -lboost_thread -lrt
-lboost_program_options -pthread
test_usrp_standard_tx.o: In function main': /home/titan1/Downloads/gnuradio-3.2.2/usrp/host/apps/test_usrp_standard_tx.cc:186: undefined reference to
boost::program_options::options_description::options_description(std::basic_string<char,
std::char_traits, std::allocator > const&, unsigned int,
unsigned int)’
test_usrp_standard_tx.o: In function get_single_string<char>': /usr/local/include/boost/program_options/detail/value_semantic.hpp:58: undefined reference to
boost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t,
std::basic_string<char, std::char_traits, std::allocator >
const&, std::basic_string<char, std::char_traits,
std::allocator > const&)’
/usr/local/include/boost/program_options/detail/value_semantic.hpp:62:
undefined reference to
`boost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t,
std::basic_string<char, std::char_traits, std::allocator >
const&, std::basic_string<char, std::char_traits,
std::allocator > const&)’
collect2: ld returned 1 exit status
make[4]: *** [test_usrp_standard_tx] Error 1
(3) GNU Radio 3.3 release has Make error with boost_1_43_0, save as the
above undefined reference errors about boost::program_options:
/home/titan1/Downloads/gnuradio-3.2.2/usrp/host/apps/test_usrp_standard_tx.cc:186:
undefined reference to
`boost::program_options::options_description::options_description(std::basic_string<char,
std::char_traits, std::allocator > const&, unsigned int,
unsigned int)’