Many thanks for your help Ron. I did a git checkout of cf954948 That resolved the rtl-sdr compiler error but introduced a blade rf compile error. I then re-did the cmake with -DENABLE_BLADERF=OFF and got a clean make and clean make install.
However now at runtime I get the error: traceback (most recent call last): File "/home/tom/Desktop/GRC Flowgraphs/RTL2832 + DSTAR NOAA etc/top_block.py", line 31, in <module> import osmosdr File "/usr/local/lib/python2.7/dist-packages/osmosdr/__init__.py", line 26, in <module> from osmosdr_swig import * File "/usr/local/lib/python2.7/dist-packages/osmosdr/osmosdr_swig.py", line 28, in <module> _osmosdr_swig = swig_import_helper() File "/usr/local/lib/python2.7/dist-packages/osmosdr/osmosdr_swig.py", line 24, in swig_import_helper _mod = imp.load_module('_osmosdr_swig', fp, pathname, description) ImportError: libboost_date_time.so.1.54.0: cannot open shared object file: No such file or directory I have boost 1.58 installed. Is boost 1.54 date_time something different that needs to be in addition to boost 1.58 ? If so, how would one install just a part of the boost library from a previous version? -- Tom On Thu, Sep 21, 2017 at 12:05 PM, Ron Economos <w...@comcast.net> wrote: > It's due to a mismatch between gr-osmosdr and the Ubuntu 16.04 rtlsdr > library. There are a few different solutions to this problem. > > 1) If you're not using RTL-SDR dongles, then just purge the rtlsdr > packages (librtlsdr-dev and librtlsdr0). Then rebuild gr-osmosdr and > Osmocom RTLSDR should end up in the disabled components during the cmake > phase. > > 2) Checkout a previous version of gr-osmosdr from before this change. git > checkout cf954948 should work. > > 3) The correct solution is to build the rtl-sdr library from source and > make sure gr-osmosdr links to that. > > https://github.com/osmocom/rtl-sdr > > Ron > > > On 09/21/2017 11:40 AM, Tom McDermott wrote: > > 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 > listDiscuss-gnuradio@gnu.orghttps://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > >
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio