Can someone help me, guide me why i am getting the error while building gr-osmosdr during the installation of OpenLTE.
Here is the error:
Building gr-osmosdr...-- The CXX compiler identification is GNU 4.8.4
-- The C compiler identification is GNU 4.8.4
-- 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
-- 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
-- Build type not specified: defaulting to release.
-- Found Git: /usr/bin/git (found version "1.9.1")
-- Extracting version information from git describe...
-- Configuring Boost C++ Libraries...
-- Boost version: 1.54.0
-- Found the following Boost libraries:
-- thread
-- system
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
Checking for GNU Radio Module: RUNTIME
-- checking for module 'gnuradio-runtime'
-- found gnuradio-runtime, version 3.7.11.1
* INCLUDES=/usr/local/include
* LIBS=/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
-- Found GNURADIO_RUNTIME: /usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
GNURADIO_RUNTIME_FOUND = TRUE
Checking for GNU Radio Module: BLOCKS
-- checking for module 'gnuradio-blocks'
-- found gnuradio-blocks, version 3.7.11.1
* INCLUDES=/usr/local/include
* LIBS=/usr/local/lib/libgnuradio-blocks.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
-- Found GNURADIO_BLOCKS: /usr/local/lib/libgnuradio-blocks.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
GNURADIO_BLOCKS_FOUND = TRUE
Checking for GNU Radio Module: PMT
-- checking for module 'gnuradio-runtime'
-- found gnuradio-runtime, version 3.7.11.1
* INCLUDES=/usr/local/include
* LIBS=/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
-- Found GNURADIO_PMT: /usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
GNURADIO_PMT_FOUND = TRUE
-- checking for module 'gnuradio-iqbalance'
-- found gnuradio-iqbalance, version 0
-- Found GNURADIO_IQBALANCE: /usr/local/lib/libgnuradio-iqbalance.so
-- Found UHD: /usr/local/lib/libuhd.so
-- checking for module 'gnuradio-uhd'
-- found gnuradio-uhd, version 3.7.11.1
-- Found gnuradio-uhd: /usr/local/include, /usr/local/lib/libgnuradio-uhd.so
-- Found GNURADIO_UHD: /usr/local/lib/libgnuradio-uhd.so
-- checking for module 'gnuradio-fcd'
-- found gnuradio-fcd, version 3.7.11.1
-- Found gnuradio-fcd: /usr/local/include, /usr/local/lib/libgnuradio-fcd.so
-- Found GNURADIO_FCD: /usr/local/lib/libgnuradio-fcd.so
-- checking for module 'gnuradio-fcdproplus'
-- package 'gnuradio-fcdproplus' not found
-- gnuradio-fcdproplus not found.
-- Could NOT find GNURADIO_FCDPP (missing: GNURADIO_FCDPP_LIBRARIES GNURADIO_FCDPP_INCLUDE_DIRS)
-- checking for module 'libosmosdr'
-- package 'libosmosdr' not found
-- libosmosdr not found.
-- checking for module 'librtlsdr'
-- found librtlsdr, version v0.5.3-71-g7915
-- Found librtlsdr: /usr/local/include, /usr/local/lib/librtlsdr.so
-- checking for module 'libmirisdr'
-- package 'libmirisdr' not found
-- libmirisdr not found.
-- checking for module 'libhackrf'
-- found libhackrf, version 0.5
-- Found LIBHACKRF: /usr/local/lib/libhackrf.so
-- checking for module 'libairspy'
-- found libairspy, version 1.0
-- Found LIBAIRSPY: /usr/local/lib/libairspy.so
-- checking for module 'volk'
-- found volk, version 1.3
-- Found VOLK: /usr/local/lib/libvolk.so
-- checking for module 'libbladeRF'
-- found libbladeRF, version 1.7.2-git-c3eccc6
-- Found libbladeRF: /usr/local/include, /usr/local/lib/libbladeRF.so
CMake Warning at CMakeLists.txt:174 (find_package):
Could not find a package configuration file provided by "SoapySDR" with any
of the following names:
SoapySDRConfig.cmake
soapysdr-config.cmake
Add the installation prefix of "SoapySDR" to CMAKE_PREFIX_PATH or set
"SoapySDR_DIR" to a directory containing one of the above files. If
"SoapySDR" provides a separate development package or SDK, be sure it has
been installed.
-- checking for module 'libfreesrp'
-- package 'libfreesrp' not found
-- libfreesrp not found.
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.6")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable version "2.7.6", minimum required is "2")
--
-- Checking for module SWIG
-- Found SWIG version 2.0.11.
-- 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 = FALSE
-- Disabling 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 = TRUE
-- Enabling 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 = TRUE
-- Enabling AIRSPY Receiver support.
-- Override with -DENABLE_AIRSPY=ON/OFF
--
-- Configuring SoapySDR support support...
-- Dependency SoapySDR_FOUND = 0
-- Disabling 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
--
-- Configuring FreeSRP support support...
-- Dependency LIBFREESRP_FOUND = FALSE
-- Disabling FreeSRP support support.
-- Override with -DENABLE_FREESRP=ON/OFF
-- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.6", 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
-- * IQ File Source & Sink
-- * Osmocom RTLSDR
-- * RTLSDR TCP Client
-- * Ettus USRP Devices
-- * HackRF & rad1o Badge
-- * nuand bladeRF
-- * RFSPACE Receivers
-- * AIRSPY Receiver
-- * Red Pitaya SDR
--
-- ######################################################
-- # Gnuradio disabled components
-- ######################################################
-- * sysmocom OsmoSDR
-- * FUNcube Dongle Pro+
-- * Osmocom MiriSDR
-- * 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/lte/gnuradio/gr-osmosdr
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 [ 7%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/ranges.cc.o [ 9%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/device.cc.o [ 11%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/time_spec.cc.o [ 14%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/fcd/fcd_source_c.cc.o [ 16%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/file/file_source_c.cc.o [ 19%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/file/file_sink_c.cc.o [ 21%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/rtl/rtl_source_c.cc.o
/home/lte/gnuradio/gr-osmosdr/lib/rtl/rtl_source_c.cc: In constructor 'rtl_source_c::rtl_source_c(const string&)':
/home/lte/gnuradio/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);
^
make[2]: [lib/CMakeFiles/gnuradio-osmosdr.dir/rtl/rtl_source_c.cc.o] Error 1
make[1]: [lib/CMakeFiles/gnuradio-osmosdr.dir/all] Error 2
make: *** [all] Error 2
gr-osmosdr build apparently failed
Exit rtl-sdr/gr-osmosdr build
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I am facing the same problem while compiling gr-osmosdr.
I keep on getting "error: ‘rtlsdr_set_bias_tee’ was not declared in this scope" when excecuting the make command.
Did you happen to resolve your problem?
Need help in fixing this issue.
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have been trying to install the OpenLTE on Ubuntu 16.
I am using this guide https://sourceforge.net/p/openlte/wiki/Installing%20OpenLTE/ but got stuck in the build-gnuradio which outputs the error below.
Can someone guide me on how to address the problem in the build process.
-- ######################################################
-- # Gnuradio disabled components
-- ######################################################
-- * sysmocom OsmoSDR
-- * FUNcube Dongle Pro+
-- * Osmocom MiriSDR
-- * 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/lte/gnuradio/gr-osmosdr
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
[ 10%] 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
[ 19%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/rtl/rtl_source_c.cc.o
/home/lte/gnuradio/gr-osmosdr/lib/rtl/rtl_source_c.cc: In constructor 'rtl_source_c::rtl_source_c(const string&)':
/home/lte/gnuradio/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
gr-osmosdr build apparently failed
Exit rtl-sdr/gr-osmosdr build
Thanks
Hi,
I am following the guide https://sourceforge.net/p/openlte/wiki/Installing%20OpenLTE/ and could not pass building gr-osmosdr.
Can someone help me, guide me why i am getting the error while building gr-osmosdr during the installation of OpenLTE.
Here is the error:
Building gr-osmosdr...-- The CXX compiler identification is GNU 4.8.4
-- The C compiler identification is GNU 4.8.4
-- 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
-- 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
-- Build type not specified: defaulting to release.
-- Found Git: /usr/bin/git (found version "1.9.1")
-- Extracting version information from git describe...
-- Configuring Boost C++ Libraries...
-- Boost version: 1.54.0
-- Found the following Boost libraries:
-- thread
-- system
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
Checking for GNU Radio Module: RUNTIME
-- checking for module 'gnuradio-runtime'
-- found gnuradio-runtime, version 3.7.11.1
* INCLUDES=/usr/local/include
* LIBS=/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
-- Found GNURADIO_RUNTIME: /usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
GNURADIO_RUNTIME_FOUND = TRUE
Checking for GNU Radio Module: BLOCKS
-- checking for module 'gnuradio-blocks'
-- found gnuradio-blocks, version 3.7.11.1
* INCLUDES=/usr/local/include
* LIBS=/usr/local/lib/libgnuradio-blocks.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
-- Found GNURADIO_BLOCKS: /usr/local/lib/libgnuradio-blocks.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
GNURADIO_BLOCKS_FOUND = TRUE
Checking for GNU Radio Module: PMT
-- checking for module 'gnuradio-runtime'
-- found gnuradio-runtime, version 3.7.11.1
* INCLUDES=/usr/local/include
* LIBS=/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
-- Found GNURADIO_PMT: /usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
GNURADIO_PMT_FOUND = TRUE
-- checking for module 'gnuradio-iqbalance'
-- found gnuradio-iqbalance, version 0
-- Found GNURADIO_IQBALANCE: /usr/local/lib/libgnuradio-iqbalance.so
-- Found UHD: /usr/local/lib/libuhd.so
-- checking for module 'gnuradio-uhd'
-- found gnuradio-uhd, version 3.7.11.1
-- Found gnuradio-uhd: /usr/local/include, /usr/local/lib/libgnuradio-uhd.so
-- Found GNURADIO_UHD: /usr/local/lib/libgnuradio-uhd.so
-- checking for module 'gnuradio-fcd'
-- found gnuradio-fcd, version 3.7.11.1
-- Found gnuradio-fcd: /usr/local/include, /usr/local/lib/libgnuradio-fcd.so
-- Found GNURADIO_FCD: /usr/local/lib/libgnuradio-fcd.so
-- checking for module 'gnuradio-fcdproplus'
-- package 'gnuradio-fcdproplus' not found
-- gnuradio-fcdproplus not found.
-- Could NOT find GNURADIO_FCDPP (missing: GNURADIO_FCDPP_LIBRARIES GNURADIO_FCDPP_INCLUDE_DIRS)
-- checking for module 'libosmosdr'
-- package 'libosmosdr' not found
-- libosmosdr not found.
-- checking for module 'librtlsdr'
-- found librtlsdr, version v0.5.3-71-g7915
-- Found librtlsdr: /usr/local/include, /usr/local/lib/librtlsdr.so
-- checking for module 'libmirisdr'
-- package 'libmirisdr' not found
-- libmirisdr not found.
-- checking for module 'libhackrf'
-- found libhackrf, version 0.5
-- Found LIBHACKRF: /usr/local/lib/libhackrf.so
-- checking for module 'libairspy'
-- found libairspy, version 1.0
-- Found LIBAIRSPY: /usr/local/lib/libairspy.so
-- checking for module 'volk'
-- found volk, version 1.3
-- Found VOLK: /usr/local/lib/libvolk.so
-- checking for module 'libbladeRF'
-- found libbladeRF, version 1.7.2-git-c3eccc6
-- Found libbladeRF: /usr/local/include, /usr/local/lib/libbladeRF.so
CMake Warning at CMakeLists.txt:174 (find_package):
Could not find a package configuration file provided by "SoapySDR" with any
of the following names:
Add the installation prefix of "SoapySDR" to CMAKE_PREFIX_PATH or set
"SoapySDR_DIR" to a directory containing one of the above files. If
"SoapySDR" provides a separate development package or SDK, be sure it has
been installed.
-- checking for module 'libfreesrp'
-- package 'libfreesrp' not found
-- libfreesrp not found.
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.6")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable version "2.7.6", minimum required is "2")
--
-- Checking for module SWIG
-- Found SWIG version 2.0.11.
-- 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 = FALSE
-- Disabling 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 = TRUE
-- Enabling 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 = TRUE
-- Enabling AIRSPY Receiver support.
-- Override with -DENABLE_AIRSPY=ON/OFF
--
-- Configuring SoapySDR support support...
-- Dependency SoapySDR_FOUND = 0
-- Disabling 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
--
-- Configuring FreeSRP support support...
-- Dependency LIBFREESRP_FOUND = FALSE
-- Disabling FreeSRP support support.
-- Override with -DENABLE_FREESRP=ON/OFF
-- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.6", 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
-- * IQ File Source & Sink
-- * Osmocom RTLSDR
-- * RTLSDR TCP Client
-- * Ettus USRP Devices
-- * HackRF & rad1o Badge
-- * nuand bladeRF
-- * RFSPACE Receivers
-- * AIRSPY Receiver
-- * Red Pitaya SDR
--
-- ######################################################
-- # Gnuradio disabled components
-- ######################################################
-- * sysmocom OsmoSDR
-- * FUNcube Dongle Pro+
-- * Osmocom MiriSDR
-- * 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/lte/gnuradio/gr-osmosdr
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
[ 7%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/ranges.cc.o
[ 9%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/device.cc.o
[ 11%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/time_spec.cc.o
[ 14%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/fcd/fcd_source_c.cc.o
[ 16%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/file/file_source_c.cc.o
[ 19%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/file/file_sink_c.cc.o
[ 21%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/rtl/rtl_source_c.cc.o
/home/lte/gnuradio/gr-osmosdr/lib/rtl/rtl_source_c.cc: In constructor 'rtl_source_c::rtl_source_c(const string&)':
/home/lte/gnuradio/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);
^
make[2]: [lib/CMakeFiles/gnuradio-osmosdr.dir/rtl/rtl_source_c.cc.o] Error 1
make[1]: [lib/CMakeFiles/gnuradio-osmosdr.dir/all] Error 2
make: *** [all] Error 2
gr-osmosdr build apparently failed
Exit rtl-sdr/gr-osmosdr build
Hello,
I am facing the same problem while compiling gr-osmosdr.
I keep on getting "error: ‘rtlsdr_set_bias_tee’ was not declared in this scope" when excecuting the make command.
Did you happen to resolve your problem?
Need help in fixing this issue.
Thanks!
Same issue here, i made the following hack:
//ret = rtlsdr_set_bias_tee(_dev, bias_tee);
ret = 0;
I have not spend too much time for this issue but it looks like i do not need this for my hardware (hackrf one).