Unable to compile Linux drivers for TL-WN722N V3 on Ubuntu 16.04.3 LTS

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Unable to compile Linux drivers for TL-WN722N V3 on Ubuntu 16.04.3 LTS
Unable to compile Linux drivers for TL-WN722N V3 on Ubuntu 16.04.3 LTS
2018-08-26 12:10:33
Model : TL-WN722N

Hardware Version :

Firmware Version :

ISP :

I have purchased the TL-WN722N V3 recently to test it on my Ubuntu 16.04 OS running on VirtualBox. I followed the instructions on your Installation Guide for Linux but I faced some problems in compiling your Linux drivers.

Here are the drivers I have tested :
rtl8188EUS_linux_v4.3.0.8_13968.20150417
rtl8188EUS_linux_v5.2.2.4_25483.20171222

Output from the terminal for rtl8188EUS_linux_v4.3.0.8_13968.20150417:
[CODE]
daniel@daniel-VirtualBox:~/Downloads/rtl8188EUS_linux_v4.3.0.8_13968.20150417$ make
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/4.15.0-33-generic/build M=/home/daniel/Downloads/rtl8188EUS_linux_v4.3.0.8_13968.20150417 modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-33-generic'
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
CC [M] /home/daniel/Downloads/rtl8188EUS_linux_v4.3.0.8_13968.20150417/core/rtw_cmd.o
In file included from /home/daniel/Downloads/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/osdep_service.h:41:0,
from /home/daniel/Downloads/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/drv_types.h:32,
from /home/daniel/Downloads/rtl8188EUS_linux_v4.3.0.8_13968.20150417/core/rtw_cmd.c:22:
/home/daniel/Downloads/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/daniel/Downloads/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/osdep_service_linux.h:261:8: error: ‘_timer {aka struct timer_list}’ has no member named ‘data’
ptimer->data = (unsigned long)cntx;
^
/home/daniel/Downloads/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/osdep_service_linux.h:262:2: error: implicit declaration of function ‘init_timer’ [-Werror=implicit-function-declaration]
init_timer(ptimer);
^
In file included from /home/daniel/Downloads/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/drv_types.h:32:0,
from /home/daniel/Downloads/rtl8188EUS_linux_v4.3.0.8_13968.20150417/core/rtw_cmd.c:22:
/home/daniel/Downloads/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/osdep_service.h: In function ‘thread_enter’:
/home/daniel/Downloads/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/osdep_service.h:342:2: error: implicit declaration of function ‘allow_signal’ [-Werror=implicit-function-declaration]
allow_signal(SIGTERM);
^
/home/daniel/Downloads/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/osdep_service.h: In function ‘flush_signals_thread’:
/home/daniel/Downloads/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/osdep_service.h:352:6: error: implicit declaration of function ‘signal_pending’ [-Werror=implicit-function-declaration]
if (signal_pending (current))
^
/home/daniel/Downloads/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/osdep_service.h:354:3: error: implicit declaration of function ‘flush_signals’ [-Werror=implicit-function-declaration]
flush_signals(current);
^
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/home/daniel/Downloads/rtl8188EUS_linux_v4.3.0.8_13968.20150417/core/rtw_cmd.o' failed
make[2]: *** [/home/daniel/Downloads/rtl8188EUS_linux_v4.3.0.8_13968.20150417/core/rtw_cmd.o] Error 1
Makefile:1552: recipe for target '_module_/home/daniel/Downloads/rtl8188EUS_linux_v4.3.0.8_13968.20150417' failed
make[1]: *** [_module_/home/daniel/Downloads/rtl8188EUS_linux_v4.3.0.8_13968.20150417] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-33-generic'
Makefile:1367: recipe for target 'modules' failed
make: *** [modules] Error 2

[/CODE]

Output from the terminal for rtl8188EUS_linux_v5.2.2.4_25483.20171222 :

[CODE]
daniel@daniel-VirtualBox:~/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222$ make
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/4.15.0-33-generic/build M=/home/daniel/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222 modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-33-generic'
CC [M] /home/daniel/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.o
In file included from /home/daniel/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h:46:0,
from /home/daniel/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/drv_types.h:32,
from /home/daniel/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.c:22:
/home/daniel/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/daniel/Downloads/TP-Link_Driver_Linux_series7_beta/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/daniel/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service_linux.h:289:2: error: implicit declaration of function ‘init_timer’ [-Werror=implicit-function-declaration]
init_timer(ptimer);
^
In file included from /home/daniel/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/drv_types.h:32:0,
from /home/daniel/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.c:22:
/home/daniel/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h: In function ‘thread_enter’:
/home/daniel/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h:374:2: error: implicit declaration of function ‘allow_signal’ [-Werror=implicit-function-declaration]
allow_signal(SIGTERM);
^
/home/daniel/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h: In function ‘flush_signals_thread’:
/home/daniel/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h:384:6: error: implicit declaration of function ‘signal_pending’ [-Werror=implicit-function-declaration]
if (signal_pending(current))
^
/home/daniel/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h:385:3: error: implicit declaration of function ‘flush_signals’ [-Werror=implicit-function-declaration]
flush_signals(current);
^
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/home/daniel/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.o' failed
make[2]: *** [/home/daniel/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.o] Error 1
Makefile:1552: recipe for target '_module_/home/daniel/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222' failed
make[1]: *** [_module_/home/daniel/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-33-generic'
Makefile:1911: recipe for target 'modules' failed
make: *** [modules] Error 2
[/CODE]


It sucks when TP Link switched the chipset from Atheros to Realtek which does not have monitor mode capabilities for this adapter and it gives me a hard time to compile the drivers on Linux distros. Please assist me to resolve this issue. Thank you
0
0
#1
Options
1 Reply
Re:Unable to compile Linux drivers for TL-WN722N V3 on Ubuntu 16.04.3 LTS
2018-08-30 16:33:16
We would really appreciate a resolution to this problem. I'm having the same errors upon installation on Ubuntu 16.04.
0
0
#2
Options