/root/RTL8811CU/os_dep/osdep_service.c: In function ‘rtw_change_ifname’:
/root/RTL8811CU/os_dep/osdep_service.c:2494:28: warning: passing argument 1 of ‘_rtw_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
2494 | _rtw_memcpy(pnetdev->dev_addr, adapter_mac_addr(padapter), ETH_ALEN);
| ~~~~~~~^~~~~~~~~~
/root/RTL8811CU/os_dep/osdep_service.c:925:24: note: expected ‘void *’ but argument is of type ‘const unsigned char *’
925 | void _rtw_memcpy(void *dst, const void *src, u32 sz)
| ~~~~~~^~~
/root/RTL8811CU/os_dep/osdep_service.c: In function ‘rtw_random32’:
/root/RTL8811CU/os_dep/osdep_service.c:2618:16: error: implicit declaration of function ‘prandom_u32’; did you mean ‘get_random_u32’? [-Werror=implicit-function-declaration]
2618 | return prandom_u32();
| ^~~~~~~~~~~
| get_random_u32
cc1: some warnings being treated as errors
make[2]: *** [/usr/src/linux-headers-6.3.0-kali1-common/scripts/Makefile.build:257: /root/RTL8811CU/os_dep/osdep_service.o] Ошибка 1
make[1]: *** [/usr/src/linux-headers-6.3.0-kali1-common/Makefile:2050: /root/RTL8811CU] Ошибка 2
make[1]: выход из каталога «/usr/src/linux-headers-6.3.0-kali1-amd64»
make: *** [Makefile:2217: modules] Ошибка 2