I have an RTL 8812AU chipset to use wifi via usb adapter for a rock64, on the build process i get this error in the makelog.
DKMS make.log for rtl8812au-4.3.14 for kernel 4.4.167-1213-rockchip-ayufan-g34ae07687fce (aarch64)
Sat Oct 15 20:02:53 UTC 2022
make ARCH=arm64 CROSS_COMPILE=/opt/gcc-arm64/usr/bin/aarch64-linux-gnu- -C /lib/modules/4.4.167-1213-rockchip-ayufan-g34ae07687fce/build M=/var/lib/dkms/rtl8812au/4.3.14/build modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.167-1213-rockchip-ayufan-g34ae07687fce'
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_security.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_debug.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_io.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_ioctl_query.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_ioctl_set.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_ieee80211.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_mlme.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_mlme_ext.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_wlan_util.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_vht.o
/var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_mlme_ext.c: In function 'mgt_dispatcher':
/var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_mlme_ext.c:760:2: error: 'fallthrough' undeclared (first use in this function)
fallthrough;
^~~
/var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_mlme_ext.c:760:2: note: each undeclared identifier is reported only once for each function it appears in
scripts/Makefile.build:277: recipe for target '/var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_mlme_ext.o' failed
make[2]: [/var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_mlme_ext.o] Error 1
make[2]: Waiting for unfinished jobs....
Makefile:1479: recipe for target 'module/var/lib/dkms/rtl8812au/4.3.14/build' failed
make[1]: [module/var/lib/dkms/rtl8812au/4.3.14/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.167-1213-rockchip-ayufan-g34ae07687fce'
Makefile:1623: recipe for target 'modules' failed
make: [modules] Error 2
trying to figure this out on my own but a lot of this is over my head
I have an RTL 8812AU chipset to use wifi via usb adapter for a rock64, on the build process i get this error in the makelog.
DKMS make.log for rtl8812au-4.3.14 for kernel 4.4.167-1213-rockchip-ayufan-g34ae07687fce (aarch64) Sat Oct 15 20:02:53 UTC 2022 make ARCH=arm64 CROSS_COMPILE=/opt/gcc-arm64/usr/bin/aarch64-linux-gnu- -C /lib/modules/4.4.167-1213-rockchip-ayufan-g34ae07687fce/build M=/var/lib/dkms/rtl8812au/4.3.14/build modules make[1]: Entering directory '/usr/src/linux-headers-4.4.167-1213-rockchip-ayufan-g34ae07687fce' CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_cmd.o CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_security.o CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_debug.o CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_io.o CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_ioctl_query.o CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_ioctl_set.o CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_ieee80211.o CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_mlme.o CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_mlme_ext.o CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_wlan_util.o CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_vht.o /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_mlme_ext.c: In function 'mgt_dispatcher': /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_mlme_ext.c:760:2: error: 'fallthrough' undeclared (first use in this function) fallthrough; ^
~~/var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_mlme_ext.c:760:2: note: each undeclared identifier is reported only once for each function it appears in scripts/Makefile.build:277: recipe for target '/var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_mlme_ext.o' failed make[2]: [/var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_mlme_ext.o] Error 1 make[2]: Waiting for unfinished jobs.... Makefile:1479: recipe for target 'module/var/lib/dkms/rtl8812au/4.3.14/build' failed make[1]: [module/var/lib/dkms/rtl8812au/4.3.14/build] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.4.167-1213-rockchip-ayufan-g34ae07687fce' Makefile:1623: recipe for target 'modules' failed make: [modules] Error 2trying to figure this out on my own but a lot of this is over my head