Build Problem: gr-osmosdr and FreeBSD

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-sdr@lists.osmocom.org/.

Kevin McQuiggin mcquiggi at sfu.ca
Fri Feb 14 19:32:04 UTC 2014


Hi All:

I have gnuradio 3.6 running under FreeBSD 9.2.  This is the latest port of gnuradio on that platform.

I would like to build gr-osmosdr so that I can use my Realtek USB dongle under gnuradio-companion.

I followed the procedure at http://sdr.osmocom.org/trac/wiki/GrOsmoSDR:

1) Got the source:
git clone git://git.osmocom.org/gr-osmosdr
cd gr-osmosdr/

2) Followed the direction for use with gnuradio 3.6:
git checkout gr3.6

3) Created the build environment:
mkdir build
cd build/
cmake ../
4) However, "make" fails with the following error:
make
[ 24%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/rtl/rtl_source_c.cc.o
/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)':
/home/kevin/gr-osmosdr/lib/rtl/rtl_source_c.cc:468: error: 'RTLSDR_TUNER_R828D' was not declared in this scope
/usr/local/include/boost/system/error_code.hpp: At global scope:
/usr/local/include/boost/system/error_code.hpp:222: warning: 'boost::system::posix_category' defined but not used
/usr/local/include/boost/system/error_code.hpp:223: warning: 'boost::system::errno_ecat' defined but not used
/usr/local/include/boost/system/error_code.hpp:224: warning: 'boost::system::native_ecat' defined but not used
*** [lib/CMakeFiles/gnuradio-osmosdr.dir/rtl/rtl_source_c.cc.o] Error code 1

Stop in /usr/home/kevin/gr-osmosdr/build.
*** [lib/CMakeFiles/gnuradio-osmosdr.dir/all] Error code 1

Stop in /usr/home/kevin/gr-osmosdr/build.
*** [all] Error code 1

Stop in /usr/home/kevin/gr-osmosdr/build.

I did some research on the error and the missing declaration.

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.

Just thought I'd ask if anyone else has experienced this, and whether there is a known solution.

Thanks,

Kevin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/osmocom-sdr/attachments/20140214/5f3ed029/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.osmocom.org/pipermail/osmocom-sdr/attachments/20140214/5f3ed029/attachment.bin>


More information about the osmocom-sdr mailing list