• B правой части каждого сообщения есть стрелки и . Не стесняйтесь оценивать ответы. Чтобы автору вопроса закрыть свой тикет, надо выбрать лучший ответ. Просто нажмите значок в правой части сообщения.

  • Курсы Академии Кодебай, стартующие в мае - июне, от команды The Codeby

    1. Цифровая криминалистика и реагирование на инциденты
    2. ОС Linux (DFIR) Старт: 16 мая
    3. Анализ фишинговых атак Старт: 16 мая Устройства для тестирования на проникновение Старт: 16 мая

    Скидки до 10%

    Полный список ближайших курсов ...

Проблема с драйверами tl-wn722n v3 kali linux

akland

Member
28.11.2019
13
0
BIT
0
Код:
root@kali:~# git clone kimocoder/rtl8188eus
Клонирование в «rtl8188eus»…
remote: Enumerating objects: 6, done.
remote: Counting objects: 100% (6/6), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 1858 (delta 1), reused 3 (delta 0), pack-reused 1852
Получение объектов: 100% (1858/1858), 30.01 MiB | 373.00 KiB/s, готово.
Определение изменений: 100% (810/810), готово.
root@kali:~# apt install -y bc linux-headers-amd64
Чтение списков пакетов… Готово
Построение дерева зависимостей      
Чтение информации о состоянии… Готово
Уже установлен пакет bc самой новой версии (1.07.1-2+b2).
Уже установлен пакет linux-headers-amd64 самой новой версии (5.3.9-3kali1).
Обновлено 0 пакетов, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 1 пакетов не обновлено.
root@kali:~# cd rtl8188eus/
root@kali:~/rtl8188eus# cp realtek_blacklist.conf /etc/modprobe.d
root@kali:~/rtl8188eus# make make install
make: *** Нет правила для сборки цели «make».  Останов.
root@kali:~/rtl8188eus# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.3.0-kali2-amd64/build M=/root/rtl8188eus  modules
make[1]: вход в каталог «/usr/src/linux-headers-5.3.0-kali2-amd64»
  CC [M]  /root/rtl8188eus/core/rtw_cmd.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_cmd.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_cmd.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_security.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_security.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_security.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_debug.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_debug.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_debug.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_io.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_io.c:47:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_io.c:47:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_ioctl_query.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_ioctl_query.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_ioctl_query.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_ioctl_set.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_ioctl_set.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_ioctl_set.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_ieee80211.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_ieee80211.c:20:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_ieee80211.c:20:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_mlme.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/include/../hal/phydm/phydm_types.h:215,
                 from /root/rtl8188eus/include/../hal/phydm/phydm_precomp.h:29,
                 from /root/rtl8188eus/include/hal_data.h:20,
                 from /root/rtl8188eus/core/rtw_mlme.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/include/../hal/phydm/phydm_types.h:215,
                 from /root/rtl8188eus/include/../hal/phydm/phydm_precomp.h:29,
                 from /root/rtl8188eus/include/hal_data.h:20,
                 from /root/rtl8188eus/core/rtw_mlme.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_mlme_ext.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_mlme_ext.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_mlme_ext.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
/root/rtl8188eus/core/rtw_mlme_ext.c: In function ‘rtw_txpwr_init_regd’:
/root/rtl8188eus/core/rtw_mlme_ext.c:259:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  259 |   if (rfctl->regd_name)
      |      ^
/root/rtl8188eus/core/rtw_mlme_ext.c:261:2: note: here
  261 |  default:
      |  ^~~~~~~
/root/rtl8188eus/core/rtw_mlme_ext.c: In function ‘mgt_dispatcher’:
/root/rtl8188eus/core/rtw_mlme_ext.c:1348:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
1348 |    ptable->func = &OnAuthClient;
      |    ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/root/rtl8188eus/core/rtw_mlme_ext.c:1350:2: note: here
