cariboulabs / cariboulite

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

SMI Driver KERNELHEADERS_DIR-NOTFOUND #92

Open zetaerre opened 1 year ago

zetaerre commented 1 year ago

Hi,

after a fresh install on Pi 400 an error KERNELHEADERS_DIR-NOTFOUND appear when compiling smi

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.

zetaerre commented 1 year ago

Duplicated due to a network error

hudouseko commented 1 year ago

Hi, I have moved my Cariboulite from previously working on RPi 0 to a fresh installation on RPi4 (64bit raspbian bullseye) and hit exactly the same issue. Kernel module smi_stream_dev is not compiled due to to the cmake failing to find kernel headers. In fact looking into https://github.com/cariboulabs/cariboulite/blob/main/software/libcariboulite/src/caribou_smi/kernel/CMakeLists.txt I see that it uses uname -r to get kernel version and assumes headers to be present at /usr/src/linux-headers-${KERNEL_RELEASE}. The issue, at least in my case, is that uname -r returns 6.1.19-v8+, while kernel headers present are linux-headers-6.1.19-v7+. I've got latest headers package installed: raspberrypi-kernel-headers is already the newest version (1:1.20230317-1), but that only seems to contain

linux-headers-6.1.19+
linux-headers-6.1.19-v7+
linux-headers-6.1.19-v7l+

I assume this is some temporary misalignment between versions of kernel and kernel headers in their latest packages. Instead of trying to resolve it, I just tried to use as a quick hack headers 6.1.19-v7+ with kernel 6.1.19-v8+. In particular I created the following symlink: /usr/src $ sudo ln -s linux-headers-6.1.19-v7+ linux-headers-6.1.19-v8+, then re-run ./install.sh in cariboulite. Nevertheless, while headers were found, there are other errors popping up now:

compiling module smi_stream_dev.ko...
In file included from ./include/linux/types.h:6,
                 from ./include/linux/limits.h:6,
                 from ./include/linux/kernel.h:16,
                 from /home/pi/src/cariboulite/software/libcariboulite/src/caribou_smi/kernel/build/smi_stream_dev.c:41:
./include/uapi/linux/types.h:5:10: fatal error: asm/types.h: No such file or directory
    5 | #include <asm/types.h>

So there seems to be more issues, perhaps not just due to slightly different version of kernel headers.

K7MDL2 commented 1 year ago

Found similar issue among others. Resolved it with details in #66.