<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi All:<div><br></div><div>I have gnuradio 3.6 running under FreeBSD 9.2.  This is the latest port of gnuradio on that platform.</div><div><br></div><div>I would like to build gr-osmosdr so that I can use my Realtek USB dongle under gnuradio-companion.</div><div><br></div><div>I followed the procedure at <a href="http://sdr.osmocom.org/trac/wiki/GrOsmoSDR:">http://sdr.osmocom.org/trac/wiki/GrOsmoSDR:</a></div><div><br></div><div>1) Got the source:</div><div><pre class="wiki">git clone <a href="git://git.osmocom.org/gr-osmosdr">git://git.osmocom.org/gr-osmosdr</a>
cd gr-osmosdr/</pre><div><br></div></div><div>2) Followed the direction for use with gnuradio 3.6:</div><div><pre class="wiki">git checkout gr3.6</pre><div><br></div></div><div>3) Created the build environment:</div><div><pre class="wiki">mkdir build
cd build/
cmake ../</pre><div style="font-family: monospace; white-space: pre;"></div></div><div>4) However, "make" fails with the following error:</div><div><pre class="wiki"><div><pre class="wiki">make</pre><div><font face="Helvetica"><span style="white-space: normal;">[ 24%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/rtl/rtl_source_c.cc.o<br>/home/kevin/gr-osmosdr/lib/rtl/rtl_source_c.cc: In member function 'virtual osmosdr::freq_range_t rtl_source_c::get_freq_range(size_t)':<br>/home/kevin/gr-osmosdr/lib/rtl/rtl_source_c.cc:468: error: 'RTLSDR_TUNER_R828D' was not declared in this scope<br>/usr/local/include/boost/system/error_code.hpp: At global scope:<br>/usr/local/include/boost/system/error_code.hpp:222: warning: 'boost::system::posix_category' defined but not used<br>/usr/local/include/boost/system/error_code.hpp:223: warning: 'boost::system::errno_ecat' defined but not used<br>/usr/local/include/boost/system/error_code.hpp:224: warning: 'boost::system::native_ecat' defined but not used<br>*** [lib/CMakeFiles/gnuradio-osmosdr.dir/rtl/rtl_source_c.cc.o] Error code 1<br><br>Stop in /usr/home/kevin/gr-osmosdr/build.<br>*** [lib/CMakeFiles/gnuradio-osmosdr.dir/all] Error code 1<br><br>Stop in /usr/home/kevin/gr-osmosdr/build.<br>*** [all] Error code 1<br><br>Stop in /usr/home/kevin/gr-osmosdr/build.<br><br></span></font></div><div><span style="font-family: Helvetica; white-space: normal;">I did some research on the error and the missing declaration.</span></div><div><span style="font-family: Helvetica; white-space: normal;"><br></span></div><div><span style="font-family: Helvetica; white-space: normal;">While there is a previous post from another person who experienced this error, I can't follow the proven solution of "upgrade to gnuradio 3.7" as I expect that this would not be trivial, and in fact very complex, under FreeBSD.  I have no porting/port conversion experience.</span></div></div><div><div style="font-family: Helvetica; white-space: normal;"><br></div><div style="font-family: Helvetica; white-space: normal;">Just thought I'd ask if anyone else has experienced this, and whether there is a known solution.</div><div style="font-family: Helvetica; white-space: normal;"><br></div><div style="font-family: Helvetica; white-space: normal;">Thanks,</div><div style="font-family: Helvetica; white-space: normal;"><br></div><div style="font-family: Helvetica; white-space: normal;">Kevin</div></div><div><br></div></pre></div></body></html>