1350 |  case WIFI_ASSOCREQ:
      |  ^~~~
  CC [M]  /root/rtl8188eus/core/rtw_mi.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_mi.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_mi.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_wlan_util.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_wlan_util.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_wlan_util.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_vht.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_vht.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_vht.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_pwrctrl.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_pwrctrl.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_pwrctrl.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_rf.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_rf.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_rf.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_chplan.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_chplan.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_chplan.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_recv.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_recv.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_recv.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_sta_mgt.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_sta_mgt.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_sta_mgt.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_ap.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_ap.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_ap.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
/root/rtl8188eus/core/rtw_ap.c: In function ‘rtw_add_bcn_ie’:
/root/rtl8188eus/core/rtw_ap.c:193:25: warning: ‘ielen’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  193 |  if (p != NULL && ielen > 0) {
      |                   ~~~~~~^~~
  CC [M]  /root/rtl8188eus/core/mesh/rtw_mesh.o
  CC [M]  /root/rtl8188eus/core/mesh/rtw_mesh_pathtbl.o
  CC [M]  /root/rtl8188eus/core/mesh/rtw_mesh_hwmp.o
  CC [M]  /root/rtl8188eus/core/rtw_xmit.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_xmit.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_xmit.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_p2p.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_p2p.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_p2p.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_rson.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_rson.c:22:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_rson.c:22:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_tdls.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_tdls.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_tdls.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_br_ext.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_br_ext.c:27:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_br_ext.c:27:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_iol.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_iol.c:16:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_iol.c:16:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_sreset.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_sreset.c:16:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_sreset.c:16:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_btcoex_wifionly.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_btcoex_wifionly.c:15:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_btcoex_wifionly.c:15:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_btcoex.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_btcoex.c:15:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_btcoex.c:15:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_beamforming.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_beamforming.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_beamforming.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_odm.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/include/rtw_odm.h:18,
                 from /root/rtl8188eus/core/rtw_odm.c:16:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/include/rtw_odm.h:18,
                 from /root/rtl8188eus/core/rtw_odm.c:16:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_rm.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_rm.c:16:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_rm.c:16:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_rm_fsm.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_rm_fsm.c:16:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_rm_fsm.c:16:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/efuse/rtw_efuse.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/efuse/rtw_efuse.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/efuse/rtw_efuse.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/os_dep/osdep_service.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/os_dep/osdep_service.c:19:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/os_dep/osdep_service.c:19:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
/root/rtl8188eus/os_dep/osdep_service.c: In function ‘isFileReadable’:
/root/rtl8188eus/os_dep/osdep_service.c:2204:10: error: implicit declaration of function ‘get_ds’; did you mean ‘get_da’? [-Werror=implicit-function-declaration]
2204 |   set_fs(get_ds());
      |          ^~~~~~
      |          get_da
/root/rtl8188eus/os_dep/osdep_service.c:2204:10: error: incompatible type for argument 1 of ‘set_fs’
2204 |   set_fs(get_ds());
      |          ^~~~~~~~
      |          |
      |          int
In file included from /usr/src/linux-headers-5.3.0-kali2-common/include/linux/uaccess.h:11,
                 from /usr/src/linux-headers-5.3.0-kali2-common/include/linux/sched/task.h:11,
                 from /usr/src/linux-headers-5.3.0-kali2-common/include/linux/sched/signal.h:9,
                 from /root/rtl8188eus/include/osdep_service.h:47,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/os_dep/osdep_service.c:19:
/usr/src/linux-headers-5.3.0-kali2-common/arch/x86/include/asm/uaccess.h:29:40: note: expected ‘mm_segment_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
   29 | static inline void set_fs(mm_segment_t fs)
      |                           ~~~~~~~~~~~~~^~
/root/rtl8188eus/os_dep/osdep_service.c: In function ‘retriveFromFile’:
/root/rtl8188eus/os_dep/osdep_service.c:2242:11: error: incompatible type for argument 1 of ‘set_fs’
2242 |    set_fs(get_ds());
      |           ^~~~~~~~
      |           |
      |           int
In file included from /usr/src/linux-headers-5.3.0-kali2-common/include/linux/uaccess.h:11,
                 from /usr/src/linux-headers-5.3.0-kali2-common/include/linux/sched/task.h:11,
                 from /usr/src/linux-headers-5.3.0-kali2-common/include/linux/sched/signal.h:9,
                 from /root/rtl8188eus/include/osdep_service.h:47,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/os_dep/osdep_service.c:19:
/usr/src/linux-headers-5.3.0-kali2-common/arch/x86/include/asm/uaccess.h:29:40: note: expected ‘mm_segment_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
   29 | static inline void set_fs(mm_segment_t fs)
      |                           ~~~~~~~~~~~~~^~
/root/rtl8188eus/os_dep/osdep_service.c: In function ‘storeToFile’:
/root/rtl8188eus/os_dep/osdep_service.c:2277:11: error: incompatible type for argument 1 of ‘set_fs’
2277 |    set_fs(get_ds());
      |           ^~~~~~~~
      |           |
      |           int
In file included from /usr/src/linux-headers-5.3.0-kali2-common/include/linux/uaccess.h:11,
                 from /usr/src/linux-headers-5.3.0-kali2-common/include/linux/sched/task.h:11,
                 from /usr/src/linux-headers-5.3.0-kali2-common/include/linux/sched/signal.h:9,
                 from /root/rtl8188eus/include/osdep_service.h:47,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/os_dep/osdep_service.c:19:
/usr/src/linux-headers-5.3.0-kali2-common/arch/x86/include/asm/uaccess.h:29:40: note: expected ‘mm_segment_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
   29 | static inline void set_fs(mm_segment_t fs)
      |                           ~~~~~~~~~~~~~^~
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-5.3.0-kali2-common/scripts/Makefile.build:286: /root/rtl8188eus/os_dep/osdep_service.o] Ошибка 1
make[2]: *** [/usr/src/linux-headers-5.3.0-kali2-common/Makefile:1639: _module_/root/rtl8188eus] Ошибка 2
make[1]: *** [/usr/src/linux-headers-5.3.0-kali2-common/Makefile:179: sub-make] Ошибка 2
make[1]: выход из каталога «/usr/src/linux-headers-5.3.0-kali2-amd64»
make: *** [Makefile:2286: modules] Ошибка 2
root@kali:~/rtl8188eus# ^C
root@kali:~/rtl8188eus#
Что за бред ?
 

