Using Ubuntu 16.04, Have guradio 3.7.12git-231  master branch
gnuradio runs fine.

The old version of Osmocom no longer runs (after some years), so
I started rebuild of gr-osmocom from scratch by cloning from
git.osmocom.org/gr-osmosdr
my current appliation is to get rtl-sdr running using Osmocom.

Are there  packages I must install to allow gr-osmocom to compile?


Running CMAKE succeeds, with some missing packages:


-- ######################################################
-- # Gnuradio enabled components
-- ######################################################
--   * Python support
--   * Osmocom IQ Imbalance Correction
--   * FUNcube Dongle
--   * IQ File Source & Sink
--   * Osmocom RTLSDR
--   * RTLSDR TCP Client
--   * Ettus USRP Devices
--   * HackRF & rad1o Badge
--   * nuand bladeRF
--   * RFSPACE Receivers
--   * Red Pitaya SDR
-- 
-- ######################################################
-- # Gnuradio disabled components
-- ######################################################
--   * sysmocom OsmoSDR
--   * FUNcube Dongle Pro+
--   * Osmocom MiriSDR
--   * AIRSPY Receiver
--   * SoapySDR support
--   * FreeSRP support
-- 
-- Building for version: v0.1.4-98-gc653754d / 0.1.5git
-- Using install prefix: /usr/local
-- Configuring done
-- Generating done
-- Build files have been written to: /home/tom/gr-osmosdr/build



MAKE then fails:

tom@tom-XPS-8500:~/gr-osmosdr/build$ make
Scanning dependencies of target gnuradio-osmosdr
[  2%] Building CXX object
lib/CMakeFiles/gnuradio-osmosdr.dir/source_impl.cc.o
[  4%] Building CXX object
lib/CMakeFiles/gnuradio-osmosdr.dir/sink_impl.cc.o
[  6%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/ranges.cc.o
[  8%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/device.cc.o
[ 11%] Building CXX object
lib/CMakeFiles/gnuradio-osmosdr.dir/time_spec.cc.o
[ 13%] Building CXX object
lib/CMakeFiles/gnuradio-osmosdr.dir/fcd/fcd_source_c.cc.o
[ 15%] Building CXX object
lib/CMakeFiles/gnuradio-osmosdr.dir/file/file_source_c.cc.o
[ 17%] Building CXX object
lib/CMakeFiles/gnuradio-osmosdr.dir/file/file_sink_c.cc.o
[ 20%] Building CXX object
lib/CMakeFiles/gnuradio-osmosdr.dir/rtl/rtl_source_c.cc.o
/home/tom/gr-osmosdr/lib/rtl/rtl_source_c.cc: In constructor
‘rtl_source_c::rtl_source_c(const string&)’:
/home/tom/gr-osmosdr/lib/rtl/rtl_source_c.cc:224:43: error:
‘rtlsdr_set_bias_tee’ was not declared in this scope
   ret = rtlsdr_set_bias_tee(_dev, bias_tee);
                                           ^
lib/CMakeFiles/gnuradio-osmosdr.dir/build.make:254: recipe for target
'lib/CMakeFiles/gnuradio-osmosdr.dir/rtl/rtl_source_c.cc.o' failed
make[2]: *** [lib/CMakeFiles/gnuradio-osmosdr.dir/rtl/rtl_source_c.cc.o]
Error 1
CMakeFiles/Makefile2:135: recipe for target
'lib/CMakeFiles/gnuradio-osmosdr.dir/all' failed
make[1]: *** [lib/CMakeFiles/gnuradio-osmosdr.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
tom@tom-XPS-8500:~/gr-osmosdr/build$
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to