我安装的gnuraido版本为3.10
CMake Deprecation Warning at CMakeLists.txt:23 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a … suffix to tell
CMake that the project does not need compatibility with older versions.
– Build type not specified: defaulting to release.
CMake Deprecation Warning at CMakeLists.txt:39 (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:44 (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.
– Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found suitable version “1.74.0”, minimum required is “1.35”) found components: filesystem system
CMake Warning (dev) at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args
(PkgConfig)
does not match the name of the calling package (CppUnit). This can lead to
problems in calling code that expects find_package
result variables
(e.g., _FOUND
) to follow a certain pattern.
Call Stack (most recent call first):
/usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:99 (find_package_handle_standard_args)
cmake/Modules/FindCppUnit.cmake:12 (INCLUDE)
CMakeLists.txt:116 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args
(CPPUNIT)
does not match the name of the calling package (CppUnit). This can lead to
problems in calling code that expects find_package
result variables
(e.g., _FOUND
) to follow a certain pattern.
Call Stack (most recent call first):
cmake/Modules/FindCppUnit.cmake:38 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:116 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
– Checking for module ‘gnuradio-runtime’
– Found gnuradio-runtime, version 3.10.9
– Using GMP.
– Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found suitable version “1.74.0”, minimum required is “1.74.0”) found components: date_time program_options system regex thread unit_test_framework
– User set python executable /usr/bin/python3
– Gnuradio_RUNTIME_INCLUDE_DIRS: /usr/local/include
– Gnuradio_RUNTIME_LIBRARY_DIRS: /usr/local/lib
– Found SWIG: /usr/bin/swig4.0 (found version “4.0.2”)
– Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.10.so (found suitable version “3.10.12”, 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
– Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE
– Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE - Success
Traceback (most recent call last):
File “”, line 2, in
TypeError: Strings must be encoded before hashing
CMake Warning (dev) at cmake/Modules/UseSWIG.cmake:199 (add_executable):
Policy CMP0037 is not set: Target names should not be reserved and should
match a validity pattern. Run “cmake --help-policy CMP0037” for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
The target name “/home/hy/gr-lora/build/swig/.cpp” is reserved or not valid
for certain CMake features, such as generator expressions, and may result
in undefined behavior.
Call Stack (most recent call first):
cmake/Modules/UseSWIG.cmake:256 (SWIG_ADD_SOURCE_TO_MODULE)
cmake/Modules/GrSwig.cmake:173 (SWIG_ADD_MODULE)
swig/CMakeLists.txt:50 (GR_SWIG_MAKE)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at cmake/Modules/UseSWIG.cmake:202 (add_custom_command):
add_custom_command Wrong syntax. A TARGET or OUTPUT must be specified.
Call Stack (most recent call first):
cmake/Modules/UseSWIG.cmake:256 (SWIG_ADD_SOURCE_TO_MODULE)
cmake/Modules/GrSwig.cmake:173 (SWIG_ADD_MODULE)
swig/CMakeLists.txt:50 (GR_SWIG_MAKE)
CMake Error at cmake/Modules/GrSwig.cmake:206 (GR_LIBTOOL):
Unknown CMake command “GR_LIBTOOL”.
Call Stack (most recent call first):
swig/CMakeLists.txt:55 (GR_SWIG_INSTALL)