Install gnuradio on E100

Hi, All,

I try to reinstall gnuradio (3.5.0rc0) on E100 with
$ cmake
-DCMAKE_TOOLCHAIN_FILE=…/cmake/Toolchains/arm_cortex_a8_native.cmake
…/
$ make
I got errors when build gruel.
How can I fix it?
Before this, I got errors for unidentified gcc when cmake, so I
opkg remove gcc
and then
opkg install gcc
opkg install gcc-symlink

Thanks,
Pei

[ 2%] Built target gruel
make[2]: Warning: File /usr/lib/libcppunit.so' has modification time 20764434 s in the future Linking CXX executable test_gruel CMakeFiles/test_gruel.dir/test_gruel.cc.o: In functionglobal
constructors keyed to main’:
test_gruel.cc:(.text+0x2c): undefined reference to
boost::system::generic_category()' test_gruel.cc:(.text+0x34): undefined reference toboost::system::generic_category()’
test_gruel.cc:(.text+0x3c): undefined reference to
boost::system::system_category()' CMakeFiles/test_gruel.dir/test_gruel.cc.o: In functionboost::enable_if<boost::filesystem2::is_basic_path<boost::filesystem2::basic_path<std::basic_string<char,
std::char_traits, std::allocator >,
boost::filesystem2::path_traits> >, bool>::type
boost::filesystem2::create_directory<boost::filesystem2::basic_path<std::basic_string<char,
std::char_traits, std::allocator >,
boost::filesystem2::path_traits>

(boost::filesystem2::basic_path<std::basic_string<char,
std::char_traits, std::allocator >,
boost::filesystem2::path_traits> const&)’:
test_gruel.cc:(.text.ZN5boost11filesystem216create_directoryINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EEbE4typeERKS7[boost::enable_if<boost::filesystem2::is_basic_path<boost::filesystem2::basic_path<std::basic_string<char,
std::char_traits, std::allocator >,
boost::filesystem2::path_traits> >, bool>::type
boost::filesystem2::create_directory<boost::filesystem2::basic_path<std::basic_string<char,
std::char_traits, std::allocator >,
boost::filesystem2::path_traits>
(boost::filesystem2::basic_path<std::basic_string<char,
std::char_traits, std::allocator >,
boost::filesystem2::path_traits> const&)]+0x44): undefined reference to
boost::filesystem2::detail::create_directory_api(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' CMakeFiles/test_gruel.dir/test_gruel.cc.o: In functionboost::filesystem2::basic_path<std::basic_string<char,
std::char_traits, std::allocator >,
boost::filesystem2::path_traits>
boost::filesystem2::current_path<boost::filesystem2::basic_path<std::basic_string<char,
std::char_traits, std::allocator >,
boost::filesystem2::path_traits> >()’:
test_gruel.cc:(.text._ZN5boost11filesystem212current_pathINS0_10basic_pathISsNS0_11path_traitsEEEEET_v[boost::filesystem2::basic_path<std::basic_string<char,
std::char_traits, std::allocator >,
boost::filesystem2::path_traits>
boost::filesystem2::current_path<boost::filesystem2::basic_path<std::basic_string<char,
std::char_traits, std::allocator >,
boost::filesystem2::path_traits> >()]+0x20): undefined reference to
boost::filesystem2::detail::get_current_path_api(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)' CMakeFiles/test_gruel.dir/test_gruel.cc.o: In functionboost::enable_if<boost::filesystem2::is_basic_path<boost::filesystem2::basic_path<std::basic_string<char,
std::char_traits, std::allocator >,
boost::filesystem2::path_traits> >, bool>::type
boost::filesystem2::is_directory<boost::filesystem2::basic_path<std::basic_string<char,
std::char_traits, std::allocator >,
boost::filesystem2::path_traits>
(boost::filesystem2::basic_path<std::basic_string<char,
std::char_traits, std::allocator >,
boost::filesystem2::path_traits> const&)’:
test_gruel.cc:(.text.ZN5boost11filesystem212is_directoryINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EEbE4typeERKS7[boost::enable_if<boost::filesystem2::is_basic_path<boost::filesystem2::basic_path<std::basic_string<char,
std::char_traits, std::allocator >,
boost::filesystem2::path_traits> >, bool>::type
boost::filesystem2::is_directory<boost::filesystem2::basic_path<std::basic_string<char,
std::char_traits, std::allocator >,
boost::filesystem2::path_traits>
(boost::filesystem2::basic_path<std::basic_string<char,
std::char_traits, std::allocator >,
boost::filesystem2::path_traits> const&)]+0x14): undefined reference to
boost::system::system_category()' test_gruel.cc:(.text._ZN5boost11filesystem212is_directoryINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EEbE4typeERKS7_[boost::enable_if<boost::filesystem2::is_basic_path<boost::filesystem2::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem2::path_traits> >, bool>::type boost::filesystem2::is_directory<boost::filesystem2::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem2::path_traits> (boost::filesystem2::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem2::path_traits> const&)]+0x54): undefined reference toboost::filesystem2::detail::status_api(std::basic_string<char,
std::char_traits, std::allocator > const&,
boost::system::error_code&)’
collect2: ld returned 1 exit status
make[2]: *** [gruel/src/lib/test_gruel] Error 1
make[1]: *** [gruel/src/lib/CMakeFiles/test_gruel.dir/all] Error 2
make: *** [all] Error 2

On 11/14/2011 11:21 PM, Daniel D. wrote:

Hi, All,

I try to reinstall gnuradio (3.5.0rc0) on E100 with
$ cmake -DCMAKE_TOOLCHAIN_FILE=…/cmake/Toolchains/arm_cortex_a8_native.cmake
…/
$ make
I got errors when build gruel.
How can I fix it?

It looks like a problem with boost. If you grab the latest sd card image
you should have much better luck. The gnuradio install was also build
native on that very image so it should definitely work for you.

http://comments.gmane.org/gmane.comp.hardware.usrp.e100/2021

Cheers,
-Josh