Wifi driver not properly making package

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.15.48-1-MANJARO/build M=/home/*/rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20200205-5960  modules
make[1]: *** /lib/modules/5.15.48-1-MANJARO/build: No such file or directory.  Stop.
make: *** [Makefile:2016: modules] Error 2

when trying to install dkms modules after getting the linux headers properly working I came across this problem:

==> dkms install --no-depmod rtl88x2bu/5.13.1.r163.9983008 -k 5.15.48-1-MANJARO
==> depmod 5.15.48-1-MANJARO
==> ERROR: Missing 4.19.248-1-MANJARO kernel modules tree for module rtl88x2bu/5.13.1.r163.9983008.

Problem fixed after tinkering with some stuff, do I actually need the 4.0 kernel for it to work?

Kernel 5.13 is EOL. Use another one like 5.15 and don’t forget to install the headers.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.