

If you tell dkms to unset these variables however, by adding the following lines to /etc/dkms/nf ahead of time, it will compile and install the nvidia module without a problem: unset MAKEFLAGS unset ARCH unset KBUILD_EXTMOD unset obj.This installs linux-headers, required to match the kernel package and dkms. The following tutorial was done after the base install.txt was completed and may not work if done while chroot’ed in arch-chroot.Other kernels have their own respective headers packages. For example, for the default linux kernel this would be linux-headers. Install the dkms package and the headers for the target kernel/kernels.sudo make -f Makefile.dkms install make clean make: Entering directory '/home/ineuw/rtl8812AU_8821AU_linux' make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-29-generic/build M=/home/ineuw/rtl8812AU_8821AU_linux clean make: Entering directory '/home/ineuw/rtl8812AU_8821AU_linux' make: *** /lib/modules/4.15.0-29-generic/build: No such file or directory.

Gianfranco Costamagna dkms (2.8.1-4ubuntu1) focal urgency=medium * Merge from Debian unstable.
