name@name:~/rtl8814AU$ sudo make && sudo make install
[sudo] Passwort für name:
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.10.0-kali3-amd64/build M=/home/name/rtl8814AU modules
make[1]: Verzeichnis „/usr/src/linux-headers-5.10.0-kali3-amd64“ wird betreten
CC [M] /home/name/rtl8814AU/core/rtw_cmd.o
In file included from /home/name/rtl8814AU/include/osdep_service.h:41,
from /home/name/rtl8814AU/include/drv_types.h:32,
from /home/name/rtl8814AU/core/rtw_cmd.c:22:
/home/name/rtl8814AU/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/name/rtl8814AU/include/osdep_service_linux.h:273:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
273 | ptimer->data = (unsigned long)cntx;
| ^~
/home/name/rtl8814AU/include/osdep_service_linux.h:274:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
274 | init_timer(ptimer);
| ^~~~~~~~~~
| _init_timer
In file included from /home/name/rtl8814AU/include/drv_types.h:35,
from /home/name/rtl8814AU/core/rtw_cmd.c:22:
/home/name/rtl8814AU/include/wifi.h: At top level:
/home/name/rtl8814AU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from /usr/src/linux-headers-5.10.0-kali3-common/include/net/cfg80211.h:21,
from /home/name/rtl8814AU/include/osdep_service_linux.h:87,
from /home/name/rtl8814AU/include/osdep_service.h:41,
from /home/name/rtl8814AU/include/drv_types.h:32,
from /home/name/rtl8814AU/core/rtw_cmd.c:22:
/usr/src/linux-headers-5.10.0-kali3-common/include/linux/ieee80211.h:1656: note: this is the location of the previous definition
1656 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-5.10.0-kali3-common/scripts/Makefile.build:284: /home/name/rtl8814AU/core/rtw_cmd.o] Fehler 1
make[2]: *** [/usr/src/linux-headers-5.10.0-kali3-common/Makefile:1817: /home/name/rtl8814AU] Fehler 2
make[1]: *** [/usr/src/linux-headers-5.10.0-kali3-common/Makefile:185: __sub-make] Fehler 2
make[1]: Verzeichnis „/usr/src/linux-headers-5.10.0-kali3-amd64“ wird verlassen
make: *** [Makefile:1699: modules] Fehler 2