TL-WN725N-TP-Link-Debian icon indicating copy to clipboard operation
TL-WN725N-TP-Link-Debian copied to clipboard

Error when run `make all` command

Open and2carvalho opened this issue 5 years ago • 3 comments

Hey, I'm getting this error when trying to make the file. I'm using debian buster, and i suspect that this is the problem... but anyway, do you know a way around it?

`make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.19.0-6-amd64/build M=/home/andre/TL-WN725N-TP-Link-Debian modules make[1]: Entering directory '/usr/src/linux-headers-4.19.0-6-amd64' CC [M] /home/andre/TL-WN725N-TP-Link-Debian/core/rtw_ap.o In file included from /home/andre/TL-WN725N-TP-Link-Debian/core/rtw_ap.c:22: /home/andre/TL-WN725N-TP-Link-Debian/include/osdep_service.h: In function ‘_init_timer’: /home/andre/TL-WN725N-TP-Link-Debian/include/osdep_service.h:94:8: error: ‘struct timer_list’ has no member named ‘data’ ptimer->data = (unsigned long)cntx; ^~ /home/andre/TL-WN725N-TP-Link-Debian/include/osdep_service.h:95: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/andre/TL-WN725N-TP-Link-Debian/include/rtw_ht.h:24, from /home/andre/TL-WN725N-TP-Link-Debian/include/drv_types.h:36, from /home/andre/TL-WN725N-TP-Link-Debian/core/rtw_ap.c:23: /home/andre/TL-WN725N-TP-Link-Debian/include/wifi.h: At top level: /home/andre/TL-WN725N-TP-Link-Debian/include/wifi.h:733: warning: "IEEE80211_MAX_AMPDU_BUF" redefined #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/andre/TL-WN725N-TP-Link-Debian/include/wifi.h:23, from /home/andre/TL-WN725N-TP-Link-Debian/include/rtw_ht.h:24, from /home/andre/TL-WN725N-TP-Link-Debian/include/drv_types.h:36, from /home/andre/TL-WN725N-TP-Link-Debian/core/rtw_ap.c:23: /usr/src/linux-headers-4.19.0-6-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-6-common/scripts/Makefile.build:309: /home/andre/TL-WN725N-TP-Link-Debian/core/rtw_ap.o] Error 1 make[3]: *** [/usr/src/linux-headers-4.19.0-6-common/Makefile:1534: module/home/andre/TL-WN725N-TP-Link-Debian] 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-6-amd64' make: *** [Makefile:147: modules] Error 2`

and2carvalho avatar Oct 13 '19 20:10 and2carvalho

Me too :(

atomicmass avatar Mar 02 '20 16:03 atomicmass

https://bugs.launchpad.net/ubuntu/+source/rtl8812au/+bug/1774780 https://forums.linuxmint.com/viewtopic.php?t=273409

These 2 links helped me solving this problem. Beside that, here comes a tip that often goes unnoticed... after installing the driver you have to remove the device from the usb and then plug it again... a simple reboot should work too

and2carvalho avatar Mar 03 '20 00:03 and2carvalho

https://github.com/lwfinger/rtl8188eu Its works Debian 12 \ MATE 1.26.0

ManForSun avatar Mar 21 '24 18:03 ManForSun