cariboulabs / cariboulite

CaribouLite turns any 40-pin Raspberry-Pi into a Tx/Rx 6GHz SDR
1.1k stars 104 forks source link

Compiling issues #91

Open zetaerre opened 1 year ago

zetaerre commented 1 year ago

Hi,

fresh install with device attached to an RasperryPi 400 give this result below, I would like to report the KERNELHEADERS_DIR-NOTFOUND when compiling module smi_stream_dev.ko and the missing ARCH=arm64 that create issue if KERNER HEADER is sovled.

zetaerre@raspberrypi400:~/ $ uname -a Linux raspberrypi400 5.15.84-v8+ #1613 SMP PREEMPT Thu Jan 5 12:03:08 GMT 2023 aarch64 GNU/Linux

zetaerre@raspberrypi400:~ $ mkdir ~/projects cd ~/projects git clone https://github.com/cariboulabs/cariboulite cd cariboulite Cloning into 'cariboulite'... remote: Enumerating objects: 7358, done. remote: Counting objects: 100% (1687/1687), done. remote: Compressing objects: 100% (593/593), done. remote: Total 7358 (delta 1051), reused 1643 (delta 1036), pack-reused 5671 Receiving objects: 100% (7358/7358), 235.04 MiB | 7.50 MiB/s, done. Resolving deltas: 100% (4724/4724), done. Updating files: 100% (498/498), done. zetaerre@raspberrypi400:~/projects/cariboulite $ ./install.sh

[ 1 ] CaribouLite Git Repo hint: Pulling without specifying how to reconcile divergent branches is hint: discouraged. You can squelch this message by running one of the following hint: commands sometime before your next pull: hint: hint: git config pull.rebase false # merge (the default strategy) hint: git config pull.rebase true # rebase hint: git config pull.ff only # fast-forward only hint: hint: You can replace "git config" with "git config --global" to set a default hint: preference for all repositories. You can also pass --rebase, --no-rebase, hint: or --ff-only on the command line to override the configured default per hint: invocation. Already up to date. Submodule 'software/libcariboulite/src/iir' (https://github.com/berndporr/iir1) registered for path 'software/libcariboulite/src/iir' Cloning into '/home/zetaerre/projects/cariboulite/software/libcariboulite/src/iir'... Submodule path 'software/libcariboulite/src/iir': checked out 'fc8634d15b470a00ba4859915fec0047bb486dd4'

[ 2 ] Updating system and installing dependencies... Hit:1 http://deb.debian.org/debian bullseye InRelease Get:2 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB] Get:3 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB] Get:4 http://archive.raspberrypi.org/debian bullseye InRelease [23.6 kB]
Get:5 http://security.debian.org/debian-security bullseye-security/main arm64 Packages [232 kB] Get:6 http://security.debian.org/debian-security bullseye-security/main armhf Packages [232 kB] Get:7 http://security.debian.org/debian-security bullseye-security/main Translation-en [154 kB] Get:8 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [315 kB] Get:9 http://archive.raspberrypi.org/debian bullseye/main arm64 Packages [307 kB] Fetched 1,263 kB in 2s (833 kB/s)
Reading package lists... Done Reading package lists... Done Building dependency tree... Done Reading state information... Done avahi-daemon is already the newest version (0.8-5+deb11u1). pkg-config is already the newest version (0.29.2-1). The following package was automatically installed and is no longer required: libfuse2 Use 'sudo apt autoremove' to remove it. The following additional packages will be installed: cmake-data comerr-dev icu-devtools krb5-multidev libavahi-common-dev libbsd-dev libdbus-1-dev libgssrpc4 libicu-dev libjsoncpp24 libkadm5clnt-mit12 libkadm5srv-mit12 libkdb5-10 libkrb5-dev libmd-dev libncurses-dev libnorm-dev libpgm-dev librhash0 libsodium-dev libxml2-dev Suggested packages: cmake-doc ninja-build doc-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn krb5-doc krb5-user icu-doc ncurses-doc libnorm-doc The following NEW packages will be installed: cmake cmake-data comerr-dev icu-devtools krb5-multidev libavahi-client-dev libavahi-common-dev libbsd-dev libdbus-1-dev libgssrpc4 libicu-dev libjsoncpp24 libkadm5clnt-mit12 libkadm5srv-mit12 libkdb5-10 libkrb5-dev libmd-dev libncurses-dev libncurses5-dev libnorm-dev libpgm-dev librhash0 libsodium-dev libxml2-dev libzmq3-dev module-assistant raspberrypi-kernel-headers The following packages will be upgraded: git 1 upgraded, 27 newly installed, 0 to remove and 20 not upgraded. Need to get 34.6 MB of archives. After this operation, 158 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://archive.raspberrypi.org/debian bullseye/main arm64 cmake-data all 3.18.4-2+rpt1+rpi1+deb11u1 [1,726 kB] Get:2 http://deb.debian.org/debian bullseye/main arm64 libjsoncpp24 arm64 1.9.4-4 [72.5 kB]
Get:3 http://security.debian.org/debian-security bullseye-security/main arm64 git arm64 1:2.30.2-1+deb11u2 [5,423 kB]
Get:4 http://deb.debian.org/debian bullseye/main arm64 librhash0 arm64 1.4.1-2 [127 kB]
Get:5 http://deb.debian.org/debian bullseye/main arm64 comerr-dev arm64 2.1-1.46.2-2 [108 kB]
Get:6 http://deb.debian.org/debian bullseye/main arm64 icu-devtools arm64 67.1-7 [189 kB]
Get:7 http://deb.debian.org/debian bullseye/main arm64 libgssrpc4 arm64 1.18.3-6+deb11u3 [89.0 kB] Get:8 http://deb.debian.org/debian bullseye/main arm64 libkdb5-10 arm64 1.18.3-6+deb11u3 [72.2 kB] Get:9 http://deb.debian.org/debian bullseye/main arm64 libkadm5srv-mit12 arm64 1.18.3-6+deb11u3 [84.1 kB] Get:10 http://deb.debian.org/debian bullseye/main arm64 libkadm5clnt-mit12 arm64 1.18.3-6+deb11u3 [72.3 kB]
Get:11 http://deb.debian.org/debian bullseye/main arm64 krb5-multidev arm64 1.18.3-6+deb11u3 [158 kB]
Get:12 http://deb.debian.org/debian bullseye/main arm64 libavahi-common-dev arm64 0.8-5+deb11u1 [74.0 kB] Get:13 http://deb.debian.org/debian bullseye/main arm64 libdbus-1-dev arm64 1.12.24-0+deb11u1 [258 kB]
Get:14 http://deb.debian.org/debian bullseye/main arm64 libavahi-client-dev arm64 0.8-5+deb11u1 [71.8 kB] Get:15 http://deb.debian.org/debian bullseye/main arm64 libmd-dev arm64 1.0.3-3 [45.9 kB]
Get:16 http://deb.debian.org/debian bullseye/main arm64 libbsd-dev arm64 0.11.3-1 [233 kB]
Get:17 http://deb.debian.org/debian bullseye/main arm64 libicu-dev arm64 67.1-7 [9,468 kB]
Get:18 http://archive.raspberrypi.org/debian bullseye/main arm64 cmake arm64 3.18.4-2+rpt1+rpi1+deb11u1 [3,673 kB] Get:19 http://deb.debian.org/debian bullseye/main arm64 libkrb5-dev arm64 1.18.3-6+deb11u3 [47.5 kB] Get:20 http://deb.debian.org/debian bullseye/main arm64 libncurses-dev arm64 6.2+20201114-2 [335 kB] Get:21 http://deb.debian.org/debian bullseye/main arm64 libncurses5-dev arm64 6.2+20201114-2 [936 B] Get:22 http://deb.debian.org/debian bullseye/main arm64 libxml2-dev arm64 2.9.10+dfsg-6.7+deb11u3 [753 kB] Get:23 http://deb.debian.org/debian bullseye/main arm64 libnorm-dev arm64 1.5.9+dfsg-2 [371 kB] Get:24 http://deb.debian.org/debian bullseye/main arm64 libpgm-dev arm64 5.3.128~dfsg-2 [195 kB] Get:25 http://deb.debian.org/debian bullseye/main arm64 libsodium-dev arm64 1.0.18-1 [137 kB] Get:26 http://deb.debian.org/debian bullseye/main arm64 libzmq3-dev arm64 4.3.4-1 [493 kB] Get:27 http://deb.debian.org/debian bullseye/main arm64 module-assistant all 0.11.10 [101 kB] Get:28 http://archive.raspberrypi.org/debian bullseye/main arm64 raspberrypi-kernel-headers arm64 1:1.20230317-1 [10.2 MB] Fetched 34.6 MB in 6s (5,921 kB/s)
Reading changelogs... Done Selecting previously unselected package cmake-data. (Reading database ... 96822 files and directories currently installed.) Preparing to unpack .../00-cmake-data_3.18.4-2+rpt1+rpi1+deb11u1_all.deb ... Unpacking cmake-data (3.18.4-2+rpt1+rpi1+deb11u1) ... Selecting previously unselected package libjsoncpp24:arm64. Preparing to unpack .../01-libjsoncpp24_1.9.4-4_arm64.deb ... Unpacking libjsoncpp24:arm64 (1.9.4-4) ... Selecting previously unselected package librhash0:arm64. Preparing to unpack .../02-librhash0_1.4.1-2_arm64.deb ... Unpacking librhash0:arm64 (1.4.1-2) ... Selecting previously unselected package cmake. Preparing to unpack .../03-cmake_3.18.4-2+rpt1+rpi1+deb11u1_arm64.deb ... Unpacking cmake (3.18.4-2+rpt1+rpi1+deb11u1) ... Selecting previously unselected package comerr-dev:arm64. Preparing to unpack .../04-comerr-dev_2.1-1.46.2-2_arm64.deb ... Unpacking comerr-dev:arm64 (2.1-1.46.2-2) ... Preparing to unpack .../05-git_1%3a2.30.2-1+deb11u2_arm64.deb ... Unpacking git (1:2.30.2-1+deb11u2) over (1:2.30.2-1+deb11u1) ... Selecting previously unselected package icu-devtools. Preparing to unpack .../06-icu-devtools_67.1-7_arm64.deb ... Unpacking icu-devtools (67.1-7) ... Selecting previously unselected package libgssrpc4:arm64. Preparing to unpack .../07-libgssrpc4_1.18.3-6+deb11u3_arm64.deb ... Unpacking libgssrpc4:arm64 (1.18.3-6+deb11u3) ... Selecting previously unselected package libkdb5-10:arm64. Preparing to unpack .../08-libkdb5-10_1.18.3-6+deb11u3_arm64.deb ... Unpacking libkdb5-10:arm64 (1.18.3-6+deb11u3) ... Selecting previously unselected package libkadm5srv-mit12:arm64. Preparing to unpack .../09-libkadm5srv-mit12_1.18.3-6+deb11u3_arm64.deb ... Unpacking libkadm5srv-mit12:arm64 (1.18.3-6+deb11u3) ... Selecting previously unselected package libkadm5clnt-mit12:arm64. Preparing to unpack .../10-libkadm5clnt-mit12_1.18.3-6+deb11u3_arm64.deb ... Unpacking libkadm5clnt-mit12:arm64 (1.18.3-6+deb11u3) ... Selecting previously unselected package krb5-multidev:arm64. Preparing to unpack .../11-krb5-multidev_1.18.3-6+deb11u3_arm64.deb ... Unpacking krb5-multidev:arm64 (1.18.3-6+deb11u3) ... Selecting previously unselected package libavahi-common-dev:arm64. Preparing to unpack .../12-libavahi-common-dev_0.8-5+deb11u1_arm64.deb ... Unpacking libavahi-common-dev:arm64 (0.8-5+deb11u1) ... Selecting previously unselected package libdbus-1-dev:arm64. Preparing to unpack .../13-libdbus-1-dev_1.12.24-0+deb11u1_arm64.deb ... Unpacking libdbus-1-dev:arm64 (1.12.24-0+deb11u1) ... Selecting previously unselected package libavahi-client-dev:arm64. Preparing to unpack .../14-libavahi-client-dev_0.8-5+deb11u1_arm64.deb ... Unpacking libavahi-client-dev:arm64 (0.8-5+deb11u1) ... Selecting previously unselected package libmd-dev:arm64. Preparing to unpack .../15-libmd-dev_1.0.3-3_arm64.deb ... Unpacking libmd-dev:arm64 (1.0.3-3) ... Selecting previously unselected package libbsd-dev:arm64. Preparing to unpack .../16-libbsd-dev_0.11.3-1_arm64.deb ... Unpacking libbsd-dev:arm64 (0.11.3-1) ... Selecting previously unselected package libicu-dev:arm64. Preparing to unpack .../17-libicu-dev_67.1-7_arm64.deb ... Unpacking libicu-dev:arm64 (67.1-7) ... Selecting previously unselected package libkrb5-dev:arm64. Preparing to unpack .../18-libkrb5-dev_1.18.3-6+deb11u3_arm64.deb ... Unpacking libkrb5-dev:arm64 (1.18.3-6+deb11u3) ... Selecting previously unselected package libncurses-dev:arm64. Preparing to unpack .../19-libncurses-dev_6.2+20201114-2_arm64.deb ... Unpacking libncurses-dev:arm64 (6.2+20201114-2) ... Selecting previously unselected package libncurses5-dev:arm64. Preparing to unpack .../20-libncurses5-dev_6.2+20201114-2_arm64.deb ... Unpacking libncurses5-dev:arm64 (6.2+20201114-2) ... Selecting previously unselected package libxml2-dev:arm64. Preparing to unpack .../21-libxml2-dev_2.9.10+dfsg-6.7+deb11u3_arm64.deb ... Unpacking libxml2-dev:arm64 (2.9.10+dfsg-6.7+deb11u3) ... Selecting previously unselected package libnorm-dev:arm64. Preparing to unpack .../22-libnorm-dev_1.5.9+dfsg-2_arm64.deb ... Unpacking libnorm-dev:arm64 (1.5.9+dfsg-2) ... Selecting previously unselected package libpgm-dev:arm64. Preparing to unpack .../23-libpgm-dev_5.3.128~dfsg-2_arm64.deb ... Unpacking libpgm-dev:arm64 (5.3.128~dfsg-2) ... Selecting previously unselected package libsodium-dev:arm64. Preparing to unpack .../24-libsodium-dev_1.0.18-1_arm64.deb ... Unpacking libsodium-dev:arm64 (1.0.18-1) ... Selecting previously unselected package libzmq3-dev:arm64. Preparing to unpack .../25-libzmq3-dev_4.3.4-1_arm64.deb ... Unpacking libzmq3-dev:arm64 (4.3.4-1) ... Selecting previously unselected package module-assistant. Preparing to unpack .../26-module-assistant_0.11.10_all.deb ... Unpacking module-assistant (0.11.10) ... Selecting previously unselected package raspberrypi-kernel-headers. Preparing to unpack .../27-raspberrypi-kernel-headers_1%3a1.20230317-1_arm64.deb ... Unpacking raspberrypi-kernel-headers (1:1.20230317-1) ... Setting up libncurses-dev:arm64 (6.2+20201114-2) ... Setting up libgssrpc4:arm64 (1.18.3-6+deb11u3) ... Setting up raspberrypi-kernel-headers (1:1.20230317-1) ... Setting up libdbus-1-dev:arm64 (1.12.24-0+deb11u1) ... Setting up libpgm-dev:arm64 (5.3.128~dfsg-2) ... Setting up comerr-dev:arm64 (2.1-1.46.2-2) ... Setting up icu-devtools (67.1-7) ... Setting up git (1:2.30.2-1+deb11u2) ... Setting up libsodium-dev:arm64 (1.0.18-1) ... Setting up libjsoncpp24:arm64 (1.9.4-4) ... Setting up module-assistant (0.11.10) ... Setting up librhash0:arm64 (1.4.1-2) ... Setting up libavahi-common-dev:arm64 (0.8-5+deb11u1) ... Setting up libncurses5-dev:arm64 (6.2+20201114-2) ... Setting up libmd-dev:arm64 (1.0.3-3) ... Setting up cmake-data (3.18.4-2+rpt1+rpi1+deb11u1) ... Setting up libicu-dev:arm64 (67.1-7) ... Setting up libbsd-dev:arm64 (0.11.3-1) ... Setting up libkadm5clnt-mit12:arm64 (1.18.3-6+deb11u3) ... Setting up libkdb5-10:arm64 (1.18.3-6+deb11u3) ... Setting up libxml2-dev:arm64 (2.9.10+dfsg-6.7+deb11u3) ... Setting up libkadm5srv-mit12:arm64 (1.18.3-6+deb11u3) ... Setting up cmake (3.18.4-2+rpt1+rpi1+deb11u1) ... Setting up krb5-multidev:arm64 (1.18.3-6+deb11u3) ... Setting up libnorm-dev:arm64 (1.5.9+dfsg-2) ... Setting up libkrb5-dev:arm64 (1.18.3-6+deb11u3) ... Setting up libzmq3-dev:arm64 (4.3.4-1) ... Processing triggers for man-db (2.9.4-2) ... Processing triggers for sgml-base (1.30) ... Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ... Setting up libavahi-client-dev:arm64 (0.8-5+deb11u1) ...

