SDRPlay Issues with Xubuntu 15.10 while building gnuradio-osmosdr
Posted: Sat Jan 30, 2016 2:54 am
While I know 15.10 might be pushing the edge on support for SDRplay, I'm sort of agnostic about version stuff, I'd be willing to downgrade back to 14.10 if it helps. Also, I have previously build QtRadio and GQRX so not sure if something I've already build is causing conflict, but thought I'd post my logs before Reinstall 14.10.
Thanks for any guidance anyone has.
For whatever reason, I can't seem to attach the log file as a *.txt file so for better or worse, pasting here:
====================================================================================
Thanks for any guidance anyone has.
For whatever reason, I can't seem to attach the log file as a *.txt file so for better or worse, pasting here:
====================================================================================
Code: Select all
./SDRplay_RSP_MiricsAPI-1.9.4.run
Verifying archive integrity... All good.
Uncompressing SDRplay Mirics API Install Package V1.9.4 100%
Installing SDRplay RSP Mirics API library...
Architecture: x86_64
API Version: 1.8.1
Remove old libraries...
Install /usr/local/lib/libmirsdrapi-rsp.so
Remove old header files...
Install /usr/local/include/mirsdrapi-rsp.h
Udev rules directory found, adding rules...
Libusb found, continuing...
Installing SoapySDRPlay...
Installing SoapySDR...
Finished.
root@corqbuntu:/opt# git clone git://git.osmocom.org/gr-osmosdr
Cloning into 'gr-osmosdr'...
remote: Counting objects: 3948, done.
remote: Compressing objects: 100% (2640/2640), done.
remote: Total 3948 (delta 2828), reused 1886 (delta 1270)
Receiving objects: 100% (3948/3948), 953.82 KiB | 475.00 KiB/s, done.
Resolving deltas: 100% (2828/2828), done.
Checking connectivity... done.
root@corqbuntu:/opt# cd gr-osmosdr/
root@corqbuntu:/opt/gr-osmosdr# ls
apps cmake COPYING gnuradio-osmosdr.pc.in include MANIFEST.md README
AUTHORS CMakeLists.txt docs grc lib python swig
root@corqbuntu:/opt/gr-osmosdr# mkdir build
root@corqbuntu:/opt/gr-osmosdr# cd build/
root@corqbuntu:/opt/gr-osmosdr/build# cmake ../
-- The CXX compiler identification is GNU 5.2.1
-- The C compiler identification is GNU 5.2.1
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Build type not specified: defaulting to release.
-- Found Git: /usr/bin/git (found version "2.5.0")
-- Extracting version information from git describe...
-- Configuring Boost C++ Libraries...
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- thread
-- system
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
Checking for GNU Radio Module: RUNTIME
-- checking for module 'gnuradio-runtime'
-- found gnuradio-runtime, version 3.7.8
* INCLUDES=/usr/include
* LIBS=/usr/lib/x86_64-linux-gnu/libgnuradio-runtime.so;/usr/lib/x86_64-linux-gnu/libgnuradio-pmt.so
-- Found GNURADIO_RUNTIME: /usr/lib/x86_64-linux-gnu/libgnuradio-runtime.so;/usr/lib/x86_64-linux-gnu/libgnuradio-pmt.so
GNURADIO_RUNTIME_FOUND = TRUE
Checking for GNU Radio Module: BLOCKS
-- checking for module 'gnuradio-blocks'
-- found gnuradio-blocks, version 3.7.8
* INCLUDES=/usr/include
* LIBS=/usr/lib/x86_64-linux-gnu/libgnuradio-blocks.so;/usr/lib/x86_64-linux-gnu/libgnuradio-runtime.so;/usr/lib/x86_64-linux-gnu/libgnuradio-pmt.so
-- Found GNURADIO_BLOCKS: /usr/lib/x86_64-linux-gnu/libgnuradio-blocks.so;/usr/lib/x86_64-linux-gnu/libgnuradio-runtime.so;/usr/lib/x86_64-linux-gnu/libgnuradio-pmt.so
GNURADIO_BLOCKS_FOUND = TRUE
Checking for GNU Radio Module: PMT
-- checking for module 'gnuradio-runtime'
-- found gnuradio-runtime, version 3.7.8
* INCLUDES=/usr/include
* LIBS=/usr/lib/x86_64-linux-gnu/libgnuradio-runtime.so;/usr/lib/x86_64-linux-gnu/libgnuradio-pmt.so
-- Found GNURADIO_PMT: /usr/lib/x86_64-linux-gnu/libgnuradio-runtime.so;/usr/lib/x86_64-linux-gnu/libgnuradio-pmt.so
GNURADIO_PMT_FOUND = TRUE
-- checking for module 'gnuradio-iqbalance'
-- found gnuradio-iqbalance, version 0
-- Found GNURADIO_IQBALANCE: /usr/lib/x86_64-linux-gnu/libgnuradio-iqbalance.so
-- checking for module 'uhd'
-- found uhd, version 003.009.002-release
-- Found UHD: /usr/lib/x86_64-linux-gnu/libuhd.so
-- checking for module 'gnuradio-uhd'
-- found gnuradio-uhd, version 3.7.8
-- Found gnuradio-uhd: /usr/include, /usr/lib/x86_64-linux-gnu/libgnuradio-uhd.so
-- Found GNURADIO_UHD: /usr/lib/x86_64-linux-gnu/libgnuradio-uhd.so
-- checking for module 'gnuradio-fcd'
-- found gnuradio-fcd, version 3.7.8
-- Found gnuradio-fcd: /usr/include, /usr/lib/x86_64-linux-gnu/libgnuradio-fcd.so
-- Found GNURADIO_FCD: /usr/lib/x86_64-linux-gnu/libgnuradio-fcd.so
-- checking for module 'gnuradio-fcdproplus'
-- found gnuradio-fcdproplus, version 0.0.1
-- Found gnuradio-fcdproplus: /usr/include, /usr/lib/x86_64-linux-gnu/libgnuradio-fcdproplus.so
-- Found GNURADIO_FCDPP: /usr/lib/x86_64-linux-gnu/libgnuradio-fcdproplus.so
-- checking for module 'libosmosdr'
-- package 'libosmosdr' not found
-- libosmosdr not found.
-- checking for module 'librtlsdr'
-- found librtlsdr, version 0.5.3
-- Found librtlsdr: /usr/include, /usr/lib/x86_64-linux-gnu/librtlsdr.so
-- checking for module 'libmirisdr'
-- package 'libmirisdr' not found
-- libmirisdr not found.
-- checking for module 'libhackrf'
-- found libhackrf, version 0.4
-- Found LIBHACKRF: /usr/lib/x86_64-linux-gnu/libhackrf.so
-- checking for module 'libairspy'
-- package 'libairspy' not found
-- Could NOT find LIBAIRSPY (missing: LIBAIRSPY_LIBRARIES LIBAIRSPY_INCLUDE_DIRS)
-- checking for module 'libbladeRF'
-- package 'libbladeRF' not found
-- libbladeRF not found.
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable version "2.7.10", minimum required is "2")
--
-- Checking for module SWIG
-- Found SWIG version 2.0.12.
-- Found SWIG: /usr/bin/swig2.0
-- Minimum SWIG version required is 1.3.31
--
-- The build system will automatically enable all components.
-- Use -DENABLE_DEFAULT=OFF to disable components by default.
--
-- Configuring Python support support...
-- Dependency PYTHONLIBS_FOUND = TRUE
-- Dependency SWIG_FOUND = TRUE
-- Dependency SWIG_VERSION_CHECK = TRUE
-- Enabling Python support support.
-- Override with -DENABLE_PYTHON=ON/OFF
--
-- Configuring high resolution timing...
-- Performing Test HAVE_CLOCK_GETTIME
-- Performing Test HAVE_CLOCK_GETTIME - Success
-- Performing Test HAVE_MACH_ABSOLUTE_TIME
-- Performing Test HAVE_MACH_ABSOLUTE_TIME - Failed
-- Performing Test HAVE_QUERY_PERFORMANCE_COUNTER
-- Performing Test HAVE_QUERY_PERFORMANCE_COUNTER - Failed
-- High resolution timing supported through clock_gettime.
--
-- Configuring Osmocom IQ Imbalance Correction support...
-- Dependency GNURADIO_IQBALANCE_FOUND = TRUE
-- Enabling Osmocom IQ Imbalance Correction support.
-- Override with -DENABLE_IQBALANCE=ON/OFF
--
-- Configuring sysmocom OsmoSDR support...
-- Dependency LIBOSMOSDR_FOUND = FALSE
-- Disabling sysmocom OsmoSDR support.
-- Override with -DENABLE_OSMOSDR=ON/OFF
--
-- Configuring FUNcube Dongle support...
-- Dependency GNURADIO_FCD_FOUND = TRUE
-- Enabling FUNcube Dongle support.
-- Override with -DENABLE_FCD=ON/OFF
--
-- Configuring FUNcube Dongle Pro+ support...
-- Dependency GNURADIO_FCDPP_FOUND = TRUE
-- Enabling FUNcube Dongle Pro+ support.
-- Override with -DENABLE_FCDPP=ON/OFF
--
-- Configuring IQ File Source & Sink support...
-- Dependency GNURADIO_BLOCKS_FOUND = TRUE
-- Enabling IQ File Source & Sink support.
-- Override with -DENABLE_FILE=ON/OFF
--
-- Configuring Osmocom RTLSDR support...
-- Dependency LIBRTLSDR_FOUND = TRUE
-- Enabling Osmocom RTLSDR support.
-- Override with -DENABLE_RTL=ON/OFF
--
-- Configuring RTLSDR TCP Client support...
-- Dependency GNURADIO_BLOCKS_FOUND = TRUE
-- Enabling RTLSDR TCP Client support.
-- Override with -DENABLE_RTL_TCP=ON/OFF
--
-- Configuring Ettus USRP Devices support...
-- Dependency UHD_FOUND = TRUE
-- Dependency GNURADIO_UHD_FOUND = TRUE
-- Enabling Ettus USRP Devices support.
-- Override with -DENABLE_UHD=ON/OFF
--
-- Configuring Osmocom MiriSDR support...
-- Dependency LIBMIRISDR_FOUND = FALSE
-- Disabling Osmocom MiriSDR support.
-- Override with -DENABLE_MIRI=ON/OFF
--
-- Configuring HackRF & rad1o Badge support...
-- Dependency LIBHACKRF_FOUND = TRUE
-- Enabling HackRF & rad1o Badge support.
-- Override with -DENABLE_HACKRF=ON/OFF
-- Looking for hackrf_device_list
-- Looking for hackrf_device_list - found
-- HackRF multiple device support enabled
--
-- Configuring nuand bladeRF support...
-- Dependency LIBBLADERF_FOUND = FALSE
-- Disabling nuand bladeRF support.
-- Override with -DENABLE_BLADERF=ON/OFF
--
-- Configuring RFSPACE Receivers support...
-- Enabling RFSPACE Receivers support.
-- Override with -DENABLE_RFSPACE=ON/OFF
--
-- Configuring AIRSPY Receiver support...
-- Dependency LIBAIRSPY_FOUND = FALSE
-- Disabling AIRSPY Receiver support.
-- Override with -DENABLE_AIRSPY=ON/OFF
--
-- Configuring SoapySDR support support...
-- Dependency SoapySDR_FOUND = 1
-- Enabling SoapySDR support support.
-- Override with -DENABLE_SOAPY=ON/OFF
--
-- Configuring Red Pitaya SDR support...
-- Enabling Red Pitaya SDR support.
-- Override with -DENABLE_REDPITAYA=ON/OFF
-- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.10", minimum required is "2")
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of size_t
-- Check size of size_t - done
-- Check size of unsigned int
-- Check size of unsigned int - done
-- Check size of unsigned long
-- Check size of unsigned long - done
-- Check size of unsigned long long
-- Check size of unsigned long long - done
-- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE
-- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE - Success
--
-- ######################################################
-- # Gnuradio enabled components
-- ######################################################
-- * Python support
-- * Osmocom IQ Imbalance Correction
-- * FUNcube Dongle
-- * FUNcube Dongle Pro+
-- * IQ File Source & Sink
-- * Osmocom RTLSDR
-- * RTLSDR TCP Client
-- * Ettus USRP Devices
-- * HackRF & rad1o Badge
-- * RFSPACE Receivers
-- * SoapySDR support
-- * Red Pitaya SDR
--
-- ######################################################
-- # Gnuradio disabled components
-- ######################################################
-- * sysmocom OsmoSDR
-- * Osmocom MiriSDR
-- * nuand bladeRF
-- * AIRSPY Receiver
--
-- Building for version: v0.1.4-67-gac15e789 / 0.1.5git
-- Using install prefix: /usr/local
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/gr-osmosdr/build
root@corqbuntu:/opt/gr-osmosdr/build# make
Scanning dependencies of target gnuradio-osmosdr
[ 2%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/source_impl.cc.o
[ 5%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/sink_impl.cc.o
[ 7%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/ranges.cc.o
[ 10%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/device.cc.o
[ 13%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/time_spec.cc.o
[ 15%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/fcd/fcd_source_c.cc.o
[ 18%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/file/file_source_c.cc.o
[ 21%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/file/file_sink_c.cc.o
[ 23%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/rtl/rtl_source_c.cc.o
[ 26%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/rtl_tcp/rtl_tcp_source_f.cc.o
[ 28%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/rtl_tcp/rtl_tcp_source_c.cc.o
[ 31%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/uhd/uhd_sink_c.cc.o
[ 34%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/uhd/uhd_source_c.cc.o
[ 36%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/hackrf/hackrf_source_c.cc.o
[ 39%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/hackrf/hackrf_sink_c.cc.o
[ 42%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/rfspace/rfspace_source_c.cc.o
[ 44%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/soapy/soapy_source_c.cc.o
[ 47%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/soapy/soapy_sink_c.cc.o
[ 50%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/redpitaya/redpitaya_source_c.cc.o
[ 52%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/redpitaya/redpitaya_sink_c.cc.o
[ 55%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/redpitaya/redpitaya_common.cc.o
Linking CXX shared library libgnuradio-osmosdr.so
CMakeFiles/gnuradio-osmosdr.dir/soapy/soapy_source_c.cc.o: In function `soapy_source_c::get_devices[abi:cxx11]()':
soapy_source_c.cc:(.text+0x2627): undefined reference to `SoapySDR::Device::enumerate(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&)'
CMakeFiles/gnuradio-osmosdr.dir/soapy/soapy_source_c.cc.o: In function `soapy_source_c::soapy_source_c(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
soapy_source_c.cc:(.text+0x3355): undefined reference to `SoapySDR::Device::make(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&)'
CMakeFiles/gnuradio-osmosdr.dir/soapy/soapy_sink_c.cc.o: In function `soapy_sink_c::get_devices[abi:cxx11]()':
soapy_sink_c.cc:(.text+0x2347): undefined reference to `SoapySDR::Device::enumerate(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&)'
CMakeFiles/gnuradio-osmosdr.dir/soapy/soapy_sink_c.cc.o: In function `soapy_sink_c::soapy_sink_c(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
soapy_sink_c.cc:(.text+0x3078): undefined reference to `SoapySDR::Device::make(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&)'
collect2: error: ld returned 1 exit status
lib/CMakeFiles/gnuradio-osmosdr.dir/build.make:599: recipe for target 'lib/libgnuradio-osmosdr.so.0.1.5git' failed
make[2]: *** [lib/libgnuradio-osmosdr.so.0.1.5git] Error 1
CMakeFiles/Makefile2:121: recipe for target 'lib/CMakeFiles/gnuradio-osmosdr.dir/all' failed
make[1]: *** [lib/CMakeFiles/gnuradio-osmosdr.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2