Compile Fail

Youpi Youpla lg.strat at gmail.com
Thu Dec 5 03:59:23 UTC 2013


Hi Dimitry,

That solved the issue. Thanks for the git push.

There's a new issue when compiling i'm now ;

[ 84%] Building CXX object
lib/CMakeFiles/gnuradio-osmosdr.dir/bladerf/bladerf_sink_c.cc.o
[ 87%] Building CXX object
lib/CMakeFiles/gnuradio-osmosdr.dir/bladerf/bladerf_common.cc.o
/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) )
                                         ^
[ 90%] Building CXX object
lib/CMakeFiles/gnuradio-osmosdr.dir/netsdr/netsdr_source_c.cc.o
/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[2]: *** Waiting for unfinished jobs....
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc: In member function
‘virtual double uhd_source_c::set_bandwidth(double, size_t)’:
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:314:16: error: ‘class
uhd_usrp_source’ has no member named ‘get_bandwidth’
   return _src->get_bandwidth(chan);
                ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc: In member function
‘virtual double uhd_source_c::get_bandwidth(size_t)’:
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:319:16: error: ‘class
uhd_usrp_source’ has no member named ‘get_bandwidth’
   return _src->get_bandwidth(chan);
                ^
In file included from
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:21:0:
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc: In member function
‘virtual osmosdr::freq_range_t uhd_source_c::get_bandwidth_range(size_t)’:
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:326:41: error: ‘class
uhd_usrp_source’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _src->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:326:41: error: ‘class
uhd_usrp_source’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _src->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:326:41: error: ‘class
uhd_usrp_source’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _src->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:326:41: error: ‘class
uhd_usrp_source’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _src->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:326:41: error: ‘class
uhd_usrp_source’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _src->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:326:41: error: ‘class
uhd_usrp_source’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _src->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:326:41: error: ‘class
uhd_usrp_source’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _src->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:326:41: error: ‘class
uhd_usrp_source’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _src->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:326:41: error: ‘class
uhd_usrp_source’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _src->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:326:41: error: ‘class
uhd_usrp_source’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _src->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:326:41: error: ‘class
uhd_usrp_source’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _src->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:326:41: error: ‘class
uhd_usrp_source’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _src->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:326:41: error: ‘class
uhd_usrp_source’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _src->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:326:41: error: ‘class
uhd_usrp_source’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _src->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:326:41: error: ‘class
uhd_usrp_source’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _src->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:326:41: error: ‘class
uhd_usrp_source’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _src->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:326:41: error: ‘class
uhd_usrp_source’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _src->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:326:41: error: ‘class
uhd_usrp_source’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _src->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:326:41: error: ‘class
uhd_usrp_source’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _src->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:326:41: error: ‘class
uhd_usrp_source’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _src->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:326:41: error: ‘class
uhd_usrp_source’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _src->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:326:41: error: ‘class
uhd_usrp_source’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _src->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:326:41: error: ‘class
uhd_usrp_source’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _src->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:326:41: error: ‘class
uhd_usrp_source’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _src->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:326:41: error: ‘class
uhd_usrp_source’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _src->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:326:41: error: ‘class
uhd_usrp_source’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _src->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:326:41: error: ‘class
uhd_usrp_source’ has no member named ‘get_bandwidth_range’
   BOOST_FOREACH( uhd::range_t bw, _src->get_bandwidth_range(chan) )
                                         ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc: In member function
‘virtual double uhd_source_c::set_bandwidth(double, size_t)’:
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:315:1: warning: control
reaches end of non-void function [-Wreturn-type]
 }
 ^
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc: In member function
‘virtual double uhd_source_c::get_bandwidth(size_t)’:
/home/RFTEST/GSM/gr-osmosdr/lib/uhd/uhd_source_c.cc:320:1: warning: control
reaches end of non-void function [-Wreturn-type]
 }
 ^
make[2]: *** [lib/CMakeFiles/gnuradio-osmosdr.dir/uhd/uhd_source_c.cc.o]
Error 1
/home/RFTEST/GSM/gr-osmosdr/lib/netsdr/netsdr_source_c.cc: In member
function ‘bool netsdr_source_c::transaction(const unsigned char*, size_t,
std::vector<unsigned char>&)’:
/home/RFTEST/GSM/gr-osmosdr/lib/netsdr/netsdr_source_c.cc:399:25: warning:
ignoring return value of ‘ssize_t write(int, const void*, size_t)’,
declared with attribute warn_unused_result [-Wunused-result]
   write(_tcp, cmd, size);
                         ^
make[1]: *** [lib/CMakeFiles/gnuradio-osmosdr.dir/all] Error 2
make: *** [all] Error 2

What should cause this error ?
Also, where should I be able to update to a recent UHD ?

Thanks again.


2013/12/4 Dimitri Stolnikov <horiz0n at gmx.net>

> Hi Youpi,
>
> you have to update to a recent UHD, pull the gr3.6 branch of gr-osmosdr
> again
> (i've pushed a change that should fix the boost issue), rebuild & install.
>
>
> Best regards,
> Dimitri
>
>
> On Wed, 04 Dec 2013 23:38:03 +0100, Youpi Youpla <lg.strat at gmail.com>
> wrote:
>
>
>  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: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 !
>>
>> [ 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/f86e69ec/attachment.html>


More information about the osmocom-sdr mailing list