[ 3 ] Checking Soapy SDR installation (SoapySDRUtil)... Did not find SoapySDRUtil. Do you want to clone and install? (Y/[N]): Y ==> Cloning SoapySDR, and compiling... rm: cannot remove 'SoapySDR': No such file or directory Cloning into 'SoapySDR'... remote: Enumerating objects: 12251, done. remote: Counting objects: 100% (1126/1126), done. remote: Compressing objects: 100% (298/298), done. remote: Total 12251 (delta 837), reused 998 (delta 761), pack-reused 11125 Receiving objects: 100% (12251/12251), 4.91 MiB 5.81 MiB/s, done. Resolving deltas: 100% (9150/9150), done. -- The C compiler identification is GNU 10.2.1 -- The CXX compiler identification is GNU 10.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Build type not specified: defaulting to release. -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)

-- ############################################# -- ## Begin configuration for C# support... -- ############################################# -- Enabling optional C# bindings if possible... -- Looking for a CSharp compiler -- Looking for a CSharp compiler - NOTFOUND -- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR) -- SWIG_FOUND: FALSE - -- -- ############################################# -- ## Begin configuration for Python support... -- ############################################# -- Enabling optional Python bindings if possible... -- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR) -- SWIG_FOUND: FALSE - -- Found PythonInterp: /usr/bin/python (found version "3.9.2") -- PYTHONINTERP_FOUND: TRUE - 3.9.2 -- PYTHON_EXECUTABLE: /usr/bin/python -- PYTHON_INSTALL_DIR: ${prefix}/lib/python3.9/dist-packages -- Found PythonLibs: /usr/lib/aarch64-linux-gnu/libpython3.9.so (found version "3.9.2") -- PYTHONLIBS_FOUND: TRUE - 3.9.2 -- PYTHON_INCLUDE_DIRS: /usr/include/python3.9 -- PYTHON_LIBRARIES: /usr/lib/aarch64-linux-gnu/libpython3.9.so -- Performing Test SIZE_T_IS_UNSIGNED_INT -- Performing Test SIZE_T_IS_UNSIGNED_INT - Failed -- -- ############################################# -- ## Begin configuration for Python3 support... -- ############################################# -- Enabling optional Python3 bindings if possible... -- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR) -- SWIG_FOUND: FALSE - -- Found Python3Interp: /usr/bin/python3
CMake Warning (dev) at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:273 (message): The package name passed to find_package_handle_standard_args (Python3InterpDbg) does not match the name of the calling package (Python3Interp). 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): swig/python3/FindPython3Interp.cmake:62 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) swig/python3/CMakeLists.txt:16 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.

-- Could NOT find Python3InterpDbg (missing: PYTHON3_DBG_EXECUTABLE) -- PYTHON3INTERP_FOUND: TRUE -- PYTHON3_EXECUTABLE: /usr/bin/python3 -- PYTHON3_INSTALL_DIR: ${prefix}/lib/python3.9/dist-packages -- Found Python3Libs: -L/usr/lib/python3.9/config-3.9-aarch64-linux-gnu -L/usr/lib -lcrypt -lpthread -ldl -lutil -lm -lm
-- PYTHON3LIBS_FOUND: TRUE -- PYTHON3_INCLUDE_DIRS: /usr/include/python3.9;/usr/include/python3.9 -- PYTHON3_LIBRARIES: -L/usr/lib/python3.9/config-3.9-aarch64-linux-gnu -L/usr/lib -lcrypt -lpthread -ldl -lutil -lm -lm -- -- ############################################# -- ## Begin configuration for LuaJIT support... -- ############################################# -- Enabling optional LuaJIT bindings if possible... -- Found LuaJIT: /usr/bin/luajit
-- LuaJIT interpreter: /usr/bin/luajit -- Checking for Lua module LuaUnit - failed -- -- ###################################################### -- ## SoapySDR enabled features -- ###################################################### --

