Compile fail

Youpi Youpla lg.strat at gmail.com
Wed Dec 4 21:33:24 UTC 2013


Hi list,

Thanks for your software it's awesome !

I'm currently experiencing issue building gr-osmosdr.
This is my gnuradio configuration:
#gnuradio-config-info -v
3.6.1

This command was used to download gr-osmosdr:
git clone git://git.osmocom.org/gr-osmosdr
then:
git checkout gr3.6 && mkdir build&&cd build&&cmake ../

Cmake generate everything without errors, however when I run make -j8 I get
the following output:

[ 75%] Building CXX object
lib/CMakeFiles/gnuradio-osmosdr.dir/uhd/uhd_sink_c.cc.o
/home/RFTEST/GSM/gr-osmosdr/lib/file/file_source_c.cc: In member function
‘virtual double file_source_c::set_sample_rate(double)’:
/home/RFTEST/GSM/gr-osmosdr/lib/file/file_source_c.cc:133:18: error:
‘format’ is not a member of ‘boost’
     std::cerr << boost::format("WARNING: Overriding original sample rate
of %g with %g")
                  ^
make[2]: *** [lib/CMakeFiles/gnuradio-osmosdr.dir/file/file_source_c.cc.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc: In member function
‘virtual double uhd_sink_c::set_bandwidth(double, size_t)’:
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:290:16: error: ‘class
uhd_usrp_sink’ has no member named ‘get_bandwidth’
   return _snk->get_bandwidth(chan);
                ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc: In member function
‘virtual double uhd_sink_c::get_bandwidth(size_t)’:
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:295:16: error: ‘class
uhd_usrp_sink’ has no member named ‘get_bandwidth’
   return _snk->get_bandwidth(chan);
                ^
In file included from
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:21:0:
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc: In member function
‘virtual osmosdr::freq_range_t uhd_sink_c::get_bandwidth_range(size_t)’:
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:302:41: error: ‘class
uhd_usrp_sink’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _snk->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:302:41: error: ‘class
uhd_usrp_sink’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _snk->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:302:41: error: ‘class
uhd_usrp_sink’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _snk->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:302:41: error: ‘class
uhd_usrp_sink’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _snk->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:302:41: error: ‘class
uhd_usrp_sink’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _snk->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:302:41: error: ‘class
uhd_usrp_sink’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _snk->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:302:41: error: ‘class
uhd_usrp_sink’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _snk->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:302:41: error: ‘class
uhd_usrp_sink’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _snk->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:302:41: error: ‘class
uhd_usrp_sink’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _snk->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:302:41: error: ‘class
uhd_usrp_sink’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _snk->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:302:41: error: ‘class
uhd_usrp_sink’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _snk->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:302:41: error: ‘class
uhd_usrp_sink’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _snk->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:302:41: error: ‘class
uhd_usrp_sink’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _snk->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:302:41: error: ‘class
uhd_usrp_sink’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _snk->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:302:41: error: ‘class
uhd_usrp_sink’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _snk->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:302:41: error: ‘class
uhd_usrp_sink’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _snk->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:302:41: error: ‘class
uhd_usrp_sink’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _snk->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:302:41: error: ‘class
uhd_usrp_sink’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _snk->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:302:41: error: ‘class
uhd_usrp_sink’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _snk->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:302:41: error: ‘class
uhd_usrp_sink’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _snk->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:302:41: error: ‘class
uhd_usrp_sink’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _snk->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:302:41: error: ‘class
uhd_usrp_sink’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _snk->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:302:41: error: ‘class
uhd_usrp_sink’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _snk->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:302:41: error: ‘class
uhd_usrp_sink’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _snk->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:302:41: error: ‘class
uhd_usrp_sink’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _snk->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:302:41: error: ‘class
uhd_usrp_sink’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _snk->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:302:41: error: ‘class
uhd_usrp_sink’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _snk->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc: In member function
‘virtual double uhd_sink_c::set_bandwidth(double, size_t)’:
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:291:1: warning: control
reaches end of non-void function [-Wreturn-type]
 }
 ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc: In member function
‘virtual double uhd_sink_c::get_bandwidth(size_t)’:
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_sink_c.cc:296:1: warning: control
reaches end of non-void function [-Wreturn-type]
 }
 ^
make[2]: *** [lib/CMakeFiles/gnuradio-osmosdr.dir/uhd/uhd_sink_c.cc.o]
Error 1
make[1]: *** [lib/CMakeFiles/gnuradio-osmosdr.dir/all] Error 2
make: *** [all] Error 2


Am I'm missing a library or something ?

Thanks !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/osmocom-sdr/attachments/20131204/0127e6ce/attachment.html>


More information about the osmocom-sdr mailing list