Максимка

Well-known member
31.12.2019
99
0
BIT
0
Код:
root@kali:~# git clone kimocoder/rtl8188eus
Клонирование в «rtl8188eus»…
remote: Enumerating objects: 6, done.
remote: Counting objects: 100% (6/6), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 1858 (delta 1), reused 3 (delta 0), pack-reused 1852
Получение объектов: 100% (1858/1858), 30.01 MiB | 373.00 KiB/s, готово.
Определение изменений: 100% (810/810), готово.
root@kali:~# apt install -y bc linux-headers-amd64
Чтение списков пакетов… Готово
Построение дерева зависимостей     
Чтение информации о состоянии… Готово
Уже установлен пакет bc самой новой версии (1.07.1-2+b2).
Уже установлен пакет linux-headers-amd64 самой новой версии (5.3.9-3kali1).
Обновлено 0 пакетов, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 1 пакетов не обновлено.
root@kali:~# cd rtl8188eus/
root@kali:~/rtl8188eus# cp realtek_blacklist.conf /etc/modprobe.d
root@kali:~/rtl8188eus# make make install
make: *** Нет правила для сборки цели «make».  Останов.
root@kali:~/rtl8188eus# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.3.0-kali2-amd64/build M=/root/rtl8188eus  modules
make[1]: вход в каталог «/usr/src/linux-headers-5.3.0-kali2-amd64»
  CC [M]  /root/rtl8188eus/core/rtw_cmd.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_cmd.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_cmd.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_security.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_security.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_security.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_debug.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_debug.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_debug.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_io.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_io.c:47:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_io.c:47:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_ioctl_query.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_ioctl_query.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_ioctl_query.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_ioctl_set.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_ioctl_set.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_ioctl_set.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_ieee80211.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_ieee80211.c:20:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_ieee80211.c:20:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_mlme.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/include/../hal/phydm/phydm_types.h:215,
                 from /root/rtl8188eus/include/../hal/phydm/phydm_precomp.h:29,
                 from /root/rtl8188eus/include/hal_data.h:20,
                 from /root/rtl8188eus/core/rtw_mlme.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/include/../hal/phydm/phydm_types.h:215,
                 from /root/rtl8188eus/include/../hal/phydm/phydm_precomp.h:29,
                 from /root/rtl8188eus/include/hal_data.h:20,
                 from /root/rtl8188eus/core/rtw_mlme.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_mlme_ext.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_mlme_ext.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_mlme_ext.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
