make clean
[as@kiste RTL8852BU_RTL8832BU_WiFi_linux]$ sudo make clean
#make -C /lib/modules/6.12.7-arch1-1/build M=/home/as/RTL8852BU_RTL8832BU_WiFi_linux clean
cd phl ; rm -fr */*/*/*/*.mod.c */*/*/*/*.mod */*/*/*/*.o */*/*/*/.*.cmd */*/*/*/*.ko
cd phl ; rm -fr */*/*/*.mod.c */*/*/*.mod */*/*/*.o */*/*/.*.cmd */*/*/*.ko
cd phl ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko
cd phl ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd phl ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep/linux/hwsim ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
/bin/sh: Zeile 1: cd: os_dep/linux/hwsim: Datei oder Verzeichnis nicht gefunden
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd platform ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm -fr .tmp_versions
make (with failure)
[as@kiste RTL8852BU_RTL8832BU_WiFi_linux]$ sudo make
#rm -f .symvers.8852bu
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.12.7-arch1-1/build M=/home/as/RTL8852BU_RTL8832BU_WiFi_linux modules
make[1]: Verzeichnis „/usr/lib/modules/6.12.7-arch1-1/build“ wird betreten
CC [M] /home/as/RTL8852BU_RTL8832BU_WiFi_linux/os_dep/osdep_service.o
/home/as/RTL8852BU_RTL8832BU_WiFi_linux/os_dep/osdep_service.c:247:13: Warnung: widersprüchliche Typen für »dbg_rtw_vmfree« aufgrund von enum/integer-Konflikt; der bestehende Typ ist »void(void *, u32, const enum mstat_f, const char *, const int)« {alias »void(void *, unsigned int, const enum mstat_f, const char *, const int)«} [-Wenum-int-mismatch]
247 | inline void dbg_rtw_vmfree(void *pbuf, u32 sz, const enum mstat_f flags, const char *func, const int line)
| ^~~~~~~~~~~~~~
/home/as/RTL8852BU_RTL8832BU_WiFi_linux/os_dep/osdep_service.c:248:1: Anmerkung: vorherige Deklaration von »dbg_rtw_vmfree« vom Typ »void(void *, const enum mstat_f, u32, const char *, const int)« {alias »void(void *, const enum mstat_f, unsigned int, const char *, const int)«}
248 | {
| ^
/home/as/RTL8852BU_RTL8832BU_WiFi_linux/os_dep/osdep_service.c:298:13: Warnung: widersprüchliche Typen für »dbg_rtw_mfree« aufgrund von enum/integer-Konflikt; der bestehende Typ ist »void(void *, u32, const enum mstat_f, const char *, const int)« {alias »void(void *, unsigned int, const enum mstat_f, const char *, const int)«} [-Wenum-int-mismatch]
298 | inline void dbg_rtw_mfree(void *pbuf, u32 sz, const enum mstat_f flags, const char *func, const int line)
| ^~~~~~~~~~~~~
/home/as/RTL8852BU_RTL8832BU_WiFi_linux/os_dep/osdep_service.c:299:1: Anmerkung: vorherige Deklaration von »dbg_rtw_mfree« vom Typ »void(void *, const enum mstat_f, u32, const char *, const int)« {alias »void(void *, const enum mstat_f, unsigned int, const char *, const int)«}
299 | {
| ^
CC [M] /home/as/RTL8852BU_RTL8832BU_WiFi_linux/os_dep/osdep_service_linux.o
/home/as/RTL8852BU_RTL8832BU_WiFi_linux/os_dep/osdep_service_linux.c:40:6: Warnung: kein vorheriger Prototyp für »_rtw_skb_queue_purge« [-Wmissing-prototypes]
40 | void _rtw_skb_queue_purge(struct sk_buff_head *list)
| ^~~~~~~~~~~~~~~~~~~~
/home/as/RTL8852BU_RTL8832BU_WiFi_linux/os_dep/osdep_service_linux.c:769:5: Warnung: kein vorheriger Prototyp für »rtw_change_ifname« [-Wmissing-prototypes]
769 | int rtw_change_ifname(_adapter *padapter, const char *ifname)
| ^~~~~~~~~~~~~~~~~
/home/as/RTL8852BU_RTL8832BU_WiFi_linux/os_dep/osdep_service_linux.c: In Funktion »rtw_change_ifname«:
/home/as/RTL8852BU_RTL8832BU_WiFi_linux/os_dep/osdep_service_linux.c:810:28: Warnung: Übergabe des Arguments 1 von »_rtw_memcpy« entfernt Kennzeichner »const« von Zeiger-Ziel-Typ [-Wdiscarded-qualifiers]
810 | _rtw_memcpy(pnetdev->dev_addr, adapter_mac_addr(padapter), ETH_ALEN);
| ~~~~~~~^~~~~~~~~~
/home/as/RTL8852BU_RTL8832BU_WiFi_linux/os_dep/osdep_service_linux.c:48:24: Anmerkung: »void *« erwartet, aber Argument hat Typ »const unsigned char *«
48 | void _rtw_memcpy(void *dst, const void *src, u32 sz)
| ~~~~~~^~~
/home/as/RTL8852BU_RTL8832BU_WiFi_linux/os_dep/osdep_service_linux.c: In Funktion »rtw_random32«:
/home/as/RTL8852BU_RTL8832BU_WiFi_linux/os_dep/osdep_service_linux.c:850:16: Fehler: Implizite Deklaration der Funktion »prandom_u32«; meinten Sie »get_random_u32«? [-Wimplicit-function-declaration]
850 | return prandom_u32();
| ^~~~~~~~~~~
| get_random_u32
make[3]: *** [scripts/Makefile.build:229: /home/as/RTL8852BU_RTL8832BU_WiFi_linux/os_dep/osdep_service_linux.o] Fehler 1
make[2]: *** [/usr/lib/modules/6.12.7-arch1-1/build/Makefile:1937: /home/as/RTL8852BU_RTL8832BU_WiFi_linux] Fehler 2
make[1]: *** [Makefile:224: __sub-make] Fehler 2
make[1]: Verzeichnis „/usr/lib/modules/6.12.7-arch1-1/build“ wird verlassen
make: *** [Makefile:633: modules] Fehler 2
[as@kiste RTL8852BU_RTL8832BU_WiFi_linux]$
make install (with failure)
[as@kiste RTL8852BU_RTL8832BU_WiFi_linux]$ sudo make install
install -p -m 644 8852bu.ko /lib/modules/6.12.7-arch1-1/kernel/drivers/net/wireless/
install: der Aufruf von stat für '8852bu.ko' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
make: *** [Makefile:642: install] Fehler 1
[as@kiste RTL8852BU_RTL8832BU_WiFi_linux]$
idk 