Replies: 1 comment
-
Note: I attempted to use dragonos, but it kernel panics on boot for the pizerow2. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Ive crawled through all the suggestions and responses here and elsewhere, but I'm getting stuck building both the smi_stream_dev.ko module and the CaribouLiteCpp.cpp code. For the driver module, it appears that the kernel headers do not include of.h header, but I had to try to work without the install.sh buildscript to find this, and perhaps paths are mucked up because of it. The kernel headers are installed, as well as all other prerequisites that are published.
Raspbian Lite OS (64-bit): Bookworm
kernel: 6.1.0-rpi4-rpi-v8
Errors when running the install.sh script at the top level of the code tree.
For smi_stream_dev.ko:
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: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/user/projects/cariboulite/driver/build/smi_stream_dev.ko
for CaribouLiteCpp.cpp:
make[2]: *** [CMakeFiles/cariboulite.dir/build.make:132: CMakeFiles/cariboulite.dir/src/CaribouLiteCpp.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:337: CMakeFiles/cariboulite.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
More comprehensive build log attached.
cariboulite-build-failures.txt
Beta Was this translation helpful? Give feedback.
All reactions