TL-WN881ND_2.0_LinuxDriverSetup Does not build with newer Linux version

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

TL-WN881ND_2.0_LinuxDriverSetup Does not build with newer Linux version

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
TL-WN881ND_2.0_LinuxDriverSetup Does not build with newer Linux version
TL-WN881ND_2.0_LinuxDriverSetup Does not build with newer Linux version
2020-12-09 20:45:32
Model: TL-WN881ND  
Hardware Version: V2
Firmware Version:

Instructions are for

OSUbuntu 16.04

LTSKernel version 4.13.0-36-generic

Gcc version5.4.0

 

Even for Debian Stretch, which is a few versions behind newest release, the gcc version refuses to build the source files.  This is advertised as a linux compatible device. However it really doesn't seem to be.

 

I'm running:

Linux version 4.9.0-14-amd64 (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) ) #1 SMP Debian 4.9.240-2 (2020-10-30)

 

Here is the output from make.

 

"******************************************"
"NO KSRC,we will use default KSRC"
"******************************************"
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.9.0-14-amd64/build M=/home/chris/Downloads/driver  modules
make[1]: Entering directory '/usr/src/linux-headers-4.9.0-14-amd64'
"******************************************"
"NO KSRC,we will use default KSRC"
"******************************************"
  CC [M]  /home/chris/Downloads/driver/core/rtw_cmd.o
In file included from /home/chris/Downloads/driver/include/drv_types.h:95:0,
                 from /home/chris/Downloads/driver/core/rtw_cmd.c:22:
/home/chris/Downloads/driver/include/hal_com.h:413:13: error: ‘file_path’ redeclared as different kind of symbol
 extern char file_path[PATH_LENGTH_MAX];
             ^~~~~~~~~
In file included from /usr/src/linux-headers-4.9.0-14-common/include/linux/seq_file.h:10:0,
                 from /usr/src/linux-headers-4.9.0-14-common/include/linux/pinctrl/consumer.h:17,
                 from /usr/src/linux-headers-4.9.0-14-common/include/linux/pinctrl/devinfo.h:21,
                 from /usr/src/linux-headers-4.9.0-14-common/include/linux/device.h:24,
                 from /usr/src/linux-headers-4.9.0-14-common/include/linux/dmaengine.h:20,
                 from /usr/src/linux-headers-4.9.0-14-common/include/linux/netdevice.h:38,
                 from /home/chris/Downloads/driver/include/osdep_service_linux.h:35,
                 from /home/chris/Downloads/driver/include/osdep_service.h:41,
                 from /home/chris/Downloads/driver/include/drv_types.h:32,
                 from /home/chris/Downloads/driver/core/rtw_cmd.c:22:
/usr/src/linux-headers-4.9.0-14-common/include/linux/fs.h:2741:14: note: previous declaration of ‘file_path’ was here
 extern char *file_path(struct file *, char *, int);
              ^~~~~~~~~
/usr/src/linux-headers-4.9.0-14-common/scripts/Makefile.build:309: recipe for target '/home/chris/Downloads/driver/core/rtw_cmd.o' failed
make[4]: *** [/home/chris/Downloads/driver/core/rtw_cmd.o] Error 1
/usr/src/linux-headers-4.9.0-14-common/Makefile:1560: recipe for target '_module_/home/chris/Downloads/driver' failed
make[3]: *** [_module_/home/chris/Downloads/driver] Error 2
Makefile:152: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.9.0-14-amd64'
Makefile:1696: recipe for target 'modules' failed
make: *** [modules] Error 2

 

  0      
  0      
#1
Options
1 Reply
Re:TL-WN881ND_2.0_LinuxDriverSetup Does not build with newer Linux version
2020-12-30 03:31:20

@Craig2131432 

 

Sorry to respond late.

 

The official driver of TL-WN881ND 2.0 only supports Linux kernel 2.6.24~4.1. There is no official driver for higher versions.

 

The chipset for this WN881ND 2.0 is RTL8192EE-CG, you can search for the latest driver on the third-party website such as GitHub, then try to install it on your Linux system. May not easy to install, but there should be a way.

 

As for Linux is an open-source system, we hope others in the community can shed a light on this.

Nice to Meet You in Our TP-Link Community. Check Out the Latest Posts: Connect TP-Link Archer BE550 to Germany's DS-Lite (Dual Stack Lite) Internet via WAN Archer GE550 - BE9300 Tri-Band Wi-Fi 7 Gaming Router EasyMesh Is Available When Wi-Fi Routers Work in AP Mode as A Controller. Archer AX90 New Firmware Added Support for EasyMesh and Ethernet Backhaul If you found a post or response helpful, please click Helpful (arrow pointing upward icon). If you are the author of a topic, remember to mark a helpful reply as the "Recommended Solution" (star icon) so that others can benefit from it.
  0  
  0  
#2
Options