-
Notifications
You must be signed in to change notification settings - Fork 116
raspberry 4b build error #44
Comments
Hi. You need to install package kernel-headers as well. Version of this package must fit your version of kernel. Usually if you use default kernel then just install kernel-headers and bc and gcc and dkms as well. |
raspberrypi-kernel-headers 1.20190819-1 |
Is it that my kernel and raspberrypi-kernel-headers versions are not uniform, but they are all up to date. |
/lib/modules/4.19.75-v7l+/build should be a symlink to your kernel sources directory. For me this link points to: ls -l /lib/modules/5.2.17-200.fc30.armv7hl/build |
I have same issue: This is build log:
Any idea? |
@lexdevelop you need probably just to install glibc-headers package and retry compilation again.
|
@rrafal1337 I manage to build this on Raspbian, it looks like the issue is about OSMC. rbp2-headers has some issue with headers_install.sh
This means if we have:
It will not look at the user space. Have no idea how to solve this, since I need this driver on OSMC |
@lexdevelop Checked already on two Linux disributions (Arch Linux and Fedora 31) and it seems this file in both cases is in /usr/include/sys/socket.h |
dkms build -m rtl88x2bu -v ${VER}
Error! echo
Your kernel headers for kernel 4.19.75-v7l+ cannot be found at
/lib/modules/4.19.75-v7l+/build or /lib/modules/4.19.75-v7l+/source.
The text was updated successfully, but these errors were encountered: