Пытаюсь скачать дрова с
https://github.com/kimocoder/rtl8192eu
sudo make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.6.0-kali2-amd64/build M=/home/kali/RTL8192EU modules
make[1]: вход в каталог «/usr/src/linux-headers-5.6.0-kali2-amd64»
CC [M] /home/kali/RTL8192EU/core/rtw_cmd.o
CC [M] /home/kali/RTL8192EU/core/rtw_security.o
CC [M] /home/kali/RTL8192EU/core/rtw_debug.o
CC [M] /home/kali/RTL8192EU/core/rtw_io.o
CC [M] /home/kali/RTL8192EU/core/rtw_ioctl_query.o
CC [M] /home/kali/RTL8192EU/core/rtw_ioctl_set.o
CC [M] /home/kali/RTL8192EU/core/rtw_ieee80211.o
CC [M] /home/kali/RTL8192EU/core/rtw_mlme.o
CC [M] /home/kali/RTL8192EU/core/rtw_mlme_ext.o
/home/kali/RTL8192EU/core/rtw_mlme_ext.c: In function ‘mgt_dispatcher’:
/home/kali/RTL8192EU/core/rtw_mlme_ext.c:1638:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
1638 | if (MLME_IS_AP(padapter))
| ^
/home/kali/RTL8192EU/core/rtw_mlme_ext.c:1643:2: note: here
1643 | case WIFI_ASSOCREQ:
| ^~~~
CC [M] /home/kali/RTL8192EU/core/rtw_mi.o
CC [M] /home/kali/RTL8192EU/core/rtw_wlan_util.o
CC [M] /home/kali/RTL8192EU/core/rtw_vht.o
CC [M] /home/kali/RTL8192EU/core/rtw_pwrctrl.o
CC [M] /home/kali/RTL8192EU/core/rtw_rf.o
CC [M] /home/kali/RTL8192EU/core/rtw_recv.o
CC [M] /home/kali/RTL8192EU/core/rtw_sta_mgt.o
CC [M] /home/kali/RTL8192EU/core/rtw_ap.o
CC [M] /home/kali/RTL8192EU/core/rtw_xmit.o
CC [M] /home/kali/RTL8192EU/core/rtw_p2p.o
CC [M] /home/kali/RTL8192EU/core/rtw_rson.o
CC [M] /home/kali/RTL8192EU/core/rtw_tdls.o
CC [M] /home/kali/RTL8192EU/core/rtw_br_ext.o
CC [M] /home/kali/RTL8192EU/core/rtw_iol.o
CC [M] /home/kali/RTL8192EU/core/rtw_sreset.o
CC [M] /home/kali/RTL8192EU/core/rtw_btcoex_wifionly.o
CC [M] /home/kali/RTL8192EU/core/rtw_btcoex.o
CC [M] /home/kali/RTL8192EU/core/rtw_beamforming.o
CC [M] /home/kali/RTL8192EU/core/rtw_odm.o
CC [M] /home/kali/RTL8192EU/core/efuse/rtw_efuse.o
CC [M] /home/kali/RTL8192EU/os_dep/osdep_service.o
CC [M] /home/kali/RTL8192EU/os_dep/linux/os_intfs.o
CC [M] /home/kali/RTL8192EU/os_dep/linux/usb_intf.o
CC [M] /home/kali/RTL8192EU/os_dep/linux/usb_ops_linux.o
CC [M] /home/kali/RTL8192EU/os_dep/linux/ioctl_linux.o
CC [M] /home/kali/RTL8192EU/os_dep/linux/xmit_linux.o
CC [M] /home/kali/RTL8192EU/os_dep/linux/mlme_linux.o
CC [M] /home/kali/RTL8192EU/os_dep/linux/recv_linux.o
CC [M] /home/kali/RTL8192EU/os_dep/linux/ioctl_cfg80211.o
/home/kali/RTL8192EU/os_dep/linux/ioctl_cfg80211.c: In function ‘cfg80211_rtw_change_iface’:
/home/kali/RTL8192EU/os_dep/linux/ioctl_cfg80211.c:2069:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
2069 | is_p2p = _TRUE;
/home/kali/RTL8192EU/os_dep/linux/ioctl_cfg80211.c:2071:2: note: here
2071 | case NL80211_IFTYPE_STATION:
| ^~~~
/home/kali/RTL8192EU/os_dep/linux/ioctl_cfg80211.c:2093:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
2093 | is_p2p = _TRUE;
/home/kali/RTL8192EU/os_dep/linux/ioctl_cfg80211.c:2095:2: note: here
2095 | case NL80211_IFTYPE_AP:
| ^~~~
CC [M] /home/kali/RTL8192EU/os_dep/linux/rtw_cfgvendor.o
CC [M] /home/kali/RTL8192EU/os_dep/linux/wifi_regd.o
CC [M] /home/kali/RTL8192EU/os_dep/linux/rtw_android.o
CC [M] /home/kali/RTL8192EU/os_dep/linux/rtw_radiotap.o
CC [M] /home/kali/RTL8192EU/os_dep/linux/rtw_proc.o
/home/kali/RTL8192EU/os_dep/linux/rtw_proc.c: In function ‘rtw_proc_create_entry’:
/home/kali/RTL8192EU/os_dep/linux/rtw_proc.c:72:71: error: passing argument 4 of ‘proc_create_data’ from incompatible pointer type [-Werror=incompatible-pointer-types]
72 | entry = proc_create_data(name, S_IFREG | S_IRUGO | S_IWUGO, parent, fops, data);
| ^~~~
| |
| const struct file_operations *
In file included from /home/kali/RTL8192EU/include/../os_dep/linux/rtw_proc.h:18,
from /home/kali/RTL8192EU/include/osdep_intf.h:128,
from /home/kali/RTL8192EU/include/drv_types.h:104,
from /home/kali/RTL8192EU/os_dep/linux/rtw_proc.c:17:
/usr/src/linux-headers-5.6.0-kali2-common/include/linux/proc_fs.h:59:31: note: expected ‘const struct proc_ops *’ but argument is of type ‘const struct file_operations *’
59 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
| ^~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-5.6.0-kali2-common/scripts/Makefile.build:273: /home/kali/RTL8192EU/os_dep/linux/rtw_proc.o] Ошибка 1
make[2]: *** [/usr/src/linux-headers-5.6.0-kali2-common/Makefile:1704: /home/kali/RTL8192EU] Ошибка 2
make[1]: *** [/usr/src/linux-headers-5.6.0-kali2-common/Makefile:180: sub-make] Ошибка 2
make[1]: выход из каталога «/usr/src/linux-headers-5.6.0-kali2-amd64»
make: *** [Makefile:1829: modules] Ошибка 2