Linux makefile for Archer T9UH does not complete successfully

Linux makefile for Archer T9UH does not complete successfully
Linux makefile for Archer T9UH does not complete successfully
2019-05-10 01:40:01 - last edited 2019-05-11 20:40:57
Model: Archer T9UH
Hardware Version: V2
Firmware Version: ?

We are told to install gcc, but it's installed by default in Linux Mint, and, I suspect, most distributions.

 

The instructions tell us to make clean, so I executed it in the same directory as the driver. As you can see, it had three errors, all trying to cd to a non-existent directory. Maybe I can ignore those errors.

 

In the make, it is stated "please install libelf-dev, libelf-devel or elfutils-libelf-devel." I installed the first and ran it again, but the errors remained the same: there is no hal_ic_cfg.h in include, so it's game over. Clearly no one at TP-Link actually tested these instructions.

 

If someone knows how to successfully compile it, please let me know. This was my first TP-Link product and it will be my last unless I can get it to work.

 

 

mysystem ~/Downloads/archerT9UH/linux-driver $ ls
clean  hal        include  Makefile  wlan0dhcp
core   ifcfg-wlan0  Kconfig  runwpa    wpa_0_8.conf
mysystem ~/Downloads/archerT9UH/linux-driver $ make clean
cd hal/phydm/ ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd hal/phydm/ ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/led ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko
cd hal ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
/bin/sh: 1: cd: can't cd to os_dep/linux
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
/bin/sh: 1: cd: can't cd to os_dep
cd platform ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
/bin/sh: 1: cd: can't cd to platform
rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm -fr .tmp_versions
mysystem ~/Downloads/archerT9UH/linux-driver $ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-48-generic/build M=/home/me/Downloads/archerT9UH/linux-driver  modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-48-generic'
Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
  CC [M]  /home/me/Downloads/archerT9UH/linux-driver/core/rtw_cmd.o
In file included from /home/me/Downloads/archerT9UH/linux-driver/include/drv_types.h:30:0,
                 from /home/me/Downloads/archerT9UH/linux-driver/core/rtw_cmd.c:22:
/home/me/Downloads/archerT9UH/linux-driver/include/drv_conf.h:23:24: fatal error: hal_ic_cfg.h: No such file or directory
compilation terminated.
scripts/Makefile.build:330: recipe for target '/home/me/Downloads/archerT9UH/linux-driver/core/rtw_cmd.o' failed
make[2]: *** [/home/me/Downloads/archerT9UH/linux-driver/core/rtw_cmd.o] Error 1
Makefile:1552: recipe for target '_module_/home/me/Downloads/archerT9UH/linux-driver' failed
make[1]: *** [_module_/home/me/Downloads/archerT9UH/linux-driver] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-48-generic'
Makefile:1699: recipe for target 'modules' failed
make: *** [modules] Error 2

0
0
#1
Options
3 Replies
Re:Linux makefile for Archer T9UH does not complete successfully
2019-05-13 16:27:04

@pccobbler 

 

It looks like the driver will not work with the OS distribution. Given the variety of distros we can not guarentee it will work with every OS. 

 

There was a user in the global forum that posted their experience, and how they were able to get it working.

 

Here is a link: https://community.tp-link.com/en/home/stories/detail/323.

0
0
#2
Options
Re:Re:Linux makefile for Archer T9UH does not complete successfully
2019-05-14 21:37:43

Linux Mint is a spin of Ubuntu, the most widely-used distribution. If TP-Link cannot take the time to port to Ubuntu, then it should state on its support website in large letters, "NOT SUPPORTED ON LINUX!"

 

The least you could have done was supply the name of the chipset for the T9UH so I could save a few steps. I won't be wasting any more time or money on TP-Link products.

0
0
#3
Options
Re:Re:Re:Linux makefile for Archer T9UH does not complete successfully
2019-06-07 00:56:51

@pccobbler 

 

All of our adapters that support Linux have it listed on their product page and the drivers for linux list what kernel it will work with.  

0
0
#4
Options