при команде make выдает такую ошибку
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.9.0-kali1-amd64/build M=/home/mistorid/rtl8188eus modules
make[1]: вход в каталог «/usr/src/linux-headers-5.9.0-kali1-amd64»
CC [M] /home/mistorid/rtl8188eus/core/rtw_cmd.o
In file included from /home/mistorid/rtl8188eus/include/drv_types.h:30,
from /home/mistorid/rtl8188eus/core/rtw_cmd.c:17:
/home/mistorid/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from /home/mistorid/rtl8188eus/include/osdep_service_linux.h:83,
from /home/mistorid/rtl8188eus/include/osdep_service.h:50,
from /home/mistorid/rtl8188eus/include/drv_types.h:27,
from /home/mistorid/rtl8188eus/core/rtw_cmd.c:17:
/usr/src/linux-headers-5.9.0-kali1-common/include/linux/ieee80211.h:1600: note: this is the location of the previous definition
1600 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
In file included from /home/mistorid/rtl8188eus/include/drv_types.h:75,
from /home/mistorid/rtl8188eus/core/rtw_cmd.c:17:
/home/mistorid/rtl8188eus/include/rtw_security.h:251:8: error: redefinition of ‘struct sha256_state’
251 | struct sha256_state {
| ^~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.9.0-kali1-common/include/linux/filter.h:24,
from /usr/src/linux-headers-5.9.0-kali1-common/include/net/sock.h:59,
from /usr/src/linux-headers-5.9.0-kali1-common/include/linux/tcp.h:19,
from /usr/src/linux-headers-5.9.0-kali1-common/include/linux/ipv6.h:88,
from /usr/src/linux-headers-5.9.0-kali1-common/include/net/addrconf.h:50,
from /home/mistorid/rtl8188eus/include/osdep_service_linux.h:48,
from /home/mistorid/rtl8188eus/include/osdep_service.h:50,
from /home/mistorid/rtl8188eus/include/drv_types.h:27,
from /home/mistorid/rtl8188eus/core/rtw_cmd.c:17:
/usr/src/linux-headers-5.9.0-kali1-common/include/crypto/sha.h:84:8: note: originally defined here
84 | struct sha256_state {
| ^~~~~~~~~~~~
make[3]: *** [/usr/src/linux-headers-5.9.0-kali1-common/scripts/Makefile.build:288: /home/mistorid/rtl8188eus/core/rtw_cmd.o] Ошибка 1
make[2]: *** [/usr/src/linux-headers-5.9.0-kali1-common/Makefile:1796: /home/mistorid/rtl8188eus] Ошибка 2
make[1]: *** [/usr/src/linux-headers-5.9.0-kali1-common/Makefile:185: __sub-make] Ошибка 2
make[1]: выход из каталога «/usr/src/linux-headers-5.9.0-kali1-amd64»
make: *** [Makefile:2286: modules] Ошибка 2
Вот что выдает команда lsusb
Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Kali запускаю через виртуальную машину vmware
все включил
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.9.0-kali1-amd64/build M=/home/mistorid/rtl8188eus modules
make[1]: вход в каталог «/usr/src/linux-headers-5.9.0-kali1-amd64»
CC [M] /home/mistorid/rtl8188eus/core/rtw_cmd.o
In file included from /home/mistorid/rtl8188eus/include/drv_types.h:30,
from /home/mistorid/rtl8188eus/core/rtw_cmd.c:17:
/home/mistorid/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from /home/mistorid/rtl8188eus/include/osdep_service_linux.h:83,
from /home/mistorid/rtl8188eus/include/osdep_service.h:50,
from /home/mistorid/rtl8188eus/include/drv_types.h:27,
from /home/mistorid/rtl8188eus/core/rtw_cmd.c:17:
/usr/src/linux-headers-5.9.0-kali1-common/include/linux/ieee80211.h:1600: note: this is the location of the previous definition
1600 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
In file included from /home/mistorid/rtl8188eus/include/drv_types.h:75,
from /home/mistorid/rtl8188eus/core/rtw_cmd.c:17:
/home/mistorid/rtl8188eus/include/rtw_security.h:251:8: error: redefinition of ‘struct sha256_state’
251 | struct sha256_state {
| ^~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.9.0-kali1-common/include/linux/filter.h:24,
from /usr/src/linux-headers-5.9.0-kali1-common/include/net/sock.h:59,
from /usr/src/linux-headers-5.9.0-kali1-common/include/linux/tcp.h:19,
from /usr/src/linux-headers-5.9.0-kali1-common/include/linux/ipv6.h:88,
from /usr/src/linux-headers-5.9.0-kali1-common/include/net/addrconf.h:50,
from /home/mistorid/rtl8188eus/include/osdep_service_linux.h:48,
from /home/mistorid/rtl8188eus/include/osdep_service.h:50,
from /home/mistorid/rtl8188eus/include/drv_types.h:27,
from /home/mistorid/rtl8188eus/core/rtw_cmd.c:17:
/usr/src/linux-headers-5.9.0-kali1-common/include/crypto/sha.h:84:8: note: originally defined here
84 | struct sha256_state {
| ^~~~~~~~~~~~
make[3]: *** [/usr/src/linux-headers-5.9.0-kali1-common/scripts/Makefile.build:288: /home/mistorid/rtl8188eus/core/rtw_cmd.o] Ошибка 1
make[2]: *** [/usr/src/linux-headers-5.9.0-kali1-common/Makefile:1796: /home/mistorid/rtl8188eus] Ошибка 2
make[1]: *** [/usr/src/linux-headers-5.9.0-kali1-common/Makefile:185: __sub-make] Ошибка 2
make[1]: выход из каталога «/usr/src/linux-headers-5.9.0-kali1-amd64»
make: *** [Makefile:2286: modules] Ошибка 2
Вот что выдает команда lsusb
Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Kali запускаю через виртуальную машину vmware