Can confirm, I have the same issue. As a temporary fix (I couldnt find where CONFIG_COMPAT was defined in the 4.4 lts xenial kernel in 16.04.1), I added the following to the very top of /usr/src/rtl8812au-4.3.8.12175.20140902+dfsg/os_dep/linux/rtw_android.c :
``` # Note: This not a correct general purpose solution but for building on amd64 16.04.2 it works fine. #ifdef CONFIG_COMPAT #undef CONFIG_COMPAT #endif ``` This allowed me to build the driver on amd64 16.04.2, followed by the following: ``` sudo dkms remove -m rtl8812au/4.3.8.12175.20140902+dfsg --all sudo dkms install -m rtl8812au -v 4.3.8.12175.20140902+dfsg sudo modprobe -r 8812au sudo modprobe 8812au # unplug/replug the usb device sudo systemctl restart NetworkManager ``` The driver will now work with the 4.8 HWE kernel on 16.04.2 and so far the networking in general seems far more stable than with the xenial kernel. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1637059 Title: rtl8812au-dkms 4.3.8.12175.20140902+dfsg-0ubuntu2: rtl8812au kernel module failed to build [error: implicit declaration of function ‘is_compat_task’] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rtl8812au/+bug/1637059/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs