I'm trying to install an rtl18814
driver for an ASUS USB AC68 wifi adapter. There have been quite a few threads about this, which being ignorant I found impenetrable. But there was one thread that seemed straightforward. Following the suggestion by @SomeOne01 from this thread, I downloaded a zipfile called rtl8814au-master.zip
from this site and followed @SomeOne01's instructions. It worked seamlessly on Ubuntu 18.04, which was a first in my ubuntu experience. But unfortunately I needed the adapter on a machine running 16.04 (xenial). When I ran make
on that machine, I got the following error.
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.4.0-139-generic/build M=/usr/local/src/rtl8814au-master modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-139-generic'
CC [M] /usr/local/src/rtl8814au-master/os_dep/linux/ioctl_cfg80211.o
/usr/local/src/rtl8814au-master/os_dep/linux/ioctl_cfg80211.c: In function rtw_get_systime_us :
/usr/local/src/rtl8814au-master/os_dep/linux/ioctl_cfg80211.c:352:2: error: implicit declaration of function ktime_get_boottime_ts64’[-Werror=implicit-function-declaration]
ktime_get_boottime_ts64(&ts);
^
cc1: some warnings being treated as errors
scripts/Makefile.build:277: recipe for target '/usr/local/src/rtl8814au-master/os_dep/linux/ioctl_cfg80211.o' failed
make[2]: *** [/usr/local/src/rtl8814au-master/os_dep/linux/ioctl_cfg80211.o] Error 1
Makefile:1439: recipe for target '_module_/usr/local/src/rtl8814au-master' failed
make[1]: *** [_module_/usr/local/src/rtl8814au-master] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-139-generic'
Makefile:1699: recipe for target 'modules' failed
make: *** [modules] Error 2
Could anybody please suggest how to proceed on 16.04 xenial?
Thank you very much for any suggestions.