rtl8812au
rtl8812au copied to clipboard
make error
OS:
PVE 6.2-10
$ uname -a
Linux dragon 5.4.44-2-pve #1 SMP PVE 5.4.44-2 (Wed, 01 Jul 2020 16:37:57 +0200) x86_64 GNU/Linux
$ cat /etc/debian_version
10.5
$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.4.44-2-pve/build M=/usr/src/8812au-4.2.3 modules
make[1]: Entering directory '/usr/lib/modules/5.4.44-2-pve/build'
make[1]: *** No rule to make target 'modules'. Stop.
make[1]: Leaving directory '/usr/lib/modules/5.4.44-2-pve/build'
make: *** [Makefile:1068: modules] Error 2
This issue is very common:
- Last message in https://github.com/gnab/rtl8812au/issues/3
- Self-diagnosed in https://github.com/gnab/rtl8812au/issues/25
- Another issue from @OPSTime https://github.com/gnab/rtl8812au/issues/197
- Solved but not closed issue https://github.com/gnab/rtl8812au/issues/129
- Another solved but not closed issue https://github.com/gnab/rtl8812au/issues/76
- And another one https://github.com/gnab/rtl8812au/issues/58
- Same issue, but not clear solution https://github.com/gnab/rtl8812au/issues/112
On buster (Debian 10) one should have kernel version 4.19.0-10-amd64 and have this packages installed
$ apt list --installed | grep headers
linux-headers-4.19.0-10-amd64/stable,now 4.19.132-1 amd64 [installed,automatic]
linux-headers-4.19.0-10-common/stable,now 4.19.132-1 all [installed,automatic]
linux-headers-4.19.0-9-amd64/stable,stable,now 4.19.118-2+deb10u1 amd64 [installed,automatic]
linux-headers-4.19.0-9-common/stable,stable,now 4.19.118-2+deb10u1 all [installed,automatic]
linux-headers-amd64/stable,now 4.19+105+deb10u5 amd64 [installed,automatic]
Check with your package manager for appropriate version for you with apt search linux-headers.