/root/rtl8188eus/core/rtw_mlme_ext.c: In function ‘rtw_txpwr_init_regd’:
/root/rtl8188eus/core/rtw_mlme_ext.c:259:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  259 |   if (rfctl->regd_name)
      |      ^
/root/rtl8188eus/core/rtw_mlme_ext.c:261:2: note: here
  261 |  default:
      |  ^~~~~~~
/root/rtl8188eus/core/rtw_mlme_ext.c: In function ‘mgt_dispatcher’:
/root/rtl8188eus/core/rtw_mlme_ext.c:1348:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
1348 |    ptable->func = &OnAuthClient;
      |    ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/root/rtl8188eus/core/rtw_mlme_ext.c:1350:2: note: here
1350 |  case WIFI_ASSOCREQ:
      |  ^~~~
  CC [M]  /root/rtl8188eus/core/rtw_mi.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_mi.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_mi.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_wlan_util.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_wlan_util.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_wlan_util.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_vht.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_vht.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_vht.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_pwrctrl.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_pwrctrl.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_pwrctrl.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_rf.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_rf.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_rf.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_chplan.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_chplan.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_chplan.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_recv.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_recv.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_recv.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_sta_mgt.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_sta_mgt.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_sta_mgt.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_ap.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_ap.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_ap.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
