PDA

View Full Version : TP-Link AC1300/Archer T4U Ver3



mrr0b0t
2021-07-01, 20:51
Hi,

I am trying to install TP Link AC1300 Wifi USB adapter model Archer T4U Version3 in to my Kali Linux machine i followed the guide provided with the driver from TP link download center but after typing make commend i am getting the below error, FYI:
make



<pre><font color="#5EBDAB">─</font><font color="#277FFF"><b>$</b></font> <font color="#5EBDAB">make</font>
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.10.0-kali9-amd64/build M=/home/jk/Downloads/tp/RTL8812BU modules
make[1]: Entering directory &apos;/usr/src/linux-headers-5.10.0-kali9-amd64&apos;
CC [M] /home/jk/Downloads/tp/RTL8812BU/core/rtw_cmd.o
In file included from <b>/home/jk/Downloads/tp/RTL8812BU/include/drv_conf.h:17</b>,
from <b>/home/jk/Downloads/tp/RTL8812BU/include/drv_types.h:25</b>,
from <b>/home/jk/Downloads/tp/RTL8812BU/core/rtw_cmd.c:17</b>:
<b>/home/jk/Downloads/tp/RTL8812BU/include/autoconf.h:183:</b> <font color="#962AC3"><b>warning: </b></font>&quot;CONFIG_RTW_SW_LED&quot; redefined
183 | #define CONFIG_RTW_SW_LED
|
<b>&lt;command-line&gt;:</b> <font color="#05A1F7"><b>note: </b></font>this is the location of the previous definition
In file included from <b>/home/jk/Downloads/tp/RTL8812BU/include/drv_types.h:79</b>,
from <b>/home/jk/Downloads/tp/RTL8812BU/core/rtw_cmd.c:17</b>:
<b>/home/jk/Downloads/tp/RTL8812BU/include/rtw_security.h:257:8:</b> <font color="#EC0101"><b>error: </b></font>redefinition of ?<b>struct sha256_state</b>?
257 | struct <font color="#EC0101"><b>sha256_state</b></font> {
| <font color="#EC0101"><b>^~~~~~~~~~~~</b></font>
In file included from <b>/usr/src/linux-headers-5.10.0-kali9-common/include/linux/filter.h:24</b>,
from <b>/usr/src/linux-headers-5.10.0-kali9-common/include/net/sock.h:59</b>,
from <b>/usr/src/linux-headers-5.10.0-kali9-common/include/linux/tcp.h:19</b>,
from <b>/usr/src/linux-headers-5.10.0-kali9-common/include/linux/ipv6.h:87</b>,
from <b>/usr/src/linux-headers-5.10.0-kali9-common/include/net/addrconf.h:50</b>,
from <b>/home/jk/Downloads/tp/RTL8812BU/include/osdep_service_linux.h:48</b>,
from <b>/home/jk/Downloads/tp/RTL8812BU/include/osdep_service.h:50</b>,
from <b>/home/jk/Downloads/tp/RTL8812BU/include/drv_types.h:27</b>,
from <b>/home/jk/Downloads/tp/RTL8812BU/core/rtw_cmd.c:17</b>:
<b>/usr/src/linux-headers-5.10.0-kali9-common/include/crypto/sha.h:84:8:</b> <font color="#05A1F7"><b>note: </b></font>originally defined here
84 | struct <font color="#05A1F7"><b>sha256_state</b></font> {
| <font color="#05A1F7"><b>^~~~~~~~~~~~</b></font>
make[3]: *** [/usr/src/linux-headers-5.10.0-kali9-common/scripts/Makefile.build:284: /home/jk/Downloads/tp/RTL8812BU/core/rtw_cmd.o] Error 1
make[2]: *** [/usr/src/linux-headers-5.10.0-kali9-common/Makefile:1845: /home/jk/Downloads/tp/RTL8812BU] Error 2
make[1]: *** [/usr/src/linux-headers-5.10.0-kali9-common/Makefile:185: __sub-make] Error 2
make[1]: Leaving directory &apos;/usr</pre>


sorry i tried to post the output as code but firewall was blocking me so i post is as a HTML.

Please let me know what should i do thank in advance.