I am trying to install GNU Radio on a raspberry pi 3B+ running the new version of Raspbian "Buster".
Everything worked by following the workflow until I reached the "make" command.
I am getting the following error:
No rule to make target '/usr/local/lib/libmirsdrapi-rsp.so', needed by 'lib/libgnuradio-sdrplay-1.0.0git.so.0.0.0'
I've been reading that it may have something to do with the wrong compiler version being used during the make operation. Any suggestions on the remedy?
The results of the "cmake" and "make" commands are listed below.
Code: Select all
pi@raspberrypi:~/Dev/gr-sdrplay/build $ cmake .. -DCMAKE_INSTALL_PREFIX=~/gr-osmosdr -DENABLE_PYTHON=true -DENABLE_NONFREE=true -DENABLE_SOAPY=false -DENABLE_AIRSPY=false -DENABLE_RTL=false -DENABLE_RTL_TCP=false -DENABLE_HACKRF=false -DENABLE_BLADERF=false -DENABLE_REDPITAYA=false -DENABLE_RFSPACE=false -DENABLE_FCD=false -DENABLE_FCDPP=false -DENABLE_MIRI=false -DENABLE_FREESRP=false
-- Build type not specified: defaulting to release.
CMake Deprecation Warning at CMakeLists.txt:55 (cmake_policy):
The OLD behavior for policy CMP0026 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
CMake Deprecation Warning at CMakeLists.txt:58 (cmake_policy):
The OLD behavior for policy CMP0043 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
CMake Deprecation Warning at CMakeLists.txt:61 (cmake_policy):
The OLD behavior for policy CMP0045 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
CMake Deprecation Warning at CMakeLists.txt:64 (cmake_policy):
The OLD behavior for policy CMP0046 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
-- Boost version: 1.67.0
-- Found the following Boost libraries:
-- filesystem
-- system
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
Checking for GNU Radio Module: RUNTIME
* INCLUDES=/usr/include
* LIBS=/usr/lib/arm-linux-gnueabihf/libgnuradio-runtime.so;/usr/lib/arm-linux-gnueabihf/libgnuradio-pmt.so;/usr/lib/arm-linux-gnueabihf/liblog4cpp.so
GNURADIO_RUNTIME_FOUND = TRUE
-- Extracting version information from git describe...
-- Boost version: 1.67.0
-- Found the following Boost libraries:
-- date_time
-- program_options
-- filesystem
-- system
-- regex
-- thread
-- chrono
-- atomic
-- LIBSDRPLAY_INCLUDE_DIRS - /usr/local/include
-- LIBSDRPLAY_LIBRARIES - /usr/local/lib/libmirsdrapi-rsp.so
-- Using install prefix: /home/pi/gr-osmosdr
-- Building for version: d28ae3d3 / 1.0.0git
--
-- Checking for module SWIG
-- Found SWIG version 3.0.12.
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
ENABLE_AIRSPY
ENABLE_BLADERF
ENABLE_FCD
ENABLE_FCDPP
ENABLE_FREESRP
ENABLE_HACKRF
ENABLE_MIRI
ENABLE_NONFREE
ENABLE_PYTHON
ENABLE_REDPITAYA
ENABLE_RFSPACE
ENABLE_RTL
ENABLE_RTL_TCP
ENABLE_SOAPY
-- Build files have been written to: /home/pi/Dev/gr-sdrplay/build
pi@raspberrypi:~/Dev/gr-sdrplay/build $ make
make[2]: *** No rule to make target '/usr/local/lib/libmirsdrapi-rsp.so', needed by 'lib/libgnuradio-sdrplay-1.0.0git.so.0.0.0'. Stop.
make[1]: *** [CMakeFiles/Makefile2:180: lib/CMakeFiles/gnuradio-sdrplay.dir/all] Error 2
make: *** [Makefile:141: all] Error 2