You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
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`
The text was updated successfully, but these errors were encountered: