Failed to make TL-WN727N V4 Driver

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Failed to make TL-WN727N V4 Driver

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Failed to make TL-WN727N V4 Driver
Failed to make TL-WN727N V4 Driver
2020-03-12 12:46:53
Model: TL-WN727N  
Hardware Version:
Firmware Version:

Hi, I'm having Debian, this is lsb_release output:

Distributor ID:    Debian
Description:    Debian GNU/Linux 10 (buster)
Release:    10
Codename:    buster

 

this is lsusb output:
Bus 001 Device 007: ID 148f:7601 Ralink Technology, Corp. MT7601U Wireless Adapter
 

when I run 'sudo make' I get this errors:

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.19.0-8-amd64/build M=/home/miladm/opt/TL-WN727N_V5.20_190514_Linux/rtl8188EUS_linux_v5.2.2.4_25483.20171222  modules
make[1]: Entering directory '/usr/src/linux-headers-4.19.0-8-amd64'
  CC [M]  /home/miladm/opt/TL-WN727N_V5.20_190514_Linux/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.o
In file included from /home/miladm/opt/TL-WN727N_V5.20_190514_Linux/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h:46,
                 from /home/miladm/opt/TL-WN727N_V5.20_190514_Linux/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/drv_types.h:32,
                 from /home/miladm/opt/TL-WN727N_V5.20_190514_Linux/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.c:22:
/home/miladm/opt/TL-WN727N_V5.20_190514_Linux/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/miladm/opt/TL-WN727N_V5.20_190514_Linux/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service_linux.h:288:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
  ptimer->data = (unsigned long)cntx;
        ^~
/home/miladm/opt/TL-WN727N_V5.20_190514_Linux/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service_linux.h:289:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  init_timer(ptimer);
  ^~~~~~~~~~
  _init_timer
In file included from /home/miladm/opt/TL-WN727N_V5.20_190514_Linux/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/drv_types.h:35,
                 from /home/miladm/opt/TL-WN727N_V5.20_190514_Linux/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.c:22:
/home/miladm/opt/TL-WN727N_V5.20_190514_Linux/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/wifi.h: At top level:
/home/miladm/opt/TL-WN727N_V5.20_190514_Linux/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/wifi.h:1012: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/miladm/opt/TL-WN727N_V5.20_190514_Linux/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service_linux.h:86,
                 from /home/miladm/opt/TL-WN727N_V5.20_190514_Linux/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h:46,
                 from /home/miladm/opt/TL-WN727N_V5.20_190514_Linux/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/drv_types.h:32,
                 from /home/miladm/opt/TL-WN727N_V5.20_190514_Linux/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.c:22:
/usr/src/linux-headers-4.19.0-8-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/linux-headers-4.19.0-8-common/scripts/Makefile.build:309: /home/miladm/opt/TL-WN727N_V5.20_190514_Linux/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.o] Error 1
make[3]: *** [/usr/src/linux-headers-4.19.0-8-common/Makefile:1537: _module_/home/miladm/opt/TL-WN727N_V5.20_190514_Linux/rtl8188EUS_linux_v5.2.2.4_25483.20171222] Error 2
make[2]: *** [Makefile:146: sub-make] Error 2
make[1]: *** [Makefile:8: all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.19.0-8-amd64'
make: *** [Makefile:1911: modules] Error 2

 

what is wrong? thanks
 

  0      
  0      
#1
Options