Скачал новую kali и не удается собрать драйвер на ядро 5.6.0 Возможно кто поможет? На старее версии ядра драйвер работал.
Код:
/home/samsep/Downloads/rtlwifi_new/rc.c:336:11: error: initialization of ‘void * (*)(struct ieee80211_hw *, struct dentry *)’ from incompatible pointer type ‘void * (*)(struct ieee80211_hw *)’ [-Werror=incompatible-pointer-types]
336 | .alloc = rtl_rate_alloc,
| ^~~~~~~~~~~~~~
/home/samsep/Downloads/rtlwifi_new/rc.c:336:11: note: (near initialization for ‘rtl_rate_ops.alloc’)
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-5.6.0-kali1-common/scripts/Makefile.build:273: /home/samsep/Downloads/rtlwifi_new/rc.o] Error 1
make[2]: *** [/usr/src/linux-headers-5.6.0-kali1-common/Makefile:1696: /home/samsep/Downloads/rtlwifi_new] Error 2
make[1]: *** [/usr/src/linux-headers-5.6.0-kali1-common/Makefile:180: sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.6.0-kali1-amd64'
make: *** [Makefile:88: all] Error 2
Последнее редактирование: