I'm trying to get this ASUS USB-AC56 adapter installed on Ubuntu 17.10. I have upgraded from Ubuntu 17.04. The Driver bundle from Github as well as proprietary drivers that came with the device are not working. Errors encountered during make are appended below.
^~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:302: recipe for target '/home/unispirited/DR_USB_AC56_4314_Linux/RTL8812AU_linux_v4.3.13_14061.20150505/driver/rtl8812AU_linux_v4.3.13_14061.20150505/core/rtw_cmd.o' failed
make[2]: *** [/home/unispirited/DR_USB_AC56_4314_Linux/RTL8812AU_linux_v4.3.13_14061.20150505/driver/rtl8812AU_linux_v4.3.13_14061.20150505/core/rtw_cmd.o] Error 1
Makefile:1546: recipe for target '_module_/home/unispirited/DR_USB_AC56_4314_Linux/RTL8812AU_linux_v4.3.13_14061.20150505/driver/rtl8812AU_linux_v4.3.13_14061.20150505' failed
make[1]: *** [_module_/home/unispirited/DR_USB_AC56_4314_Linux/RTL8812AU_linux_v4.3.13_14061.20150505/driver/rtl8812AU_linux_v4.3.13_14061.20150505] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.13.0-16-generic'
Makefile:1622: recipe for target 'modules' failed
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################
On the Github driver make and sudo make install works but
sudo modprobe 8812au gives
modprobe: ERROR: could not insert '8812au': Exec format error
please help in getting the Wifi Adapter to work.