svpcom / rtl8812au

Patched rtl88xxau drivers for wfb-ng
https://github.com/svpcom/wfb-ng
GNU General Public License v2.0
103 stars 64 forks source link

Driver failed to build on kernel 5.10.16(rk3588). #23

Closed cjkzwe closed 1 year ago

cjkzwe commented 1 year ago

make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/5.10.160-rockchip/build M=/var/lib/dkms/rtl8812au/5.2.20.2/build O="" modules make[1]: Entering directory '/usr/src/linux-headers-5.10.160-rockchip' CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_cmd.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_security.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_debug.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_io.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_ioctl_query.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_ioctl_set.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_ieee80211.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_mlme.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_mlme_ext.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_mi.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_wlan_util.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_vht.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_pwrctrl.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_rf.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_recv.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_sta_mgt.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_ap.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_xmit.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_p2p.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_rson.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_tdls.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_br_ext.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_iol.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_sreset.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_btcoex_wifionly.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_btcoex.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_beamforming.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_odm.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/efuse/rtw_efuse.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/os_dep/osdep_service.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/os_dep/linux/os_intfs.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/os_dep/linux/usb_intf.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/os_dep/linux/usb_ops_linux.o CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/os_dep/linux/ioctl_linux.o /var/lib/dkms/rtl8812au/5.2.20.2/build/core/efuse/rtw_efuse.c: In function 'rtw_efuse_analyze': /var/lib/dkms/rtl8812au/5.2.20.2/build/core/efuse/rtw_efuse.c:714:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] error, forbidden warning:rtw_efuse.c:714 714 | if (i % 16 == 0) | ^~ In file included from /var/lib/dkms/rtl8812au/5.2.20.2/build/include/drv_types.h:60, from /var/lib/dkms/rtl8812au/5.2.20.2/build/core/efuse/rtw_efuse.c:17: /var/lib/dkms/rtl8812au/5.2.20.2/build/include/rtw_debug.h:292:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 292 | do {\ | ^~ /var/lib/dkms/rtl8812au/5.2.20.2/build/core/efuse/rtw_efuse.c:716:25: note: in expansion of macro '_RTW_PRINT_SEL' 716 | _RTW_PRINT_SEL(RTW_DBGDUMP, "%02X%s" | ^~~~~~ make[2]: [scripts/Makefile.build:273: /var/lib/dkms/rtl8812au/5.2.20.2/build/core/efuse/rtw_efuse.o] Error 1 make[2]: Deleting file '/var/lib/dkms/rtl8812au/5.2.20.2/build/core/efuse/rtw_efuse.o' make[2]: Waiting for unfinished jobs.... make[1]: [Makefile:1935: /var/lib/dkms/rtl8812au/5.2.20.2/build] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.10.160-rockchip' make: *** [Makefile:1593: modules] Error 2