Archer T4U v1 Linux Driver install failure
This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Archer T4U v1 Linux Driver install failure
Model :
Hardware Version : Not Clear
Firmware Version :
ISP :
I am trying to setup an Archer T4U in Ubuntu 14.04 kernel 3.19.0-28-generic with the driver on the downloads site:
Archer_T4U_V1_150821.zip
After unzipping the folder was renamed from "Archer T4U_V1_150821" to "T4U_V1_150821" to remove spaces. Then the following commands were run:
user@vb:~/Downloads/T4U_V1_150821$ sudo make clean
[sudo] password for user:
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
cd hal/OUTSRC/ ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd hal/OUTSRC/ ; 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
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd platform ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm -fr .tmp_versions
user@vb:~/Downloads/T4U_V1_150821$ sudo make
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
----- extra_cflags=-DCONFIG_IOCTL_CFG80211=1 -DRTW_USE_CFG80211_STA_EVENT=1 -O1 -Wno-unused-variable -Wno-unused-value -Wno-unused-label -Wno-unused-parameter -Wno-unused-function -Wno-unused -I/include -I/platform -DCONFIG_RTL8812A -DCONFIG_MP_INCLUDED -DCONFIG_POWER_SAVING -DCONFIG_TRAFFIC_PROTECT -DCONFIG_LOAD_PHY_PARA_FROM_FILE -DREALTEK_CONFIG_PATH="" -DCONFIG_RTW_ADAPTIVITY_EN=0 -DCONFIG_RTW_ADAPTIVITY_MODE=0 -DCONFIG_BR_EXT '-DCONFIG_BR_EXT_BRNAME=br0' -DCONFIG_LITTLE_ENDIAN
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.19.0-28-generic/build M=/home/user/Downloads/T4U_V1_150821 modules
make[1]: Entering directory '/usr/src/linux-headers-3.19.0-28-generic'
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
CC [M] /home/user/Downloads/T4U_V1_150821/core/rtw_cmd.o
CC [M] /home/user/Downloads/T4U_V1_150821/core/rtw_security.o
CC [M] /home/user/Downloads/T4U_V1_150821/core/rtw_debug.o
/home/user/Downloads/T4U_V1_150821/core/rtw_debug.c: In function ‘dump_drv_version’:
/home/user/Downloads/T4U_V1_150821/core/rtw_debug.c:70:64: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
DBG_871X_SEL_NL(sel, "build time: %s %s\n", __DATE__, __TIME__);
^
/home/user/Downloads/T4U_V1_150821/core/rtw_debug.c:70:1: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
DBG_871X_SEL_NL(sel, "build time: %s %s\n", __DATE__, __TIME__);
^
/home/user/Downloads/T4U_V1_150821/core/rtw_debug.c:70:1: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
/home/user/Downloads/T4U_V1_150821/core/rtw_debug.c:70:1: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
/home/user/Downloads/T4U_V1_150821/core/rtw_debug.c:70:1: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
/home/user/Downloads/T4U_V1_150821/core/rtw_debug.c:70:1: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
cc1: some warnings being treated as errors
scripts/Makefile.build:257: recipe for target '/home/user/Downloads/T4U_V1_150821/core/rtw_debug.o' failed
make[2]: *** [/home/user/Downloads/T4U_V1_150821/core/rtw_debug.o] Error 1
Makefile:1395: recipe for target '_module_/home/user/Downloads/T4U_V1_150821' failed
make[1]: *** [_module_/home/user/Downloads/T4U_V1_150821] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.19.0-28-generic'
Makefile:1635: recipe for target 'modules' failed
make: *** [modules] Error 2
The device is recognised by the system as follows:
user@vb:~$ lsusb -v
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 3
bMaxPacketSize0 9
idVendor 0x1d6b Linux Foundation
idProduct 0x0003 3.0 root hub
bcdDevice 3.19
iManufacturer 3
iProduct 2
iSerial 1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 31
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
bMaxBurst 0
Can anyone identify why /home/user/Downloads/T4U_V1_150821/core/rtw_cmd.o cannot be created?
Hardware Version : Not Clear
Firmware Version :
ISP :
I am trying to setup an Archer T4U in Ubuntu 14.04 kernel 3.19.0-28-generic with the driver on the downloads site:
Archer_T4U_V1_150821.zip
After unzipping the folder was renamed from "Archer T4U_V1_150821" to "T4U_V1_150821" to remove spaces. Then the following commands were run:
user@vb:~/Downloads/T4U_V1_150821$ sudo make clean
[sudo] password for user:
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
cd hal/OUTSRC/ ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd hal/OUTSRC/ ; 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
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd platform ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm -fr .tmp_versions
user@vb:~/Downloads/T4U_V1_150821$ sudo make
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
----- extra_cflags=-DCONFIG_IOCTL_CFG80211=1 -DRTW_USE_CFG80211_STA_EVENT=1 -O1 -Wno-unused-variable -Wno-unused-value -Wno-unused-label -Wno-unused-parameter -Wno-unused-function -Wno-unused -I/include -I/platform -DCONFIG_RTL8812A -DCONFIG_MP_INCLUDED -DCONFIG_POWER_SAVING -DCONFIG_TRAFFIC_PROTECT -DCONFIG_LOAD_PHY_PARA_FROM_FILE -DREALTEK_CONFIG_PATH="" -DCONFIG_RTW_ADAPTIVITY_EN=0 -DCONFIG_RTW_ADAPTIVITY_MODE=0 -DCONFIG_BR_EXT '-DCONFIG_BR_EXT_BRNAME=br0' -DCONFIG_LITTLE_ENDIAN
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.19.0-28-generic/build M=/home/user/Downloads/T4U_V1_150821 modules
make[1]: Entering directory '/usr/src/linux-headers-3.19.0-28-generic'
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
CC [M] /home/user/Downloads/T4U_V1_150821/core/rtw_cmd.o
CC [M] /home/user/Downloads/T4U_V1_150821/core/rtw_security.o
CC [M] /home/user/Downloads/T4U_V1_150821/core/rtw_debug.o
/home/user/Downloads/T4U_V1_150821/core/rtw_debug.c: In function ‘dump_drv_version’:
/home/user/Downloads/T4U_V1_150821/core/rtw_debug.c:70:64: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
DBG_871X_SEL_NL(sel, "build time: %s %s\n", __DATE__, __TIME__);
^
/home/user/Downloads/T4U_V1_150821/core/rtw_debug.c:70:1: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
DBG_871X_SEL_NL(sel, "build time: %s %s\n", __DATE__, __TIME__);
^
/home/user/Downloads/T4U_V1_150821/core/rtw_debug.c:70:1: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
/home/user/Downloads/T4U_V1_150821/core/rtw_debug.c:70:1: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
/home/user/Downloads/T4U_V1_150821/core/rtw_debug.c:70:1: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
/home/user/Downloads/T4U_V1_150821/core/rtw_debug.c:70:1: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
cc1: some warnings being treated as errors
scripts/Makefile.build:257: recipe for target '/home/user/Downloads/T4U_V1_150821/core/rtw_debug.o' failed
make[2]: *** [/home/user/Downloads/T4U_V1_150821/core/rtw_debug.o] Error 1
Makefile:1395: recipe for target '_module_/home/user/Downloads/T4U_V1_150821' failed
make[1]: *** [_module_/home/user/Downloads/T4U_V1_150821] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.19.0-28-generic'
Makefile:1635: recipe for target 'modules' failed
make: *** [modules] Error 2
The device is recognised by the system as follows:
user@vb:~$ lsusb -v
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 3
bMaxPacketSize0 9
idVendor 0x1d6b Linux Foundation
idProduct 0x0003 3.0 root hub
bcdDevice 3.19
iManufacturer 3
iProduct 2
iSerial 1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 31
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
bMaxBurst 0
Can anyone identify why /home/user/Downloads/T4U_V1_150821/core/rtw_cmd.o cannot be created?