I'm getting build errors on the latest kernel (5.6.3-arch1-1):
[eddy@corsair ~]$ grep "rror" /var/lib/dkms/rtl88x2bu/5.6.1.r30.20fba52/build/make.log
/var/lib/dkms/rtl88x2bu/5.6.1.r30.20fba52/build/os_dep/linux/ioctl_cfg80211.c:692:18: error: storage size of 'ts' isn't known
/var/lib/dkms/rtl88x2bu/5.6.1.r30.20fba52/build/os_dep/linux/ioctl_cfg80211.c:693:2: error: implicit declaration of function 'getboottime'; did you mean 'getboottime64'? [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:268: /var/lib/dkms/rtl88x2bu/5.6.1.r30.20fba52/build/os_dep/linux/ioctl_cfg80211.o] Error 1
/var/lib/dkms/rtl88x2bu/5.6.1.r30.20fba52/build/os_dep/linux/rtw_proc.c:70:71:
error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:267: /var/lib/dkms/rtl88x2bu/5.6.1.r30.20fba52/build/os_dep/linux/rtw_proc.o] Error 1
make[1]: *** [Makefile:1683: /var/lib/dkms/rtl88x2bu/5.6.1.r30.20fba52/build] Error 2
make: *** [Makefile:2245: modules] Error 2
Pinned Comments
RinCat commented on 2020-09-20 23:29 (UTC)
If you encountered any problems, set debug log use
echo 5 > /proc/net/rtl88x2bu/log_level
ormodprobe 88x2bu rtw_drv_log_level=5
, and post your dmesg and network managers logs to https://pastebin.com/ .