hi, thank you, but it doesn’t work. Problem persits:
apt --purge remove rbp464-headers-sanitised-5.10.78-5-osmc
osmc@osmc:/usr/src$ ls -l
celkem 8
drwxr-xr-x 23 root root 4096 čen 13 23:11 rbp464-headers-5.10.78-5-osmc
drwxr-xr-x 9 root root 4096 čen 13 23:50 rtl8812au-5.13.6
The truth is, that I tried to compile drivers without package “rbp464-headers-sanitised-5.10.78-5-osmc” at first. Only with “rbp464-headers-5.10.78-5-osmc”. But it didn’t work. So I tried to install sanitised headers.
root@osmc:/home/osmc# ls -l /lib/modules/5.10.78-5-osmc/
celkem 2352
lrwxrwxrwx 1 root root 38 úno 28 03:09 build -> /usr/src/rbp464-headers-5.10.78-5-osmc
drwxr-xr-x 10 root root 4096 čen 5 17:26 kernel
-rw-r--r-- 1 root root 578080 čen 13 22:12 modules.alias
-rw-r--r-- 1 root root 601448 čen 13 22:12 modules.alias.bin
-rw-r--r-- 1 root root 14394 úno 28 03:09 modules.builtin
-rw-r--r-- 1 root root 15903 čen 13 22:12 modules.builtin.bin
-rw-r--r-- 1 root root 79788 úno 28 03:09 modules.builtin.modinfo
-rw-r--r-- 1 root root 194220 čen 13 22:12 modules.dep
-rw-r--r-- 1 root root 268716 čen 13 22:12 modules.dep.bin
-rw-r--r-- 1 root root 352 čen 13 22:12 modules.devname
-rw-r--r-- 1 root root 64297 úno 28 03:09 modules.order
-rw-r--r-- 1 root root 380 čen 13 22:12 modules.softdep
-rw-r--r-- 1 root root 252430 čen 13 22:12 modules.symbols
-rw-r--r-- 1 root root 307889 čen 13 22:12 modules.symbols.bin
Still fatal error without sanitized headers installed:
root@osmc:~/src/8812au-20210629# make
make ARCH=arm CROSS_COMPILE= -C /lib/modules/5.10.78-5-osmc/build M=/root/src/8812au-20210629 modules
make[1]: Vstupuje se do adresáře „/usr/src/rbp464-headers-5.10.78-5-osmc“
CC [M] /root/src/8812au-20210629/core/rtw_cmd.o
In file included from ./include/asm-generic/int-ll64.h:11,
from ./arch/arm/include/uapi/asm/types.h:5,
from ./include/uapi/linux/types.h:5,
from ./include/linux/types.h:6,
from /root/src/8812au-20210629/include/basic_types.h:75,
from /root/src/8812au-20210629/include/drv_types.h:26,
from /root/src/8812au-20210629/core/rtw_cmd.c:17:
./include/uapi/asm-generic/int-ll64.h:12:10: fatal error: asm/bitsperlong.h: Adresář nebo soubor neexistuje
#include <asm/bitsperlong.h>
^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.build:280: /root/src/8812au-20210629/core/rtw_cmd.o] Chyba 1
make[1]: *** [Makefile:1825: /root/src/8812au-20210629] Chyba 2
make[1]: Opouští se adresář „/usr/src/rbp464-headers-5.10.78-5-osmc“
make: *** [Makefile:2514: modules] Chyba 2