TL-WN823N : compliling the driver for Ubuntu 18.04 fails

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

TL-WN823N : compliling the driver for Ubuntu 18.04 fails

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
TL-WN823N : compliling the driver for Ubuntu 18.04 fails
TL-WN823N : compliling the driver for Ubuntu 18.04 fails
2020-02-01 14:12:00

Hello,

I'm tring to compile the driver for the mini wireless N USB adapter TL-WN823N.

The compilation fails as shown in the following.

-----------------------------------------------------------------------------------------------

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-74-generic/build M=/home/jm/TP-link/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047  modules
make[1] : on entre dans le répertoire « /usr/src/linux-headers-4.15.0-74-generic »
  CC [M]  /home/jm/TP-link/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.o
In file included from /home/jm/TP-link/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service.h:47:0,
                 from /home/jm/TP-link/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/drv_types.h:27,
                 from /home/jm/TP-link/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.c:17:
/home/jm/TP-link/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/jm/TP-link/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service_linux.h:299:8: error: ‘_timer {aka struct timer_list}’ has no member named ‘data’
  ptimer->data = (unsigned long)cntx;
        ^~
/home/jm/TP-link/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service_linux.h:300:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  init_timer(ptimer);
  ^~~~~~~~~~
  _init_timer
cc1: some warnings being treated as errors
scripts/Makefile.build:330: recipe for target '/home/jm/TP-link/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.o' failed
make[2]: *** [/home/jm/TP-link/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.o] Error 1
Makefile:1580: recipe for target '_module_/home/jm/TP-link/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047' failed
make[1]: *** [_module_/home/jm/TP-link/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047] Error 2
make[1] : on quitte le répertoire « /usr/src/linux-headers-4.15.0-74-generic »
Makefile:1828: recipe for target 'modules' failed
make: *** [modules] Error 2

-----------------------------------------------------------------------------------------------

OS : Ubuntu 18.04

Kernel version : 4.15.0

Thanks for your Help.

Best regards,

JMV;

  0      
  0      
#1
Options

Information

Helpful: 0

Views: 1322

Replies: 0

Related Articles