While following the instructions in this thread RTL8812AU Usb adapter driver issues I run across the following:
root@nathan-desk:/usr/src/rtl8812au-4.2.2# dkms build -m rtl8812au -v 4.2.2
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
'make' all KVER=4.15.0-20-generic...(bad exit status: 2)
ERROR (dkms apport): binary package for rtl8812au: 4.2.2 not found
Error! Bad return status for module build on kernel: 4.15.0-20-generic (x86_64)
It seems to be an issue with the kernel. What should I do?