-- ###################################################### -- ## SoapySDR disabled features -- ###################################################### --

-- SoapySDR version: v0.8.1-g9c4fa324 -- ABI/so version: v0.8-2 -- Install prefix: /usr/local -- Configuring done -- Generating done -- Build files have been written to: /home/zetaerre/projects/cariboulite/installations/SoapySDR/build Scanning dependencies of target SoapySDR [ 2%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Device.cpp.o [ 5%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Registry.cpp.o [ 8%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Types.cpp.o [ 11%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Factory.cpp.o [ 14%] Building CXX object lib/CMakeFiles/SoapySDR.dir/NullDevice.cpp.o [ 17%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Logger.cpp.o [ 20%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Errors.cpp.o [ 22%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Formats.cpp.o [ 25%] Building CXX object lib/CMakeFiles/SoapySDR.dir/ConverterRegistry.cpp.o [ 28%] Building CXX object lib/CMakeFiles/SoapySDR.dir/DefaultConverters.cpp.o [ 31%] Building CXX object lib/CMakeFiles/SoapySDR.dir/TypesC.cpp.o [ 34%] Building CXX object lib/CMakeFiles/SoapySDR.dir/ModulesC.cpp.o [ 37%] Building CXX object lib/CMakeFiles/SoapySDR.dir/VersionC.cpp.o [ 40%] Building CXX object lib/CMakeFiles/SoapySDR.dir/DeviceC.cpp.o [ 42%] Building CXX object lib/CMakeFiles/SoapySDR.dir/FactoryC.cpp.o [ 45%] Building CXX object lib/CMakeFiles/SoapySDR.dir/LoggerC.cpp.o [ 48%] Building CXX object lib/CMakeFiles/SoapySDR.dir/TimeC.cpp.o [ 51%] Building CXX object lib/CMakeFiles/SoapySDR.dir/ErrorsC.cpp.o [ 54%] Building CXX object lib/CMakeFiles/SoapySDR.dir/FormatsC.cpp.o [ 57%] Building CXX object lib/CMakeFiles/SoapySDR.dir/ConvertersC.cpp.o [ 60%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Modules.cpp.o [ 62%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Version.cpp.o [ 65%] Linking CXX shared library libSoapySDR.so [ 65%] Built target SoapySDR Scanning dependencies of target TestConvertTypes Scanning dependencies of target SoapySDRUtil Scanning dependencies of target TestKwargsMarkup [ 68%] Building CXX object tests/CMakeFiles/TestConvertTypes.dir/TestConvertTypes.cpp.o Scanning dependencies of target TestFormatParser [ 71%] Building CXX object apps/CMakeFiles/SoapySDRUtil.dir/SoapySDRUtil.cpp.o [ 74%] Building CXX object tests/CMakeFiles/TestKwargsMarkup.dir/TestKwargsMarkup.cpp.o [ 77%] Building CXX object tests/CMakeFiles/TestFormatParser.dir/TestFormatParser.cpp.o [ 80%] Linking CXX executable TestFormatParser [ 80%] Built target TestFormatParser Scanning dependencies of target TestTimeConversion [ 82%] Building CXX object tests/CMakeFiles/TestTimeConversion.dir/TestTimeConversion.cpp.o [ 85%] Linking CXX executable TestTimeConversion [ 85%] Built target TestTimeConversion [ 88%] Building CXX object apps/CMakeFiles/SoapySDRUtil.dir/SoapySDRProbe.cpp.o [ 91%] Linking CXX executable TestKwargsMarkup [ 91%] Built target TestKwargsMarkup [ 94%] Building CXX object apps/CMakeFiles/SoapySDRUtil.dir/SoapyRateTest.cpp.o [ 97%] Linking CXX executable TestConvertTypes [ 97%] Built target TestConvertTypes [100%] Linking CXX executable SoapySDRUtil [100%] Built target SoapySDRUtil [ 65%] Built target SoapySDR [ 77%] Built target SoapySDRUtil [ 82%] Built target TestConvertTypes [ 88%] Built target TestKwargsMarkup [ 94%] Built target TestFormatParser [100%] Built target TestTimeConversion Install the project... -- Install configuration: "Release" -- Installing: /usr/local/share/cmake/SoapySDR/SoapySDRConfig.cmake -- Installing: /usr/local/share/cmake/SoapySDR/SoapySDRUtil.cmake -- Installing: /usr/local/share/cmake/SoapySDR/SoapySDRConfigVersion.cmake -- Installing: /usr/local/include/SoapySDR -- Installing: /usr/local/include/SoapySDR/Device.h -- Installing: /usr/local/include/SoapySDR/Device.hpp -- Installing: /usr/local/include/SoapySDR/Time.hpp -- Installing: /usr/local/include/SoapySDR/Version.h -- Installing: /usr/local/include/SoapySDR/Converters.h -- Installing: /usr/local/include/SoapySDR/Modules.hpp -- Installing: /usr/local/include/SoapySDR/Types.h -- Installing: /usr/local/include/SoapySDR/Formats.hpp -- Installing: /usr/local/include/SoapySDR/Time.h -- Installing: /usr/local/include/SoapySDR/ConverterRegistry.hpp -- Installing: /usr/local/include/SoapySDR/Errors.hpp -- Installing: /usr/local/include/SoapySDR/Registry.hpp -- Installing: /usr/local/include/SoapySDR/Types.hpp -- Installing: /usr/local/include/SoapySDR/Formats.h -- Installing: /usr/local/include/SoapySDR/Version.hpp -- Installing: /usr/local/include/SoapySDR/Config.hpp -- Installing: /usr/local/include/SoapySDR/Config.h -- Installing: /usr/local/include/SoapySDR/Errors.h -- Installing: /usr/local/include/SoapySDR/Constants.h -- Installing: /usr/local/include/SoapySDR/Logger.h -- Installing: /usr/local/include/SoapySDR/ConverterPrimitives.hpp -- Installing: /usr/local/include/SoapySDR/Logger.hpp -- Installing: /usr/local/include/SoapySDR/Modules.h -- Installing: /usr/local/lib/aarch64-linux-gnu/libSoapySDR.so.0.8.1 -- Installing: /usr/local/lib/aarch64-linux-gnu/libSoapySDR.so.0.8-2 -- Installing: /usr/local/lib/aarch64-linux-gnu/libSoapySDR.so -- Installing: /usr/local/share/cmake/SoapySDR/SoapySDRExport.cmake -- Installing: /usr/local/share/cmake/SoapySDR/SoapySDRExport-release.cmake -- Installing: /usr/local/lib/aarch64-linux-gnu/pkgconfig/SoapySDR.pc -- Installing: /usr/local/bin/SoapySDRUtil -- Set runtime path of "/usr/local/bin/SoapySDRUtil" to "" -- Installing: /usr/local/share/man/man1/SoapySDRUtil.1 -- Installing: /usr/local/share/lua/5.1/SoapySDR/Device.lua -- Installing: /usr/local/share/lua/5.1/SoapySDR/init.lua -- Installing: /usr/local/share/lua/5.1/SoapySDR/Lib.lua -- Installing: /usr/local/share/lua/5.1/SoapySDR/Logger.lua -- Installing: /usr/local/share/lua/5.1/SoapySDR/Time.lua -- Installing: /usr/local/share/lua/5.1/SoapySDR/Utility.lua ==> Cloning SoapyRemote, and compiling... rm: cannot remove 'SoapyRemote': No such file or directory Cloning into 'SoapyRemote'... remote: Enumerating objects: 2152, done. remote: Counting objects: 100% (48/48), done. remote: Compressing objects: 100% (33/33), done. remote: Total 2152 (delta 13), reused 31 (delta 7), pack-reused 2104 Receiving objects: 100% (2152/2152), 572.23 KiB | 1.49 MiB/s, done. Resolving deltas: 100% (1547/1547), done. ./install.sh: line 68: cd: SoapyRemote: No such file or directory CMake Error: The source directory "/home/zetaerre/projects/cariboulite/installations" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. make: *** No targets specified and no makefile found. Stop.

[ 4 ] Checking the installed Soapy utilities... Found SoapySDRUtil at /usr/local/bin/SoapySDRUtil

[ 5 ] Compiling main source...

  1. External Tools... -- The C compiler identification is GNU 10.2.1 -- The CXX compiler identification is GNU 10.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done -- Build files have been written to: /home/zetaerre/projects/cariboulite/software/utils/build Scanning dependencies of target generate_bin_blob [ 50%] Building C object CMakeFiles/generate_bin_blob.dir/generate_bin_blob.c.o [100%] Linking C executable generate_bin_blob [100%] Built target generate_bin_blob
  2. libIIR -- The CXX compiler identification is GNU 10.2.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- The C compiler identification is GNU 10.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Configuring done -- Generating done -- Build files have been written to: /home/zetaerre/projects/cariboulite/software/libcariboulite/src/iir/build Scanning dependencies of target iir_static [ 2%] Building CXX object CMakeFiles/iir_static.dir/iir/Biquad.cpp.o [ 5%] Building CXX object CMakeFiles/iir_static.dir/iir/Butterworth.cpp.o [ 8%] Building CXX object CMakeFiles/iir_static.dir/iir/Cascade.cpp.o [ 11%] Building CXX object CMakeFiles/iir_static.dir/iir/ChebyshevI.cpp.o [ 13%] Building CXX object CMakeFiles/iir_static.dir/iir/ChebyshevII.cpp.o [ 16%] Building CXX object CMakeFiles/iir_static.dir/iir/Custom.cpp.o [ 19%] Building CXX object CMakeFiles/iir_static.dir/iir/PoleFilter.cpp.o [ 22%] Building CXX object CMakeFiles/iir_static.dir/iir/RBJ.cpp.o [ 25%] Linking CXX static library libiir_static.a [ 25%] Built target iir_static Scanning dependencies of target iir [ 27%] Building CXX object CMakeFiles/iir.dir/iir/Biquad.cpp.o [ 30%] Building CXX object CMakeFiles/iir.dir/iir/Butterworth.cpp.o [ 33%] Building CXX object CMakeFiles/iir.dir/iir/Cascade.cpp.o [ 36%] Building CXX object CMakeFiles/iir.dir/iir/ChebyshevI.cpp.o [ 38%] Building CXX object CMakeFiles/iir.dir/iir/ChebyshevII.cpp.o [ 41%] Building CXX object CMakeFiles/iir.dir/iir/Custom.cpp.o [ 44%] Building CXX object CMakeFiles/iir.dir/iir/PoleFilter.cpp.o [ 47%] Building CXX object CMakeFiles/iir.dir/iir/RBJ.cpp.o [ 50%] Linking CXX shared library libiir.so [ 50%] Built target iir Scanning dependencies of target test_butterworth [ 52%] Building CXX object test/CMakeFiles/test_butterworth.dir/butterworth.cpp.o [ 55%] Linking CXX executable test_butterworth [ 55%] Built target test_butterworth Scanning dependencies of target test_chebyshev1 [ 58%] Building CXX object test/CMakeFiles/test_chebyshev1.dir/chebyshev1.cpp.o [ 61%] Linking CXX executable test_chebyshev1 [ 61%] Built target test_chebyshev1 Scanning dependencies of target test_state [ 63%] Building CXX object test/CMakeFiles/test_state.dir/state.cpp.o [ 66%] Linking CXX executable test_state [ 66%] Built target test_state Scanning dependencies of target test_chebyshev2 [ 69%] Building CXX object test/CMakeFiles/test_chebyshev2.dir/chebyshev2.cpp.o [ 72%] Linking CXX executable test_chebyshev2 [ 72%] Built target test_chebyshev2 Scanning dependencies of target test_rbj [ 75%] Building CXX object test/CMakeFiles/test_rbj.dir/rbj.cpp.o [ 77%] Linking CXX executable test_rbj [ 77%] Built target test_rbj Scanning dependencies of target test_custom [ 80%] Building CXX object test/CMakeFiles/test_custom.dir/custom.cpp.o [ 83%] Linking CXX executable test_custom [ 83%] Built target test_custom Scanning dependencies of target test_badparam [ 86%] Building CXX object test/CMakeFiles/test_badparam.dir/badparam.cpp.o [ 88%] Linking CXX executable test_badparam [ 88%] Built target test_badparam Scanning dependencies of target ecg50hzfilt [ 91%] Building CXX object demo/CMakeFiles/ecg50hzfilt.dir/ecg50hzfilt.cpp.o [ 94%] Linking CXX executable ecg50hzfilt [ 94%] Built target ecg50hzfilt Scanning dependencies of target iirdemo [ 97%] Building CXX object demo/CMakeFiles/iirdemo.dir/iirdemo.cpp.o [100%] Linking CXX executable iirdemo [100%] Built target iirdemo [ 25%] Built target iir_static [ 50%] Built target iir [ 55%] Built target test_butterworth [ 61%] Built target test_chebyshev1 [ 66%] Built target test_state [ 72%] Built target test_chebyshev2 [ 77%] Built target test_rbj [ 83%] Built target test_custom [ 88%] Built target test_badparam [ 94%] Built target ecg50hzfilt [100%] Built target iirdemo Install the project... -- Install configuration: "RelWithDebInfo" -- Installing: /usr/local/lib/aarch64-linux-gnu/libiir.so.1.9.1 -- Installing: /usr/local/lib/aarch64-linux-gnu/libiir.so.1 -- Installing: /usr/local/lib/aarch64-linux-gnu/libiir.so -- Installing: /usr/local/include/iir/Biquad.h -- Installing: /usr/local/include/iir/Butterworth.h -- Installing: /usr/local/include/iir/Cascade.h -- Installing: /usr/local/include/iir/ChebyshevI.h -- Installing: /usr/local/include/iir/ChebyshevII.h -- Installing: /usr/local/include/iir/Common.h -- Installing: /usr/local/include/iir/Custom.h -- Installing: /usr/local/include/iir/Layout.h -- Installing: /usr/local/include/iir/MathSupplement.h -- Installing: /usr/local/include/iir/PoleFilter.h -- Installing: /usr/local/include/iir/RBJ.h -- Installing: /usr/local/include/iir/State.h -- Installing: /usr/local/include/iir/Types.h -- Installing: /usr/local/include/Iir.h -- Installing: /usr/local/lib/aarch64-linux-gnu/libiir_static.a -- Up-to-date: /usr/local/include/iir/Biquad.h -- Up-to-date: /usr/local/include/iir/Butterworth.h -- Up-to-date: /usr/local/include/iir/Cascade.h -- Up-to-date: /usr/local/include/iir/ChebyshevI.h -- Up-to-date: /usr/local/include/iir/ChebyshevII.h -- Up-to-date: /usr/local/include/iir/Common.h -- Up-to-date: /usr/local/include/iir/Custom.h -- Up-to-date: /usr/local/include/iir/Layout.h -- Up-to-date: /usr/local/include/iir/MathSupplement.h -- Up-to-date: /usr/local/include/iir/PoleFilter.h -- Up-to-date: /usr/local/include/iir/RBJ.h -- Up-to-date: /usr/local/include/iir/State.h -- Up-to-date: /usr/local/include/iir/Types.h -- Up-to-date: /usr/local/include/Iir.h -- Installing: /usr/local/lib/cmake/iir/iir-config.cmake -- Installing: /usr/local/lib/cmake/iir/iir-config-relwithdebinfo.cmake
  3. SMI kernel module... -- The C compiler identification is GNU 10.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Kernel release: 5.15.84-v8+ -- Kernel headers: KERNELHEADERS_DIR-NOTFOUND -- Configuring done -- Generating done -- Build files have been written to: /home/zetaerre/projects/cariboulite/software/libcariboulite/src/caribou_smi/kernel/build Scanning dependencies of target smi_stream_dev compiling module smi_stream_dev.ko... make[3]: KERNELHEADERS_DIR-NOTFOUND: No such file or directory. Stop. make[2]: [CMakeFiles/smi_stream_dev.dir/build.make:87: smi_stream_dev] Error 2 make[1]: [CMakeFiles/Makefile2:95: CMakeFiles/smi_stream_dev.dir/all] Error 2 make: [Makefile:103: all] Error 2
  4. Main software... -- The C compiler identification is GNU 10.2.1 -- The CXX compiler identification is GNU 10.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE
    -- Performing Test HAS_STD_CXX11 -- Performing Test HAS_STD_CXX11 - Success -- Configuring done -- Generating done -- Build files have been written to: /home/zetaerre/projects/cariboulite/build Scanning dependencies of target iir [ 1%] Building CXX object src/iir/CMakeFiles/iir.dir/iir/Biquad.cpp.o [ 3%] Building CXX object src/iir/CMakeFiles/iir.dir/iir/Butterworth.cpp.o [ 3%] Building CXX object src/iir/CMakeFiles/iir.dir/iir/Cascade.cpp.o [ 5%] Building CXX object src/iir/CMakeFiles/iir.dir/iir/ChebyshevI.cpp.o [ 7%] Building CXX object src/iir/CMakeFiles/iir.dir/iir/ChebyshevII.cpp.o [ 9%] Building CXX object src/iir/CMakeFiles/iir.dir/iir/Custom.cpp.o [ 11%] Building CXX object src/iir/CMakeFiles/iir.dir/iir/PoleFilter.cpp.o [ 11%] Building CXX object src/iir/CMakeFiles/iir.dir/iir/RBJ.cpp.o [ 12%] Linking CXX shared library libiir.so [ 12%] Built target iir Scanning dependencies of target datatypes [ 14%] Building C object src/datatypes/CMakeFiles/datatypes.dir/tsqueue.c.o [ 14%] Building C object src/datatypes/CMakeFiles/datatypes.dir/tiny_list.c.o [ 16%] Building CXX object src/datatypes/CMakeFiles/datatypes.dir/circular_buffer.cpp.o [ 18%] Building C object src/datatypes/CMakeFiles/datatypes.dir/entropy.c.o [ 20%] Linking CXX static library libdatatypes.a [ 20%] Built target datatypes Scanning dependencies of target ustimer [ 22%] Building C object src/ustimer/CMakeFiles/ustimer.dir/ustimer.c.o [ 24%] Linking C static library libustimer.a [ 24%] Built target ustimer Scanning dependencies of target caribou_prog [ 25%] Building C object src/caribou_programming/CMakeFiles/caribou_prog.dir/caribou_prog.c.o [ 27%] Linking C static library libcaribou_prog.a [ 27%] Built target caribou_prog Scanning dependencies of target caribou_fpga [ 29%] Building C object src/caribou_fpga/CMakeFiles/caribou_fpga.dir/caribou_fpga.c.o [ 29%] Linking C static library libcaribou_fpga.a [ 29%] Built target caribou_fpga Scanning dependencies of target at86rf215 [ 31%] Building C object src/at86rf215/CMakeFiles/at86rf215.dir/at86rf215.c.o [ 33%] Building C object src/at86rf215/CMakeFiles/at86rf215.dir/at86rf215_events.c.o [ 33%] Building C object src/at86rf215/CMakeFiles/at86rf215.dir/at86rf215_radio.c.o [ 35%] Building C object src/at86rf215/CMakeFiles/at86rf215.dir/at86rf215_baseband.c.o [ 37%] Linking C static library libat86rf215.a [ 37%] Built target at86rf215 Scanning dependencies of target caribou_smi [ 37%] Building C object src/caribou_smi/CMakeFiles/caribou_smi.dir/caribou_smi.c.o [ 38%] Building C object src/caribou_smi/CMakeFiles/caribou_smi.dir/smi_utils.c.o [ 40%] Building C object src/caribou_smi/CMakeFiles/caribou_smi.dir/caribou_smi_modules.c.o [ 42%] Linking C static library libcaribou_smi.a [ 42%] Built target caribou_smi Scanning dependencies of target io_utils [ 44%] Building C object src/io_utils/CMakeFiles/io_utils.dir/io_utils.c.o [ 44%] Building C object src/io_utils/CMakeFiles/io_utils.dir/io_utils_spi.c.o [ 46%] Building C object src/io_utils/CMakeFiles/io_utils.dir/io_utils_sys_info.c.o [ 48%] Building C object src/io_utils/CMakeFiles/io_utils.dir/io_utils_fs.c.o [ 50%] Building C object src/io_utils/CMakeFiles/io_utils.dir/io_utils_i2c.c.o [ 50%] Building C object src/io_utils/CMakeFiles/io_utils.dir/pigpio/pigpio.c.o /home/zetaerre/projects/cariboulite/software/libcariboulite/src/io_utils/pigpio/pigpio.c:1560:15: warning: ‘myTimeStamp’ defined but not used [-Wunused-function] 1560 | static char * myTimeStamp() | ^~~ [ 51%] Building C object src/io_utils/CMakeFiles/io_utils.dir/pigpio/command.c.o [ 53%] Linking C static library libio_utils.a [ 53%] Built target io_utils Scanning dependencies of target rffc507x [ 55%] Building C object src/rffc507x/CMakeFiles/rffc507x.dir/rffc507x.c.o [ 55%] Linking C static library librffc507x.a [ 55%] Built target rffc507x Scanning dependencies of target hat [ 57%] Building C object src/hat/CMakeFiles/hat.dir/hat.c.o [ 57%] Building C object src/hat/CMakeFiles/hat.dir/eeprom_utils.c.o [ 59%] Linking C static library libhat.a [ 59%] Built target hat Scanning dependencies of target production_utils [ 61%] Building C object src/production_utils/CMakeFiles/production_utils.dir/production_utils.c.o [ 62%] Building C object src/production_utils/CMakeFiles/production_utils.dir/hat_powermon.c.o [ 62%] Building C object src/production_utils/CMakeFiles/production_utils.dir/lcd.c.o [ 64%] Building C object src/production_utils/CMakeFiles/production_utils.dir/production_testing.c.o [ 66%] Linking C static library libproduction_utils.a [ 66%] Built target production_utils Scanning dependencies of target zf_log [ 68%] Building C object src/zf_log/CMakeFiles/zf_log.dir/zf_log.c.o [ 70%] Linking C static library libzf_log.a [ 70%] Built target zf_log Scanning dependencies of target cariboulite [ 70%] Building C object CMakeFiles/cariboulite.dir/src/cariboulite_setup.c.o [ 72%] Building C object CMakeFiles/cariboulite.dir/src/cariboulite_events.c.o [ 74%] Building C object CMakeFiles/cariboulite.dir/src/cariboulite_radio.c.o [ 75%] Linking CXX static library libcariboulite.a [ 75%] Built target cariboulite Scanning dependencies of target cariboulite_util [ 77%] Building C object CMakeFiles/cariboulite_util.dir/src/cariboulite.c.o /home/zetaerre/projects/cariboulite/software/libcariboulite/src/cariboulite.c: In function ‘main’: /home/zetaerre/projects/cariboulite/software/libcariboulite/src/cariboulite.c:286:34: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 286 | (state.samples_to_read) : | ^~~~~~~ [ 79%] Linking CXX executable cariboulite_util [ 79%] Built target cariboulite_util Scanning dependencies of target cariboulite_test_app [ 81%] Building C object CMakeFiles/cariboulite_test_app.dir/src/cariboulite_test_app.c.o [ 81%] Building C object CMakeFiles/cariboulite_test_app.dir/src/app_menu.c.o [ 83%] Linking CXX executable cariboulite_test_app [ 83%] Built target cariboulite_test_app Scanning dependencies of target fpgacomm [ 85%] Building C object CMakeFiles/fpgacomm.dir/test/fpga_comm_test.c.o [ 87%] Linking CXX executable test/fpgacomm [ 87%] Built target fpgacomm Scanning dependencies of target caribou_programmer [ 88%] Building C object CMakeFiles/caribou_programmer.dir/test/caribou_programmer.c.o [ 90%] Linking CXX executable test/caribou_programmer [ 90%] Built target caribou_programmer Scanning dependencies of target SoapyCariboulite [ 90%] Building CXX object CMakeFiles/SoapyCariboulite.dir/src/soapy_api/SoapyCariboulite.cpp.o [ 92%] Building CXX object CMakeFiles/SoapyCariboulite.dir/src/soapy_api/Cariboulite.cpp.o [ 94%] Building CXX object CMakeFiles/SoapyCariboulite.dir/src/soapy_api/CaribouliteStreamFunctions.cpp.o [ 96%] Building CXX object CMakeFiles/SoapyCariboulite.dir/src/soapy_api/CaribouliteStream.cpp.o [ 96%] Building CXX object CMakeFiles/SoapyCariboulite.dir/src/soapy_api/CaribouliteSession.cpp.o [ 98%] Building CXX object CMakeFiles/SoapyCariboulite.dir/src/soapy_api/CaribouliteSensors.cpp.o [100%] Linking CXX shared module libSoapyCariboulite.so [100%] Built target SoapyCariboulite [ 12%] Built target iir [ 20%] Built target datatypes [ 24%] Built target ustimer [ 27%] Built target caribou_prog [ 29%] Built target caribou_fpga [ 37%] Built target at86rf215 [ 42%] Built target caribou_smi [ 53%] Built target io_utils [ 55%] Built target rffc507x [ 59%] Built target hat [ 66%] Built target production_utils [ 70%] Built target zf_log [ 75%] Built target cariboulite [ 79%] Built target cariboulite_util [ 83%] Built target cariboulite_test_app [ 87%] Built target fpgacomm [ 90%] Built target caribou_programmer [100%] Built target SoapyCariboulite Install the project... -- Install configuration: "Release" -- Installing: /usr/local/lib/aarch64-linux-gnu/SoapySDR/modules0.8-2/libSoapyCariboulite.so -- Set runtime path of "/usr/local/lib/aarch64-linux-gnu/SoapySDR/modules0.8-2/libSoapyCariboulite.so" to "" -- Installing: /usr/local/lib/libcariboulite.a -- Installing: /usr/local/bin/cariboulite_util -- Set runtime path of "/usr/local/bin/cariboulite_util" to ""

[ 6 ] Environmental Settings...

  1. SPI configuration... OK :)
  2. ARM I2C Configuration... OK :)
  3. I2C-VC Configuration... Warning To communicate with CaribouLite EEPROM, the i2c_vc device needs to be enabled Please add the following to the '/boot/config.txt' file: 'dtparam=i2c_vc=on'

[ 7 ] Installation errors occured.

ImDroided commented 1 year ago

you need to install your kernel headers and make sure they are linked correctly. Just go download Dragon OS or the default OS and you shouldn't have any issues.

Alle1307 commented 1 year ago

Same sort of issue here, fresh install on Raspberry Pi 2 Zero with latest official 64bit lite kernel on new 32GB SD card. Only addition is GIT installed. Looks like some dependancies are missing. Anyway it crashes somehow. What is missing? Are the instructions complete?

Here is my log:

[ 1 ] CaribouLite Git Repo hint: Pulling without specifying how to reconcile divergent branches is hint: discouraged. You can squelch this message by running one of the following hint: commands sometime before your next pull: hint: hint: git config pull.rebase false # merge (the default strategy) hint: git config pull.rebase true # rebase hint: git config pull.ff only # fast-forward only hint: hint: You can replace "git config" with "git config --global" to set a default hint: preference for all repositories. You can also pass --rebase, --no-rebase, hint: or --ff-only on the command line to override the configured default per hint: invocation. Already up to date. Submodule 'software/libcariboulite/src/iir' (https://github.com/berndporr/iir1) registered for path 'software/libcariboulite/src/iir' Cloning into '/home/alle/projects/cariboulite/software/libcariboulite/src/iir'... Submodule path 'software/libcariboulite/src/iir': checked out 'fc8634d15b470a00ba4859915fec0047bb486dd4'

[ 2 ] Updating system and installing dependencies... Hit:1 http://deb.debian.org/debian bullseye InRelease Get:2 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB] Hit:3 http://security.debian.org/debian-security bullseye-security InRelease Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease Fetched 44.1 kB in 3s (14.4 kB/s)
Reading package lists... Done Reading package lists... Done Building dependency tree... Done Reading state information... Done git is already the newest version (1:2.30.2-1+deb11u2). pkg-config is already the newest version (0.29.2-1). The following additional packages will be installed: cmake-data comerr-dev icu-devtools krb5-multidev libarchive13 libbsd-dev libgssrpc4 libicu-dev libjsoncpp24 libkadm5clnt-mit12 libkadm5srv-mit12 libkdb5-10 libkrb5-dev libmd-dev libncurses-dev libnorm-dev libnorm1 libpgm-5.3-0 libpgm-dev librhash0 libsodium-dev libsodium23 libxml2-dev libzmq5 Suggested packages: cmake-doc ninja-build doc-base krb5-doc lrzip krb5-user icu-doc ncurses-doc libnorm-doc The following NEW packages will be installed: cmake cmake-data comerr-dev icu-devtools krb5-multidev libarchive13 libbsd-dev libgssrpc4 libicu-dev libjsoncpp24 libkadm5clnt-mit12 libkadm5srv-mit12 libkdb5-10 libkrb5-dev libmd-dev libncurses-dev libncurses5-dev libnorm-dev libnorm1 libpgm-5.3-0 libpgm-dev librhash0 libsodium-dev libsodium23 libxml2-dev libzmq3-dev libzmq5 module-assistant raspberrypi-kernel-headers 0 upgraded, 29 newly installed, 0 to remove and 0 not upgraded. Need to get 29.8 MB of archives. After this operation, 159 MB of additional disk space will be used. Get:1 http://deb.debian.org/debian bullseye/main arm64 libarchive13 arm64 3.4.3-2+deb11u1 [320 kB] Get:2 http://archive.raspberrypi.org/debian bullseye/main arm64 cmake-data all 3.18.4-2+rpt1+rpi1+deb11u1 [1726 kB] Get:3 http://deb.debian.org/debian bullseye/main arm64 libjsoncpp24 arm64 1.9.4-4 [72.5 kB] Get:4 http://deb.debian.org/debian bullseye/main arm64 librhash0 arm64 1.4.1-2 [127 kB] Get:5 http://deb.debian.org/debian bullseye/main arm64 comerr-dev arm64 2.1-1.46.2-2 [108 kB] Get:6 http://deb.debian.org/debian bullseye/main arm64 icu-devtools arm64 67.1-7 [189 kB] Get:7 http://deb.debian.org/debian bullseye/main arm64 libgssrpc4 arm64 1.18.3-6+deb11u3 [89.0 kB] Get:8 http://deb.debian.org/debian bullseye/main arm64 libkdb5-10 arm64 1.18.3-6+deb11u3 [72.2 kB] Get:9 http://deb.debian.org/debian bullseye/main arm64 libkadm5srv-mit12 arm64 1.18.3-6+deb11u3 [84.1 kB] Get:10 http://deb.debian.org/debian bullseye/main arm64 libkadm5clnt-mit12 arm64 1.18.3-6+deb11u3 [72.3 kB] Get:11 http://deb.debian.org/debian bullseye/main arm64 krb5-multidev arm64 1.18.3-6+deb11u3 [158 kB] Get:12 http://deb.debian.org/debian bullseye/main arm64 libmd-dev arm64 1.0.3-3 [45.9 kB] Get:13 http://deb.debian.org/debian bullseye/main arm64 libbsd-dev arm64 0.11.3-1 [233 kB] Get:14 http://deb.debian.org/debian bullseye/main arm64 libicu-dev arm64 67.1-7 [9468 kB] Get:15 http://archive.raspberrypi.org/debian bullseye/main arm64 cmake arm64 3.18.4-2+rpt1+rpi1+deb11u1 [3673 kB] Get:16 http://deb.debian.org/debian bullseye/main arm64 libkrb5-dev arm64 1.18.3-6+deb11u3 [47.5 kB] Get:17 http://deb.debian.org/debian bullseye/main arm64 libncurses-dev arm64 6.2+20201114-2+deb11u1 [336 kB] Get:18 http://deb.debian.org/debian bullseye/main arm64 libncurses5-dev arm64 6.2+20201114-2+deb11u1 [948 B] Get:19 http://deb.debian.org/debian bullseye/main arm64 libnorm1 arm64 1.5.9+dfsg-2 [202 kB] Get:20 http://deb.debian.org/debian bullseye/main arm64 libxml2-dev arm64 2.9.10+dfsg-6.7+deb11u4 [753 kB] Get:21 http://deb.debian.org/debian bullseye/main arm64 libnorm-dev arm64 1.5.9+dfsg-2 [371 kB] Get:22 http://deb.debian.org/debian bullseye/main arm64 libpgm-5.3-0 arm64 5.3.128~dfsg-2 [152 kB] Get:23 http://deb.debian.org/debian bullseye/main arm64 libpgm-dev arm64 5.3.128~dfsg-2 [195 kB] Get:24 http://deb.debian.org/debian bullseye/main arm64 libsodium23 arm64 1.0.18-1 [119 kB] Get:25 http://deb.debian.org/debian bullseye/main arm64 libsodium-dev arm64 1.0.18-1 [137 kB] Get:26 http://deb.debian.org/debian bullseye/main arm64 libzmq5 arm64 4.3.4-1 [247 kB] Get:27 http://deb.debian.org/debian bullseye/main arm64 libzmq3-dev arm64 4.3.4-1 [493 kB] Get:28 http://deb.debian.org/debian bullseye/main arm64 module-assistant all 0.11.10 [101 kB] Get:29 http://archive.raspberrypi.org/debian bullseye/main arm64 raspberrypi-kernel-headers arm64 1:1.20230405-1 [10.2 MB] Fetched 29.8 MB in 50s (597 kB/s)
apt-listchanges: Can't set locale; make sure $LC_* and $LANG are correct! perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_TIME = "nl_NL.UTF-8", LC_MONETARY = "nl_NL.UTF-8", LC_ADDRESS = "nl_NL.UTF-8", LC_TELEPHONE = "nl_NL.UTF-8", LC_NAME = "nl_NL.UTF-8", LC_MEASUREMENT = "nl_NL.UTF-8", LC_IDENTIFICATION = "nl_NL.UTF-8", LC_NUMERIC = "nl_NL.UTF-8", LC_PAPER = "nl_NL.UTF-8", LANG = "en_GB.UTF-8" are supported and installed on your system. perl: warning: Falling back to a fallback locale ("en_GB.UTF-8"). locale: Cannot set LC_ALL to default locale: No such file or directory Selecting previously unselected package cmake-data. (Reading database ... 38708 files and directories currently installed.) Preparing to unpack .../00-cmake-data_3.18.4-2+rpt1+rpi1+deb11u1_all.deb ... Unpacking cmake-data (3.18.4-2+rpt1+rpi1+deb11u1) ... Selecting previously unselected package libarchive13:arm64. Preparing to unpack .../01-libarchive13_3.4.3-2+deb11u1_arm64.deb ... Unpacking libarchive13:arm64 (3.4.3-2+deb11u1) ... Selecting previously unselected package libjsoncpp24:arm64. Preparing to unpack .../02-libjsoncpp24_1.9.4-4_arm64.deb ... Unpacking libjsoncpp24:arm64 (1.9.4-4) ... Selecting previously unselected package librhash0:arm64. Preparing to unpack .../03-librhash0_1.4.1-2_arm64.deb ... Unpacking librhash0:arm64 (1.4.1-2) ... Selecting previously unselected package cmake. Preparing to unpack .../04-cmake_3.18.4-2+rpt1+rpi1+deb11u1_arm64.deb ... Unpacking cmake (3.18.4-2+rpt1+rpi1+deb11u1) ... Selecting previously unselected package comerr-dev:arm64. Preparing to unpack .../05-comerr-dev_2.1-1.46.2-2_arm64.deb ... Unpacking comerr-dev:arm64 (2.1-1.46.2-2) ... Selecting previously unselected package icu-devtools. Preparing to unpack .../06-icu-devtools_67.1-7_arm64.deb ... Unpacking icu-devtools (67.1-7) ... Selecting previously unselected package libgssrpc4:arm64. Preparing to unpack .../07-libgssrpc4_1.18.3-6+deb11u3_arm64.deb ... Unpacking libgssrpc4:arm64 (1.18.3-6+deb11u3) ... Selecting previously unselected package libkdb5-10:arm64. Preparing to unpack .../08-libkdb5-10_1.18.3-6+deb11u3_arm64.deb ... Unpacking libkdb5-10:arm64 (1.18.3-6+deb11u3) ... Selecting previously unselected package libkadm5srv-mit12:arm64. Preparing to unpack .../09-libkadm5srv-mit12_1.18.3-6+deb11u3_arm64.deb ... Unpacking libkadm5srv-mit12:arm64 (1.18.3-6+deb11u3) ... Selecting previously unselected package libkadm5clnt-mit12:arm64. Preparing to unpack .../10-libkadm5clnt-mit12_1.18.3-6+deb11u3_arm64.deb ... Unpacking libkadm5clnt-mit12:arm64 (1.18.3-6+deb11u3) ... Selecting previously unselected package krb5-multidev:arm64. Preparing to unpack .../11-krb5-multidev_1.18.3-6+deb11u3_arm64.deb ... Unpacking krb5-multidev:arm64 (1.18.3-6+deb11u3) ... Selecting previously unselected package libmd-dev:arm64. Preparing to unpack .../12-libmd-dev_1.0.3-3_arm64.deb ... Unpacking libmd-dev:arm64 (1.0.3-3) ... Selecting previously unselected package libbsd-dev:arm64. Preparing to unpack .../13-libbsd-dev_0.11.3-1_arm64.deb ... Unpacking libbsd-dev:arm64 (0.11.3-1) ... Selecting previously unselected package libicu-dev:arm64. Preparing to unpack .../14-libicu-dev_67.1-7_arm64.deb ... Unpacking libicu-dev:arm64 (67.1-7) ... Selecting previously unselected package libkrb5-dev:arm64. Preparing to unpack .../15-libkrb5-dev_1.18.3-6+deb11u3_arm64.deb ... Unpacking libkrb5-dev:arm64 (1.18.3-6+deb11u3) ... Selecting previously unselected package libncurses-dev:arm64. Preparing to unpack .../16-libncurses-dev_6.2+20201114-2+deb11u1_arm64.deb ... Unpacking libncurses-dev:arm64 (6.2+20201114-2+deb11u1) ... Selecting previously unselected package libncurses5-dev:arm64. Preparing to unpack .../17-libncurses5-dev_6.2+20201114-2+deb11u1_arm64.deb ... Unpacking libncurses5-dev:arm64 (6.2+20201114-2+deb11u1) ... Selecting previously unselected package libnorm1:arm64. Preparing to unpack .../18-libnorm1_1.5.9+dfsg-2_arm64.deb ... Unpacking libnorm1:arm64 (1.5.9+dfsg-2) ... Selecting previously unselected package libxml2-dev:arm64. Preparing to unpack .../19-libxml2-dev_2.9.10+dfsg-6.7+deb11u4_arm64.deb ... Unpacking libxml2-dev:arm64 (2.9.10+dfsg-6.7+deb11u4) ... Selecting previously unselected package libnorm-dev:arm64. Preparing to unpack .../20-libnorm-dev_1.5.9+dfsg-2_arm64.deb ... Unpacking libnorm-dev:arm64 (1.5.9+dfsg-2) ... Selecting previously unselected package libpgm-5.3-0:arm64. Preparing to unpack .../21-libpgm-5.3-0_5.3.128~dfsg-2_arm64.deb ... Unpacking libpgm-5.3-0:arm64 (5.3.128~dfsg-2) ... Selecting previously unselected package libpgm-dev:arm64. Preparing to unpack .../22-libpgm-dev_5.3.128~dfsg-2_arm64.deb ... Unpacking libpgm-dev:arm64 (5.3.128~dfsg-2) ... Selecting previously unselected package libsodium23:arm64. Preparing to unpack .../23-libsodium23_1.0.18-1_arm64.deb ... Unpacking libsodium23:arm64 (1.0.18-1) ... Selecting previously unselected package libsodium-dev:arm64. Preparing to unpack .../24-libsodium-dev_1.0.18-1_arm64.deb ... Unpacking libsodium-dev:arm64 (1.0.18-1) ... Selecting previously unselected package libzmq5:arm64. Preparing to unpack .../25-libzmq5_4.3.4-1_arm64.deb ... Unpacking libzmq5:arm64 (4.3.4-1) ... Selecting previously unselected package libzmq3-dev:arm64. Preparing to unpack .../26-libzmq3-dev_4.3.4-1_arm64.deb ... Unpacking libzmq3-dev:arm64 (4.3.4-1) ... Selecting previously unselected package module-assistant. Preparing to unpack .../27-module-assistant_0.11.10_all.deb ... Unpacking module-assistant (0.11.10) ... Selecting previously unselected package raspberrypi-kernel-headers. Preparing to unpack .../28-raspberrypi-kernel-headers_1%3a1.20230405-1arm64.deb ... Unpacking raspberrypi-kernel-headers (1:1.20230405-1) ... Setting up libncurses-dev:arm64 (6.2+20201114-2+deb11u1) ... Setting up libsodium23:arm64 (1.0.18-1) ... Setting up libarchive13:arm64 (3.4.3-2+deb11u1) ... Setting up libpgm-5.3-0:arm64 (5.3.128~dfsg-2) ... Setting up libnorm1:arm64 (1.5.9+dfsg-2) ... Setting up libgssrpc4:arm64 (1.18.3-6+deb11u3) ... Setting up raspberrypi-kernel-headers (1:1.20230405-1) ... Setting up libpgm-dev:arm64 (5.3.128~dfsg-2) ... Setting up comerr-dev:arm64 (2.1-1.46.2-2) ... Setting up icu-devtools (67.1-7) ... Setting up libsodium-dev:arm64 (1.0.18-1) ... Setting up libjsoncpp24:arm64 (1.9.4-4) ... Setting up module-assistant (0.11.10) ... Setting up librhash0:arm64 (1.4.1-2) ... Setting up libncurses5-dev:arm64 (6.2+20201114-2+deb11u1) ... Setting up libmd-dev:arm64 (1.0.3-3) ... Setting up cmake-data (3.18.4-2+rpt1+rpi1+deb11u1) ... Setting up libicu-dev:arm64 (67.1-7) ... Setting up libbsd-dev:arm64 (0.11.3-1) ... Setting up libkadm5clnt-mit12:arm64 (1.18.3-6+deb11u3) ... Setting up libkdb5-10:arm64 (1.18.3-6+deb11u3) ... Setting up libzmq5:arm64 (4.3.4-1) ... Setting up libxml2-dev:arm64 (2.9.10+dfsg-6.7+deb11u4) ... Setting up libkadm5srv-mit12:arm64 (1.18.3-6+deb11u3) ... Setting up cmake (3.18.4-2+rpt1+rpi1+deb11u1) ... Setting up krb5-multidev:arm64 (1.18.3-6+deb11u3) ... Setting up libnorm-dev:arm64 (1.5.9+dfsg-2) ... Setting up libkrb5-dev:arm64 (1.18.3-6+deb11u3) ... Setting up libzmq3-dev:arm64 (4.3.4-1) ... Processing triggers for man-db (2.9.4-2) ... Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ... Reading package lists... Done Building dependency tree... Done Reading state information... Done avahi-daemon is already the newest version (0.8-5+deb11u2). The following additional packages will be installed: libavahi-client3 libavahi-common-dev libdbus-1-dev libexpat1-dev libpython3.9-dev python3-lib2to3 swig4.0 Suggested packages: swig-doc swig-examples swig4.0-examples swig4.0-doc The following NEW packages will be installed: libavahi-client-dev libavahi-client3 libavahi-common-dev libdbus-1-dev libexpat1-dev libpython3-dev libpython3.9-dev python3-distutils python3-lib2to3 swig swig4.0 0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. Need to get 6295 kB of archives. After this operation, 28.1 MB of additional disk space will be used. Get:1 http://deb.debian.org/debian bullseye/main arm64 libavahi-client3 arm64 0.8-5+deb11u2 [61.0 kB] Get:2 http://deb.debian.org/debian bullseye/main arm64 libavahi-common-dev arm64 0.8-5+deb11u2 [74.0 kB] Get:3 http://deb.debian.org/debian bullseye/main arm64 libdbus-1-dev arm64 1.12.24-0+deb11u1 [258 kB] Get:4 http://deb.debian.org/debian bullseye/main arm64 libavahi-client-dev arm64 0.8-5+deb11u2 [71.8 kB] Get:5 http://deb.debian.org/debian bullseye/main arm64 libexpat1-dev arm64 2.2.10-2+deb11u5 [128 kB] Get:6 http://deb.debian.org/debian bullseye/main arm64 libpython3.9-dev arm64 3.9.2-1 [3835 kB] Get:7 http://deb.debian.org/debian bullseye/main arm64 libpython3-dev arm64 3.9.2-3 [21.7 kB] Get:8 http://deb.debian.org/debian bullseye/main arm64 python3-lib2to3 all 3.9.2-1 [77.8 kB] Get:9 http://deb.debian.org/debian bullseye/main arm64 python3-distutils all 3.9.2-1 [143 kB] Get:10 http://deb.debian.org/debian bullseye/main arm64 swig4.0 arm64 4.0.2-1 [1295 kB] Get:11 http://deb.debian.org/debian bullseye/main arm64 swig all 4.0.2-1 [330 kB] Fetched 6295 kB in 8s (800 kB/s)
apt-listchanges: Can't set locale; make sure $LC
* and $LANG are correct! perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_TIME = "nl_NL.UTF-8", LC_MONETARY = "nl_NL.UTF-8", LC_ADDRESS = "nl_NL.UTF-8", LC_TELEPHONE = "nl_NL.UTF-8", LC_NAME = "nl_NL.UTF-8", LC_MEASUREMENT = "nl_NL.UTF-8", LC_IDENTIFICATION = "nl_NL.UTF-8", LC_NUMERIC = "nl_NL.UTF-8", LC_PAPER = "nl_NL.UTF-8", LANG = "en_GB.UTF-8" are supported and installed on your system. perl: warning: Falling back to a fallback locale ("en_GB.UTF-8"). locale: Cannot set LC_ALL to default locale: No such file or directory Selecting previously unselected package libavahi-client3:arm64. (Reading database ... 60896 files and directories currently installed.) Preparing to unpack .../00-libavahi-client3_0.8-5+deb11u2_arm64.deb ... Unpacking libavahi-client3:arm64 (0.8-5+deb11u2) ... Selecting previously unselected package libavahi-common-dev:arm64. Preparing to unpack .../01-libavahi-common-dev_0.8-5+deb11u2_arm64.deb ... Unpacking libavahi-common-dev:arm64 (0.8-5+deb11u2) ... Selecting previously unselected package libdbus-1-dev:arm64. Preparing to unpack .../02-libdbus-1-dev_1.12.24-0+deb11u1_arm64.deb ... Unpacking libdbus-1-dev:arm64 (1.12.24-0+deb11u1) ... Selecting previously unselected package libavahi-client-dev:arm64. Preparing to unpack .../03-libavahi-client-dev_0.8-5+deb11u2_arm64.deb ... Unpacking libavahi-client-dev:arm64 (0.8-5+deb11u2) ... Selecting previously unselected package libexpat1-dev:arm64. Preparing to unpack .../04-libexpat1-dev_2.2.10-2+deb11u5_arm64.deb ... Unpacking libexpat1-dev:arm64 (2.2.10-2+deb11u5) ... Selecting previously unselected package libpython3.9-dev:arm64. Preparing to unpack .../05-libpython3.9-dev_3.9.2-1_arm64.deb ... Unpacking libpython3.9-dev:arm64 (3.9.2-1) ... Selecting previously unselected package libpython3-dev:arm64. Preparing to unpack .../06-libpython3-dev_3.9.2-3_arm64.deb ... Unpacking libpython3-dev:arm64 (3.9.2-3) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../07-python3-lib2to3_3.9.2-1_all.deb ... Unpacking python3-lib2to3 (3.9.2-1) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../08-python3-distutils_3.9.2-1_all.deb ... Unpacking python3-distutils (3.9.2-1) ... Selecting previously unselected package swig4.0. Preparing to unpack .../09-swig4.0_4.0.2-1_arm64.deb ... Unpacking swig4.0 (4.0.2-1) ... Selecting previously unselected package swig. Preparing to unpack .../10-swig_4.0.2-1_all.deb ... Unpacking swig (4.0.2-1) ... Setting up libexpat1-dev:arm64 (2.2.10-2+deb11u5) ... Setting up libdbus-1-dev:arm64 (1.12.24-0+deb11u1) ... Setting up libavahi-common-dev:arm64 (0.8-5+deb11u2) ... Setting up swig4.0 (4.0.2-1) ... Setting up python3-lib2to3 (3.9.2-1) ... Setting up libavahi-client3:arm64 (0.8-5+deb11u2) ... Setting up python3-distutils (3.9.2-1) ... Setting up swig (4.0.2-1) ... Setting up libpython3.9-dev:arm64 (3.9.2-1) ... Setting up libavahi-client-dev:arm64 (0.8-5+deb11u2) ... Setting up libpython3-dev:arm64 (3.9.2-3) ... Processing triggers for man-db (2.9.4-2) ... Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ...

[ 3 ] Checking Soapy SDR installation (SoapySDRUtil)... Did not find SoapySDRUtil. Do you want to clone and install? [Y/n]: Y ==> Cloning SoapySDR, and compiling... Cloning into 'SoapySDR'... remote: Enumerating objects: 9901, done. remote: Counting objects: 100% (804/804), done. remote: Compressing objects: 100% (226/226), done. remote: Total 9901 (delta 636), reused 637 (delta 560), pack-reused 9097 Receiving objects: 100% (9901/9901), 4.55 MiB 759.00 KiB/s, done. Resolving deltas: 100% (7564/7564), done. -- The C compiler identification is GNU 10.2.1 -- The CXX compiler identification is GNU 10.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Build type not specified: defaulting to release. -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)

-- ############################################# -- ## Begin configuration for C# support... -- ############################################# -- Enabling optional C# bindings if possible... -- Looking for a CSharp compiler -- Looking for a CSharp compiler - NOTFOUND -- Found SWIG: /usr/bin/swig4.0 (found version "4.0.2")
-- SWIG_FOUND: TRUE - 4.0.2 -- SWIG_FOUND: TRUE - 4.0.2 -- Performing Test SIZE_T_IS_UNSIGNED_INT -- Performing Test SIZE_T_IS_UNSIGNED_INT - Failed -- -- ############################################# -- ## Begin configuration for Python 2 support... -- ############################################# -- Enabling optional Python 2 bindings if possible... -- Could NOT find Python2 (missing: Python2_EXECUTABLE Python2_LIBRARIES Python2_INCLUDE_DIRS Interpreter Development) -- -- ############################################# -- ## Begin configuration for Python 3 support... -- ############################################# -- Enabling optional Python 3 bindings if possible... -- Found Python3: /usr/bin/python3.9 (found version "3.9.2") found components: Interpreter Development -- Interpreter: /usr/bin/python3.9 (Python) -- Include: /usr/include/python3.9 -- * Library: /usr/lib/aarch64-linux-gnu/libpython3.9.so CMake Warning (dev) at /usr/share/cmake-3.18/Modules/UseSWIG.cmake:634 (message): Policy CMP0078 is not set: UseSWIG generates standard target names. Run "cmake --help-policy CMP0078" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first): swig/python/CMakeLists.txt:99 (SWIG_ADD_LIBRARY) swig/python/python3/CMakeLists.txt:1 (BUILD_PYTHON_MODULE) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/share/cmake-3.18/Modules/UseSWIG.cmake:486 (message): Policy CMP0086 is not set: UseSWIG honors SWIG_MODULE_NAME via -module flag. Run "cmake --help-policy CMP0086" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first): /usr/share/cmake-3.18/Modules/UseSWIG.cmake:736 (SWIG_ADD_SOURCE_TO_MODULE) swig/python/CMakeLists.txt:99 (SWIG_ADD_LIBRARY) swig/python/python3/CMakeLists.txt:1 (BUILD_PYTHON_MODULE) This warning is for project developers. Use -Wno-dev to suppress it.

-- -- ############################################# -- ## Begin configuration for LuaJIT support... -- ############################################# -- Enabling optional LuaJIT bindings if possible... -- Found LuaJIT: /usr/bin/luajit
-- LuaJIT interpreter: /usr/bin/luajit -- Checking for Lua module LuaUnit - failed -- -- ###################################################### -- ## SoapySDR enabled features -- ###################################################### --

-- ###################################################### -- ## SoapySDR disabled features -- ###################################################### --

-- SoapySDR version: v0.8.1-gbb33b2d2 -- ABI/so version: v0.8-3 -- Install prefix: /usr/local -- Configuring done -- Generating done -- Build files have been written to: /home/alle/projects/cariboulite/installations/SoapySDR/build Scanning dependencies of target SoapySDR [ 2%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Device.cpp.o [ 5%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Factory.cpp.o [ 7%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Registry.cpp.o [ 10%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Types.cpp.o [ 13%] Building CXX object lib/CMakeFiles/SoapySDR.dir/NullDevice.cpp.o [ 15%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Logger.cpp.o [ 18%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Errors.cpp.o [ 21%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Formats.cpp.o [ 23%] Building CXX object lib/CMakeFiles/SoapySDR.dir/ConverterRegistry.cpp.o [ 26%] Building CXX object lib/CMakeFiles/SoapySDR.dir/DefaultConverters.cpp.o [ 28%] Building CXX object lib/CMakeFiles/SoapySDR.dir/TypesC.cpp.o [ 31%] Building CXX object lib/CMakeFiles/SoapySDR.dir/ModulesC.cpp.o [ 34%] Building CXX object lib/CMakeFiles/SoapySDR.dir/VersionC.cpp.o [ 36%] Building CXX object lib/CMakeFiles/SoapySDR.dir/DeviceC.cpp.o [ 39%] Building CXX object lib/CMakeFiles/SoapySDR.dir/FactoryC.cpp.o [ 42%] Building CXX object lib/CMakeFiles/SoapySDR.dir/LoggerC.cpp.o [ 44%] Building CXX object lib/CMakeFiles/SoapySDR.dir/TimeC.cpp.o [ 47%] Building CXX object lib/CMakeFiles/SoapySDR.dir/ErrorsC.cpp.o [ 50%] Building CXX object lib/CMakeFiles/SoapySDR.dir/FormatsC.cpp.o [ 52%] Building CXX object lib/CMakeFiles/SoapySDR.dir/ConvertersC.cpp.o [ 55%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Modules.cpp.o [ 57%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Version.cpp.o [ 60%] Linking CXX shared library libSoapySDR.so [ 60%] Built target SoapySDR Scanning dependencies of target SoapySDRUtil [ 63%] Building CXX object apps/CMakeFiles/SoapySDRUtil.dir/SoapySDRUtil.cpp.o [ 65%] Building CXX object apps/CMakeFiles/SoapySDRUtil.dir/SoapySDRProbe.cpp.o [ 68%] Building CXX object apps/CMakeFiles/SoapySDRUtil.dir/SoapyRateTest.cpp.o [ 71%] Linking CXX executable SoapySDRUtil [ 71%] Built target SoapySDRUtil Scanning dependencies of target TestConvertTypes [ 73%] Building CXX object tests/CMakeFiles/TestConvertTypes.dir/TestConvertTypes.cpp.o [ 76%] Linking CXX executable TestConvertTypes [ 76%] Built target TestConvertTypes Scanning dependencies of target TestKwargsMarkup [ 78%] Building CXX object tests/CMakeFiles/TestKwargsMarkup.dir/TestKwargsMarkup.cpp.o [ 81%] Linking CXX executable TestKwargsMarkup [ 81%] Built target TestKwargsMarkup Scanning dependencies of target TestFormatParser [ 84%] Building CXX object tests/CMakeFiles/TestFormatParser.dir/TestFormatParser.cpp.o [ 86%] Linking CXX executable TestFormatParser [ 86%] Built target TestFormatParser Scanning dependencies of target TestTimeConversion [ 89%] Building CXX object tests/CMakeFiles/TestTimeConversion.dir/TestTimeConversion.cpp.o [ 92%] Linking CXX executable TestTimeConversion [ 92%] Built target TestTimeConversion Scanning dependencies of target SoapySDR3_swig_compilation [ 94%] Swig compile /home/alle/projects/cariboulite/installations/SoapySDR/build/swig/python/python3/SoapySDR.i for python /home/alle/projects/cariboulite/installations/SoapySDR/include/SoapySDR/Device.hpp:234: Warning 560: Unknown Doxygen command: parblock. /home/alle/projects/cariboulite/installations/SoapySDR/include/SoapySDR/Device.hpp:252: Warning 560: Unknown Doxygen command: endparblock. /home/alle/projects/cariboulite/installations/SoapySDR/include/SoapySDR/Device.hpp:255: Warning 560: Unknown Doxygen command: parblock. /home/alle/projects/cariboulite/installations/SoapySDR/include/SoapySDR/Device.hpp:259: Warning 560: Unknown Doxygen command: endparblock. /home/alle/projects/cariboulite/installations/SoapySDR/include/SoapySDR/Device.hpp:261: Warning 560: Unknown Doxygen command: parblock. /home/alle/projects/cariboulite/installations/SoapySDR/include/SoapySDR/Device.hpp:265: Warning 560: Unknown Doxygen command: endparblock. /home/alle/projects/cariboulite/installations/SoapySDR/include/SoapySDR/Device.hpp:234: Warning 560: Unknown Doxygen command: parblock. /home/alle/projects/cariboulite/installations/SoapySDR/include/SoapySDR/Device.hpp:252: Warning 560: Unknown Doxygen command: endparblock. /home/alle/projects/cariboulite/installations/SoapySDR/include/SoapySDR/Device.hpp:255: Warning 560: Unknown Doxygen command: parblock. /home/alle/projects/cariboulite/installations/SoapySDR/include/SoapySDR/Device.hpp:259: Warning 560: Unknown Doxygen command: endparblock. /home/alle/projects/cariboulite/installations/SoapySDR/include/SoapySDR/Device.hpp:261: Warning 560: Unknown Doxygen command: parblock. /home/alle/projects/cariboulite/installations/SoapySDR/include/SoapySDR/Device.hpp:265: Warning 560: Unknown Doxygen command: endparblock. [ 94%] Built target SoapySDR3_swig_compilation Scanning dependencies of target _SoapySDR3 [ 97%] Building CXX object swig/python/python3/CMakeFiles/_SoapySDR3.dir/CMakeFiles/_SoapySDR3.dir/SoapySDRPYTHON_wrap.cxx.o /home/alle/projects/cariboulite/installations/SoapySDR/build/swig/python/python3/CMakeFiles/_SoapySDR3.dir/SoapySDRPYTHON_wrap.cxx: In function ‘PyObject* PyInit__SoapySDR()’: /home/alle/projects/cariboulite/installations/SoapySDR/build/swig/python/python3/CMakeFiles/_SoapySDR3.dir/SoapySDRPYTHON_wrap.cxx:982:65: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations] 982 | # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads() | ^ /home/alle/projects/cariboulite/installations/SoapySDR/build/swig/python/python3/CMakeFiles/_SoapySDR3.dir/SoapySDRPYTHON_wrap.cxx:56409:3: note: in expansion of macro ‘SWIG_PYTHON_INITIALIZE_THREADS’ 56409 | SWIG_PYTHON_INITIALIZE_THREADS; | ^~~~~~~~~~ In file included from /usr/include/python3.9/Python.h:145, from /home/alle/projects/cariboulite/installations/SoapySDR/build/swig/python/python3/CMakeFiles/_SoapySDR3.dir/SoapySDRPYTHON_wrap.cxx:180: /usr/include/python3.9/ceval.h:130:37: note: declared here 130 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~

meexmachina commented 1 year ago

@Alle1307 hi, can you reinstall python dev? specifically : sudo apt-get install libpython3-dev

seems like the SoapySDR has a issue with binding with python.

@ImDroided thanks for the instruction for @zetaerre

Alle1307 commented 1 year ago

Yes all the latest updates. Does the software run on Python2 perhaps. That is not valid anymore.

meexmachina commented 1 year ago

Actually SoapySDR is a third party. Lets try and install it with apt-get. Then you will not need to recompile it. the install script checks whether Soapy-API is installed and if not, it clones the PothosSDR repo and compiles it. There is a direct installation option as follows: sudo apt-get install libsoapysdr-dev sudo apt-get install soapysdr-module-remote

after installing those, run the install.sh script and it should skip that compilation step.

evandonohoe commented 1 year ago

@meexmachina Has there been any solution to this? I am installing cariboulite on an RPi zero and had the same output as @Alle1307. I discovered that the default version of swig that was installed (4.0.2) doesn't handle the deprecated PyEval_InitThreads() function well so I manually updated the swig to a new version and that error went away but the install still crashes when making SoapySDR and getting to this point:

[ 97%] Building CXX object swig/python/python3/CMakeFiles/_SoapySDR3.dir/CMakeFiles/_SoapySDR3.dir/SoapySDRPYTHON_wrap.cxx.o

I've tried suppressing the warnings that are produced but it still crashes.

Edit: I figured out the source of the crashes, it was just because I didn't have enough swap space on my Raspberry Pi zero w. I uped it from 100mb to 1024mb and that did the trick.

meexmachina commented 1 year ago

Can you try suppressing the soapy install within the install shell script and use sudo apt install SoapySDR libSoapySDR-dev