/root/rtl8188eus/core/rtw_ap.c: In function ‘rtw_add_bcn_ie’:
/root/rtl8188eus/core/rtw_ap.c:193:25: warning: ‘ielen’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  193 |  if (p != NULL && ielen > 0) {
      |                   ~~~~~~^~~
  CC [M]  /root/rtl8188eus/core/mesh/rtw_mesh.o
  CC [M]  /root/rtl8188eus/core/mesh/rtw_mesh_pathtbl.o
  CC [M]  /root/rtl8188eus/core/mesh/rtw_mesh_hwmp.o
  CC [M]  /root/rtl8188eus/core/rtw_xmit.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_xmit.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_xmit.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_p2p.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_p2p.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_p2p.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_rson.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_rson.c:22:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_rson.c:22:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_tdls.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_tdls.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_tdls.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_br_ext.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_br_ext.c:27:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_br_ext.c:27:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_iol.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_iol.c:16:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_iol.c:16:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_sreset.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_sreset.c:16:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_sreset.c:16:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_btcoex_wifionly.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_btcoex_wifionly.c:15:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_btcoex_wifionly.c:15:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_btcoex.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_btcoex.c:15:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_btcoex.c:15:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_beamforming.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_beamforming.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_beamforming.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_odm.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/include/rtw_odm.h:18,
                 from /root/rtl8188eus/core/rtw_odm.c:16:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/include/rtw_odm.h:18,
                 from /root/rtl8188eus/core/rtw_odm.c:16:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_rm.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_rm.c:16:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_rm.c:16:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/rtw_rm_fsm.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/rtw_rm_fsm.c:16:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/rtw_rm_fsm.c:16:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/core/efuse/rtw_efuse.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/core/efuse/rtw_efuse.c:17:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/core/efuse/rtw_efuse.c:17:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
  CC [M]  /root/rtl8188eus/os_dep/osdep_service.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/os_dep/osdep_service.c:19:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  970 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      |
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/os_dep/osdep_service.c:19:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      |
/root/rtl8188eus/os_dep/osdep_service.c: In function ‘isFileReadable’:
/root/rtl8188eus/os_dep/osdep_service.c:2204:10: error: implicit declaration of function ‘get_ds’; did you mean ‘get_da’? [-Werror=implicit-function-declaration]
2204 |   set_fs(get_ds());
      |          ^~~~~~
      |          get_da
/root/rtl8188eus/os_dep/osdep_service.c:2204:10: error: incompatible type for argument 1 of ‘set_fs’
2204 |   set_fs(get_ds());
      |          ^~~~~~~~
      |          |
      |          int
In file included from /usr/src/linux-headers-5.3.0-kali2-common/include/linux/uaccess.h:11,
                 from /usr/src/linux-headers-5.3.0-kali2-common/include/linux/sched/task.h:11,
                 from /usr/src/linux-headers-5.3.0-kali2-common/include/linux/sched/signal.h:9,
                 from /root/rtl8188eus/include/osdep_service.h:47,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/os_dep/osdep_service.c:19:
/usr/src/linux-headers-5.3.0-kali2-common/arch/x86/include/asm/uaccess.h:29:40: note: expected ‘mm_segment_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
   29 | static inline void set_fs(mm_segment_t fs)
      |                           ~~~~~~~~~~~~~^~
/root/rtl8188eus/os_dep/osdep_service.c: In function ‘retriveFromFile’:
/root/rtl8188eus/os_dep/osdep_service.c:2242:11: error: incompatible type for argument 1 of ‘set_fs’
2242 |    set_fs(get_ds());
      |           ^~~~~~~~
      |           |
      |           int
In file included from /usr/src/linux-headers-5.3.0-kali2-common/include/linux/uaccess.h:11,
                 from /usr/src/linux-headers-5.3.0-kali2-common/include/linux/sched/task.h:11,
                 from /usr/src/linux-headers-5.3.0-kali2-common/include/linux/sched/signal.h:9,
                 from /root/rtl8188eus/include/osdep_service.h:47,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/os_dep/osdep_service.c:19:
/usr/src/linux-headers-5.3.0-kali2-common/arch/x86/include/asm/uaccess.h:29:40: note: expected ‘mm_segment_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
   29 | static inline void set_fs(mm_segment_t fs)
      |                           ~~~~~~~~~~~~~^~
/root/rtl8188eus/os_dep/osdep_service.c: In function ‘storeToFile’:
/root/rtl8188eus/os_dep/osdep_service.c:2277:11: error: incompatible type for argument 1 of ‘set_fs’
2277 |    set_fs(get_ds());
      |           ^~~~~~~~
      |           |
      |           int
In file included from /usr/src/linux-headers-5.3.0-kali2-common/include/linux/uaccess.h:11,
                 from /usr/src/linux-headers-5.3.0-kali2-common/include/linux/sched/task.h:11,
                 from /usr/src/linux-headers-5.3.0-kali2-common/include/linux/sched/signal.h:9,
                 from /root/rtl8188eus/include/osdep_service.h:47,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/os_dep/osdep_service.c:19:
/usr/src/linux-headers-5.3.0-kali2-common/arch/x86/include/asm/uaccess.h:29:40: note: expected ‘mm_segment_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
   29 | static inline void set_fs(mm_segment_t fs)
      |                           ~~~~~~~~~~~~~^~
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-5.3.0-kali2-common/scripts/Makefile.build:286: /root/rtl8188eus/os_dep/osdep_service.o] Ошибка 1
make[2]: *** [/usr/src/linux-headers-5.3.0-kali2-common/Makefile:1639: _module_/root/rtl8188eus] Ошибка 2
make[1]: *** [/usr/src/linux-headers-5.3.0-kali2-common/Makefile:179: sub-make] Ошибка 2
make[1]: выход из каталога «/usr/src/linux-headers-5.3.0-kali2-amd64»
make: *** [Makefile:2286: modules] Ошибка 2
root@kali:~/rtl8188eus# ^C
root@kali:~/rtl8188eus#
Что за бред ?
Я делал как на видео и вот что было в конце
 

Вложения

  • Скриншот 09-01-2020 211953.png
    Скриншот 09-01-2020 211953.png
    62,2 КБ · Просмотры: 358
Мы в соцсетях:

Обучение наступательной кибербезопасности в игровой форме. Начать игру!