Created
January 3, 2024 23:30
-
-
Save ifuchs/f136dd9efc74b9c5bab8c88f62f67c43 to your computer and use it in GitHub Desktop.
console log for cariboulite install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ubuntu@ubuntu:~/cariboulite$ ./install.sh | |
[ 1 ] CaribouLite Git Repo | |
Already up to date. | |
[ 2 ] Updating system and installing dependencies... | |
[sudo] password for ubuntu: | |
Hit:1 https://www.kismetwireless.net/repos/apt/git/jammy jammy InRelease | |
Hit:2 http://ports.ubuntu.com/ubuntu-ports jammy InRelease | |
Get:3 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease [119 kB] | |
Hit:4 https://ppa.launchpadcontent.net/git-core/ppa/ubuntu jammy InRelease | |
Hit:5 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy InRelease | |
Hit:6 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease | |
Hit:7 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease | |
Get:8 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease [110 kB] | |
Hit:9 https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu jammy InRelease | |
Hit:10 https://ppa.launchpadcontent.net/wireshark-dev/stable/ubuntu jammy InRelease | |
Fetched 229 kB in 14s (16.5 kB/s) | |
Reading package lists... Done | |
Reading package lists... Done | |
Building dependency tree... Done | |
Reading state information... Done | |
E: Unable to locate package raspberrypi-kernel-headers | |
Reading package lists... Done | |
Building dependency tree... Done | |
Reading state information... Done | |
linux-headers-raspi is already the newest version (6.5.0.1008.9). | |
The following packages were automatically installed and are no longer required: | |
fltk1.3-doc fluid libfltk-cairo1.3 libfltk-forms1.3 libfltk-gl1.3 | |
Use 'sudo apt autoremove' to remove them. | |
0 upgraded, 0 newly installed, 0 to remove and 31 not upgraded. | |
Reading package lists... Done | |
Building dependency tree... Done | |
Reading state information... Done | |
pkg-config is already the newest version (0.29.2-1ubuntu3). | |
libzmq3-dev is already the newest version (4.3.4-2). | |
module-assistant is already the newest version (0.11.10). | |
cmake is already the newest version (3.22.1-1ubuntu1.22.04.1). | |
libncurses5-dev is already the newest version (6.3-2ubuntu0.1). | |
git is already the newest version (1:2.43.0-0ppa1~ubuntu22.04.1). | |
The following packages were automatically installed and are no longer required: | |
fltk1.3-doc fluid libfltk-cairo1.3 libfltk-forms1.3 libfltk-gl1.3 | |
Use 'sudo apt autoremove' to remove them. | |
0 upgraded, 0 newly installed, 0 to remove and 31 not upgraded. | |
Reading package lists... Done | |
Building dependency tree... Done | |
Reading state information... Done | |
swig is already the newest version (4.0.2-1ubuntu1). | |
avahi-daemon is already the newest version (0.8-5ubuntu5.2). | |
libavahi-client-dev is already the newest version (0.8-5ubuntu5.2). | |
libpython3-dev is already the newest version (3.10.6-1~22.04). | |
python3-distutils is already the newest version (3.10.8-1~22.04). | |
The following packages were automatically installed and are no longer required: | |
fltk1.3-doc fluid libfltk-cairo1.3 libfltk-forms1.3 libfltk-gl1.3 | |
Use 'sudo apt autoremove' to remove them. | |
0 upgraded, 0 newly installed, 0 to remove and 31 not upgraded. | |
Reading package lists... Done | |
Building dependency tree... Done | |
Reading state information... Done | |
rpi.gpio-common is already the newest version (0.7.1~a4-1build1). | |
The following packages were automatically installed and are no longer required: | |
fltk1.3-doc fluid libfltk-cairo1.3 libfltk-forms1.3 libfltk-gl1.3 | |
Use 'sudo apt autoremove' to remove them. | |
0 upgraded, 0 newly installed, 0 to remove and 31 not upgraded. | |
Adding user ubuntu to dialout, root groups | |
./install.sh: line 40: User: command not found | |
depmod: ERROR: failed to load symbols from /lib/modules/6.5.0-1008-raspi/kernel/drivers/char/broadcom/smi_stream_dev.ko.xz: Invalid argument | |
[ 3 ] Checking Soapy SDR installation (SoapySDRUtil)... | |
Found SoapySDRUtil at /usr/bin/SoapySDRUtil | |
[ 5 ] Compiling main source... | |
1. External Tools... | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: /home/ubuntu/cariboulite/software/utils/build | |
Consolidate compiler generated dependencies of target generate_bin_blob | |
[ 50%] Linking C executable generate_bin_blob | |
[100%] Built target generate_bin_blob | |
2. libIIR | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: /home/ubuntu/cariboulite/software/libcariboulite/src/iir/build | |
Consolidate compiler generated dependencies of target iir | |
[ 25%] Built target iir | |
Consolidate compiler generated dependencies of target iir_static | |
[ 50%] Built target iir_static | |
Consolidate compiler generated dependencies of target test_butterworth | |
[ 55%] Built target test_butterworth | |
Consolidate compiler generated dependencies of target test_chebyshev1 | |
[ 61%] Built target test_chebyshev1 | |
Consolidate compiler generated dependencies of target test_chebyshev2 | |
[ 66%] Built target test_chebyshev2 | |
Consolidate compiler generated dependencies of target test_rbj | |
[ 72%] Built target test_rbj | |
Consolidate compiler generated dependencies of target test_custom | |
[ 77%] Built target test_custom | |
Consolidate compiler generated dependencies of target test_badparam | |
[ 83%] Built target test_badparam | |
Consolidate compiler generated dependencies of target test_state | |
[ 88%] Built target test_state | |
Consolidate compiler generated dependencies of target iirdemo | |
[ 94%] Built target iirdemo | |
Consolidate compiler generated dependencies of target ecg50hzfilt | |
[100%] Built target ecg50hzfilt | |
[ 25%] Built target iir | |
[ 50%] Built target iir_static | |
[ 55%] Built target test_butterworth | |
[ 61%] Built target test_chebyshev1 | |
[ 66%] Built target test_chebyshev2 | |
[ 72%] Built target test_rbj | |
[ 77%] Built target test_custom | |
[ 83%] Built target test_badparam | |
[ 88%] Built target test_state | |
[ 94%] Built target iirdemo | |
[100%] Built target ecg50hzfilt | |
Install the project... | |
-- Install configuration: "RelWithDebInfo" | |
-- Up-to-date: /usr/local/lib/libiir.so.1.9.1 | |
-- Up-to-date: /usr/local/lib/libiir.so.1 | |
-- Up-to-date: /usr/local/lib/libiir.so | |
-- 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 | |
-- Up-to-date: /usr/local/lib/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 | |
-- Up-to-date: /usr/local/lib/cmake/iir/iir-config.cmake | |
-- Up-to-date: /usr/local/lib/cmake/iir/iir-config-relwithdebinfo.cmake | |
3. SMI kernel module & udev... | |
Detected memory 305 MB... | |
Installing with Fifo size multiplier of 2xMTU... | |
CaribouLite Device Driver Install / Uninstall | |
============================================= | |
Installation started... | |
[ 1 ] Updating kernel headers and needed software | |
Hit:1 http://ports.ubuntu.com/ubuntu-ports jammy InRelease | |
Hit:2 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease | |
Hit:3 https://www.kismetwireless.net/repos/apt/git/jammy jammy InRelease | |
Hit:4 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease | |
Hit:5 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease | |
Hit:6 https://ppa.launchpadcontent.net/git-core/ppa/ubuntu jammy InRelease | |
Hit:7 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy InRelease | |
Hit:8 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease | |
Hit:9 https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu jammy InRelease | |
Hit:10 https://ppa.launchpadcontent.net/wireshark-dev/stable/ubuntu jammy InRelease | |
Reading package lists... Done | |
Reading package lists... Done | |
Building dependency tree... Done | |
Reading state information... Done | |
E: Unable to locate package raspberrypi-kernel-headers | |
[ 2 ] Compiling module | |
Subdirectory 'build' exists. Deleting its contents... | |
-- The C compiler identification is GNU 11.4.0 | |
-- 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: 6.5.0-1008-raspi | |
-- Kernel headers: /usr/src/linux-headers-6.5.0-1008-raspi | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: /home/ubuntu/cariboulite/driver/build | |
compiling module smi_stream_dev.ko... | |
warning: the compiler differs from the one used to build the kernel | |
The kernel was built by: aarch64-linux-gnu-gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0 | |
You are using: gcc-13 (Ubuntu 13.1.0-8ubuntu1~22.04) 13.1.0 | |
In file included from ./include/linux/linkage.h:7, | |
from ./include/linux/kernel.h:17, | |
from /home/ubuntu/cariboulite/driver/build/smi_stream_dev.c:41: | |
/home/ubuntu/cariboulite/driver/build/smi_stream_dev.c: In function ‘smi_stream_dev_probe’: | |
./include/linux/export.h:29:22: error: passing argument 1 of ‘class_create’ from incompatible pointer type [-Werror=incompatible-pointer-types] | |
29 | #define THIS_MODULE (&__this_module) | |
| ~^~~~~~~~~~~~~~~ | |
| | | |
| struct module * | |
/home/ubuntu/cariboulite/driver/build/smi_stream_dev.c:1161:41: note: in expansion of macro ‘THIS_MODULE’ | |
1161 | smi_stream_class = class_create(THIS_MODULE, DEVICE_NAME); | |
| ^~~~~~~~~~~ | |
In file included from ./include/linux/device.h:31, | |
from ./include/linux/platform_device.h:13, | |
from /home/ubuntu/cariboulite/driver/build/smi_stream_dev.c:44: | |
./include/linux/device/class.h:230:54: note: expected ‘const char *’ but argument is of type ‘struct module *’ | |
230 | struct class * __must_check class_create(const char *name); | |
| ~~~~~~~~~~~~^~~~ | |
/home/ubuntu/cariboulite/driver/build/smi_stream_dev.c:1161:28: error: too many arguments to function ‘class_create’ | |
1161 | smi_stream_class = class_create(THIS_MODULE, DEVICE_NAME); | |
| ^~~~~~~~~~~~ | |
./include/linux/device/class.h:230:29: note: declared here | |
230 | struct class * __must_check class_create(const char *name); | |
| ^~~~~~~~~~~~ | |
cc1: some warnings being treated as errors | |
make[5]: *** [scripts/Makefile.build:251: /home/ubuntu/cariboulite/driver/build/smi_stream_dev.o] Error 1 | |
make[4]: *** [/usr/src/linux-headers-6.5.0-1008-raspi/Makefile:2037: /home/ubuntu/cariboulite/driver/build] Error 2 | |
make[3]: *** [Makefile:234: __sub-make] Error 2 | |
make[2]: *** [CMakeFiles/smi_stream_dev.dir/build.make:79: smi_stream_dev] Error 2 | |
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/smi_stream_dev.dir/all] Error 2 | |
make: *** [Makefile:91: all] Error 2 | |
binary file doesn't exist: /home/ubuntu/cariboulite/driver/build/smi_stream_dev.ko | |
[ 3 ] Installing into '/lib/modules/6.5.0-1008-raspi/kernel/drivers/char/broadcom' | |
xz: /home/ubuntu/cariboulite/driver/build/smi_stream_dev.ko: No such file or directory | |
[ 4 ] Updating 'depmod' | |
depmod: ERROR: failed to load symbols from /lib/modules/6.5.0-1008-raspi/kernel/drivers/char/broadcom/smi_stream_dev.ko.xz: Invalid argument | |
[ 5 ] Blacklisting original bcm2835_smi_dev module | |
[ 6 ] Adding systemd configuration | |
[ 7 ] Adding modprobe configuration 2, 2, 3 | |
[ 8 ] Adding UDEV rules | |
CaribouLite UDEV Rules (un)installation | |
======================================= | |
Installing UDEV rules... | |
Installation finished | |
Installation completed. | |
4. Main software... | |
[INFO] SoapyCaribouliteSession, sessionCount: 0 | |
Opening rpi in /dev/gpiomem: Permission denied | |
[INFO] SoapyCaribouliteSession, sessionCount: 0 | |
Opening rpi in /dev/gpiomem: Permission denied | |
-- Module SoapyCariboulite configured with version: 1.2.0 | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: /home/ubuntu/cariboulite/build | |
Consolidate compiler generated dependencies of target zf_log | |
[ 2%] Built target zf_log | |
Consolidate compiler generated dependencies of target datatypes | |
[ 8%] Built target datatypes | |
Consolidate compiler generated dependencies of target caribou_prog | |
[ 11%] Built target caribou_prog | |
Consolidate compiler generated dependencies of target caribou_fpga | |
[ 14%] Built target caribou_fpga | |
Consolidate compiler generated dependencies of target at86rf215 | |
[ 20%] Built target at86rf215 | |
Consolidate compiler generated dependencies of target caribou_smi | |
[ 22%] Building C object src/caribou_smi/CMakeFiles/caribou_smi.dir/caribou_smi.c.o | |
[ 23%] Building C object src/caribou_smi/CMakeFiles/caribou_smi.dir/caribou_smi_modules.c.o | |
[ 25%] Linking C static library libcaribou_smi.a | |
[ 26%] Built target caribou_smi | |
Consolidate compiler generated dependencies of target io_utils | |
[ 36%] Built target io_utils | |
Consolidate compiler generated dependencies of target rffc507x | |
[ 39%] Built target rffc507x | |
Consolidate compiler generated dependencies of target hat | |
[ 42%] Built target hat | |
Consolidate compiler generated dependencies of target production_utils | |
[ 48%] Built target production_utils | |
Consolidate compiler generated dependencies of target cariboulite | |
[ 50%] Building C object CMakeFiles/cariboulite.dir/src/cariboulite.c.o | |
[ 51%] Building C object CMakeFiles/cariboulite.dir/src/cariboulite_setup.c.o | |
[ 52%] Building C object CMakeFiles/cariboulite.dir/src/cariboulite_events.c.o | |
[ 52%] Building C object CMakeFiles/cariboulite.dir/src/cariboulite_radio.c.o | |
[ 54%] Linking CXX static library libcariboulite.a | |
[ 57%] Built target cariboulite | |
Consolidate compiler generated dependencies of target cariboulite_shared | |
[ 58%] Building C object CMakeFiles/cariboulite_shared.dir/src/cariboulite.c.o | |
[ 60%] Building C object CMakeFiles/cariboulite_shared.dir/src/cariboulite_setup.c.o | |
[ 61%] Building C object CMakeFiles/cariboulite_shared.dir/src/cariboulite_events.c.o | |
[ 63%] Building C object CMakeFiles/cariboulite_shared.dir/src/cariboulite_radio.c.o | |
[ 64%] Linking CXX shared library libcariboulite.so | |
[ 66%] Built target cariboulite_shared | |
Consolidate compiler generated dependencies of target iir | |
[ 77%] Built target iir | |
Consolidate compiler generated dependencies of target SoapyCariboulite | |
[ 77%] Building CXX object CMakeFiles/SoapyCariboulite.dir/src/soapy_api/SoapyCariboulite.cpp.o | |
[ 79%] Building CXX object CMakeFiles/SoapyCariboulite.dir/src/soapy_api/Cariboulite.cpp.o | |
[ 80%] Building CXX object CMakeFiles/SoapyCariboulite.dir/src/soapy_api/CaribouliteStreamFunctions.cpp.o | |
[ 82%] Building CXX object CMakeFiles/SoapyCariboulite.dir/src/soapy_api/CaribouliteStream.cpp.o | |
[ 83%] Building CXX object CMakeFiles/SoapyCariboulite.dir/src/soapy_api/CaribouliteSession.cpp.o | |
[ 85%] Building CXX object CMakeFiles/SoapyCariboulite.dir/src/soapy_api/CaribouliteSensors.cpp.o | |
[ 86%] Building CXX object CMakeFiles/SoapyCariboulite.dir/Version.cpp.o | |
[ 88%] Linking CXX shared module libSoapyCariboulite.so | |
[ 88%] Built target SoapyCariboulite | |
Consolidate compiler generated dependencies of target caribou_programmer | |
[ 88%] Building C object CMakeFiles/caribou_programmer.dir/test/caribou_programmer.c.o | |
[ 89%] Linking CXX executable test/caribou_programmer | |
[ 89%] Built target caribou_programmer | |
Consolidate compiler generated dependencies of target fpgacomm | |
[ 91%] Building C object CMakeFiles/fpgacomm.dir/test/fpga_comm_test.c.o | |
[ 92%] Linking CXX executable test/fpgacomm | |
[ 92%] Built target fpgacomm | |
Consolidate compiler generated dependencies of target cariboulite_test_app | |
[ 94%] Building C object CMakeFiles/cariboulite_test_app.dir/src/cariboulite_test_app.c.o | |
[ 95%] Building C object CMakeFiles/cariboulite_test_app.dir/src/app_menu.c.o | |
[ 97%] Linking CXX executable cariboulite_test_app | |
[ 97%] Built target cariboulite_test_app | |
Consolidate compiler generated dependencies of target cariboulite_util | |
[ 98%] Building C object CMakeFiles/cariboulite_util.dir/src/cariboulite_util.c.o | |
[100%] Linking CXX executable cariboulite_util | |
[100%] Built target cariboulite_util | |
[ 2%] Built target zf_log | |
[ 8%] Built target datatypes | |
[ 11%] Built target caribou_prog | |
[ 14%] Built target caribou_fpga | |
[ 20%] Built target at86rf215 | |
Consolidate compiler generated dependencies of target caribou_smi | |
[ 26%] Built target caribou_smi | |
[ 36%] Built target io_utils | |
[ 39%] Built target rffc507x | |
[ 42%] Built target hat | |
[ 48%] Built target production_utils | |
Consolidate compiler generated dependencies of target cariboulite | |
[ 57%] Built target cariboulite | |
Consolidate compiler generated dependencies of target cariboulite_shared | |
[ 66%] Built target cariboulite_shared | |
[ 77%] Built target iir | |
Consolidate compiler generated dependencies of target SoapyCariboulite | |
[ 88%] Built target SoapyCariboulite | |
Consolidate compiler generated dependencies of target caribou_programmer | |
[ 89%] Built target caribou_programmer | |
Consolidate compiler generated dependencies of target fpgacomm | |
[ 92%] Built target fpgacomm | |
Consolidate compiler generated dependencies of target cariboulite_test_app | |
[ 97%] Built target cariboulite_test_app | |
Consolidate compiler generated dependencies of target cariboulite_util | |
[100%] Built target cariboulite_util | |
Install the project... | |
-- Install configuration: "Release" | |
-- Installing: /usr/lib/aarch64-linux-gnu/SoapySDR/modules0.8/libSoapyCariboulite.so | |
-- Set runtime path of "/usr/lib/aarch64-linux-gnu/SoapySDR/modules0.8/libSoapyCariboulite.so" to "" | |
-- Installing: /usr/lib/libcariboulite.a | |
-- Up-to-date: /usr/include/cariboulite.h | |
-- Up-to-date: /usr/include/cariboulite_radio.h | |
-- Up-to-date: /usr/include/CaribouLite.hpp | |
-- Installing: /usr/lib/libcariboulite.so | |
-- Up-to-date: /usr/include/cariboulite.h | |
-- Up-to-date: /usr/include/cariboulite_radio.h | |
-- Up-to-date: /usr/include/CaribouLite.hpp | |
-- Up-to-date: /usr/lib/pkgconfig/cariboulite.pc | |
-- Installing: /usr/bin/cariboulite_util | |
[ 6 ] Environmental Settings... | |
1. SPI configuration... OK :) | |
2. ARM I2C Configuration... OK :) | |
3. I2C-VC Configuration... OK :) | |
4. SPI1-3CS Configuration... OK :) | |
[ 7 ] All went well. Please reboot the system to finalize installation... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment