Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when run make all command #8

Open
and2carvalho opened this issue Oct 13, 2019 · 3 comments
Open

Error when run make all command #8

and2carvalho opened this issue Oct 13, 2019 · 3 comments

Comments

@and2carvalho
Copy link

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`

@atomicmass
Copy link

Me too :(

@and2carvalho
Copy link
Author

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

@ManForSun
Copy link

ManForSun commented Mar 21, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants