Building module:
Cleaning build area...
'make' -j8 KVER=5.10.110-rockchip-rk3588 KSRC=/lib/modules/5.10.110-rockchip-rk3588/build.........(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.10.110-rockchip-rk3588 (aarch64)
Consult /var/lib/dkms/rtl88x2bu/git/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
cury@gnome-opi5 ~/D/RTL88x2BU-Linux-Driver (master) [11]>
cury@gnome-opi5 ~/D/RTL88x2BU-Linux-Driver (master)> cat /var/lib/dkms/rtl88x2bu/git/build/make.log
DKMS make.log for rtl88x2bu-git for kernel 5.10.110-rockchip-rk3588 (aarch64)
qui 16 fev 2023 06:14:52 -03
make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/5.10.110-rockchip-rk3588/build M=/var/lib/dkms/rtl88x2bu/git/build modules
make[1]: Entrando no diretório '/usr/lib/modules/5.10.110-rockchip-rk3588/build'
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_security.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_debug.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_io.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_ioctl_set.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_ieee80211.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_ioctl_query.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_mlme.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_mlme_ext.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_mi.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_wlan_util.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_vht.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_pwrctrl.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_rf.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_chplan.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/monitor/rtw_radiotap.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_recv.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_sta_mgt.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_ap.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/wds/rtw_wds.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/mesh/rtw_mesh.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/mesh/rtw_mesh_pathtbl.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/mesh/rtw_mesh_hwmp.o
/var/lib/dkms/rtl88x2bu/git/build/core/rtw_sta_mgt.c: In function 'rtw_mfree_stainfo':
/var/lib/dkms/rtl88x2bu/git/build/core/rtw_sta_mgt.c:391:27: warning: the comparison will always evaluate as 'true' for the address of 'lock' will never be NULL [-Waddress]
error, forbidden warning:rtw_sta_mgt.c:391
391 | if (&(psta->lock) != NULL)
| ^~
In file included from /var/lib/dkms/rtl88x2bu/git/build/include/drv_types.h:112,
from /var/lib/dkms/rtl88x2bu/git/build/core/rtw_sta_mgt.c:17:
/var/lib/dkms/rtl88x2bu/git/build/include/sta_info.h:267:17: note: 'lock' declared here
267 | _lock lock;
| ^~~~
make[2]: [scripts/Makefile.build:273: /var/lib/dkms/rtl88x2bu/git/build/core/rtw_sta_mgt.o] Error 1
make[2]: Apagando arquivo '/var/lib/dkms/rtl88x2bu/git/build/core/rtw_sta_mgt.o'
make[2]: Esperando que outros processos terminem.
make[1]: [Makefile:1920: /var/lib/dkms/rtl88x2bu/git/build] Error 2
make[1]: Saindo do diretório '/usr/lib/modules/5.10.110-rockchip-rk3588/build'
The dongle is: Bus 001 Device 005: ID 0bda:b812 Realtek Semiconductor Corp. RTL88x2bu [AC1200 Techkey]
Installed packages: dkms bc base-devel
I dont know if something is missing.
I just followed install commands:
git clone "https://github.com/RinCat/RTL88x2BU-Linux-Driver.git" /usr/src/rtl88x2bu-git sed -i 's/PACKAGE_VERSION="@PKGVER@"/PACKAGE_VERSION="git"/g' /usr/src/rtl88x2bu-git/dkms.conf dkms add -m rtl88x2bu -v git dkms autoinstall
And I get the following error messages:
``cury@gnome-opi5 ~/D/RTL88x2BU-Linux-Driver (master) [1]> sudo dkms add -m rtl88x2bu -v git Creating symlink /var/lib/dkms/rtl88x2bu/git/source -> /usr/src/rtl88x2bu-git cury@gnome-opi5 ~/D/RTL88x2BU-Linux-Driver (master)> sudo dkms autoinstall Sign command: /usr/lib/modules/5.10.110-rockchip-rk3588/build/scripts/sign-file Binary /usr/lib/modules/5.10.110-rockchip-rk3588/build/scripts/sign-file not found, modules won't be signed
Building module: Cleaning build area... 'make' -j8 KVER=5.10.110-rockchip-rk3588 KSRC=/lib/modules/5.10.110-rockchip-rk3588/build.........(bad exit status: 2) Error! Bad return status for module build on kernel: 5.10.110-rockchip-rk3588 (aarch64) Consult /var/lib/dkms/rtl88x2bu/git/build/make.log for more information. Error! One or more modules failed to install during autoinstall. Refer to previous errors for more information. cury@gnome-opi5 ~/D/RTL88x2BU-Linux-Driver (master) [11]>
cury@gnome-opi5 ~/D/RTL88x2BU-Linux-Driver (master)> cat /var/lib/dkms/rtl88x2bu/git/build/make.log DKMS make.log for rtl88x2bu-git for kernel 5.10.110-rockchip-rk3588 (aarch64) qui 16 fev 2023 06:14:52 -03 make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/5.10.110-rockchip-rk3588/build M=/var/lib/dkms/rtl88x2bu/git/build modules make[1]: Entrando no diretório '/usr/lib/modules/5.10.110-rockchip-rk3588/build'
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_cmd.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_security.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_debug.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_io.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_ioctl_set.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_ieee80211.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_ioctl_query.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_mlme.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_mlme_ext.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_mi.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_wlan_util.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_vht.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_pwrctrl.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_rf.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_chplan.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/monitor/rtw_radiotap.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_recv.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_sta_mgt.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_ap.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/wds/rtw_wds.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/mesh/rtw_mesh.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/mesh/rtw_mesh_pathtbl.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/mesh/rtw_mesh_hwmp.o /var/lib/dkms/rtl88x2bu/git/build/core/rtw_sta_mgt.c: In function 'rtw_mfree_stainfo': /var/lib/dkms/rtl88x2bu/git/build/core/rtw_sta_mgt.c:391:27: warning: the comparison will always evaluate as 'true' for the address of 'lock' will never be NULL [-Waddress] error, forbidden warning:rtw_sta_mgt.c:391 391 | if (&(psta->lock) != NULL) | ^~ In file included from /var/lib/dkms/rtl88x2bu/git/build/include/drv_types.h:112, from /var/lib/dkms/rtl88x2bu/git/build/core/rtw_sta_mgt.c:17: /var/lib/dkms/rtl88x2bu/git/build/include/sta_info.h:267:17: note: 'lock' declared here 267 | _lock lock; | ^~~~ make[2]: [scripts/Makefile.build:273: /var/lib/dkms/rtl88x2bu/git/build/core/rtw_sta_mgt.o] Error 1 make[2]: Apagando arquivo '/var/lib/dkms/rtl88x2bu/git/build/core/rtw_sta_mgt.o' make[2]: Esperando que outros processos terminem. make[1]: [Makefile:1920: /var/lib/dkms/rtl88x2bu/git/build] Error 2 make[1]: Saindo do diretório '/usr/lib/modules/5.10.110-rockchip-rk3588/build'
make: *** [Makefile:2455: modules] Error 2 cury@gnome-opi5 ~/D/RTL88x2BU-Linux-Driver (master)> ``