Applying ./patches/001-use-kernel-byteorder.patch using plaintext: patching file include/drv_types.h Applying ./patches/002-vendor_command_policy.patch using plaintext: patching file os_dep/linux/rtw_cfgvendor.c Applying ./patches/003-wireless-5.8.patch using plaintext: patching file os_dep/linux/ioctl_cfg80211.c Applying ./patches/004-remove-extern-inline.patch using plaintext: patching file include/ieee80211.h Applying ./patches/005-kernel-6.1.patch using plaintext: patching file include/osdep_service_linux.h Applying ./patches/100-api_update.patch using plaintext: patching file os_dep/linux/ioctl_cfg80211.c make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/linux-6.1.40' CC [M] /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/core/rtw_cmd.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/core/rtw_security.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/core/rtw_debug.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/core/rtw_io.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/core/rtw_ioctl_query.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/core/rtw_ioctl_set.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/core/rtw_ieee80211.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/core/rtw_mlme.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/core/rtw_mlme_ext.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/core/rtw_wlan_util.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/core/rtw_vht.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/core/rtw_pwrctrl.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/core/rtw_rf.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/core/rtw_recv.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/core/rtw_sta_mgt.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/core/rtw_ap.o /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/core/rtw_sta_mgt.c: In function 'rtw_mfree_stainfo': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/core/rtw_sta_mgt.c:210:24: warning: the comparison will always evaluate as 'true' for the address of 'lock' will never be NULL [-Waddress] 210 | if(&psta->lock != NULL) | ^~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/include/drv_types.h:109, from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/core/rtw_sta_mgt.c:22: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/include/sta_info.h:95:17: note: 'lock' declared here 95 | _lock lock; | ^~~~ CC [M] /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/core/rtw_xmit.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/core/rtw_p2p.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/core/rtw_tdls.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/core/rtw_br_ext.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/core/rtw_iol.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/core/rtw_sreset.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/core/rtw_btcoex.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/core/rtw_beamforming.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/core/rtw_odm.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/core/efuse/rtw_efuse.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/os_dep/osdep_service.o /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/os_dep/osdep_service.c: In function 'rtw_change_ifname': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/os_dep/osdep_service.c:2212:28: error: passing argument 1 of '_rtw_memcpy' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] 2212 | _rtw_memcpy(pnetdev->dev_addr, padapter->eeprompriv.mac_addr, ETH_ALEN); | ~~~~~~~^~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/os_dep/osdep_service.c:811:24: note: expected 'void *' but argument is of type 'const unsigned char *' 811 | void _rtw_memcpy(void* dst, const void* src, u32 sz) | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/os_dep/osdep_service.c: In function 'rtw_random32': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/os_dep/osdep_service.c:2339:16: error: implicit declaration of function 'prandom_u32'; did you mean 'prandom_u32_max'? [-Werror=implicit-function-declaration] 2339 | return prandom_u32(); | ^~~~~~~~~~~ | prandom_u32_max cc1: all warnings being treated as errors make[5]: *** [scripts/Makefile.build:250: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/os_dep/osdep_service.o] Error 1 make[4]: *** [Makefile:2012: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596] Error 2 make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/linux-6.1.40' make[3]: *** [Makefile:58: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/rtl8812au-ct-2021-11-07-39df5596/.built] Error 2 time: package/feeds/base/rtl8812au-ct/compile#58.35#6.66#59.46