rtl8814au
rtl8814au copied to clipboard
Make failing on Kernel 5.14.9-arch2-1
pkg > rtl8814au > v5.8.5.1 $ make 331µs
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.14.9-arch2-1/build M=/home/mark/pkg/rtl8814au modules
make[1]: Entering directory '/usr/lib/modules/5.14.9-arch2-1/build'
CC [M] /home/mark/pkg/rtl8814au/core/rtw_cmd.o
CC [M] /home/mark/pkg/rtl8814au/core/rtw_security.o
CC [M] /home/mark/pkg/rtl8814au/core/rtw_debug.o
CC [M] /home/mark/pkg/rtl8814au/core/rtw_io.o
CC [M] /home/mark/pkg/rtl8814au/core/rtw_ioctl_query.o
CC [M] /home/mark/pkg/rtl8814au/core/rtw_ioctl_set.o
CC [M] /home/mark/pkg/rtl8814au/core/rtw_ieee80211.o
CC [M] /home/mark/pkg/rtl8814au/core/rtw_mlme.o
/home/mark/pkg/rtl8814au/core/rtw_mlme.c: In function ‘rtw_drv_scan_by_self’:
/home/mark/pkg/rtl8814au/core/rtw_mlme.c:3130:17: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
3130 | else
| ^~~~
/home/mark/pkg/rtl8814au/core/rtw_mlme.c:3133:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
3133 | goto exit;
| ^~~~
CC [M] /home/mark/pkg/rtl8814au/core/rtw_mlme_ext.o
CC [M] /home/mark/pkg/rtl8814au/core/rtw_mi.o
CC [M] /home/mark/pkg/rtl8814au/core/rtw_wlan_util.o
CC [M] /home/mark/pkg/rtl8814au/core/rtw_vht.o
CC [M] /home/mark/pkg/rtl8814au/core/rtw_pwrctrl.o
CC [M] /home/mark/pkg/rtl8814au/core/rtw_rf.o
CC [M] /home/mark/pkg/rtl8814au/core/rtw_chplan.o
CC [M] /home/mark/pkg/rtl8814au/core/rtw_recv.o
/home/mark/pkg/rtl8814au/core/rtw_recv.c: In function ‘validate_mp_recv_frame’:
/home/mark/pkg/rtl8814au/core/rtw_recv.c:3575:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
3575 | for (i = 0; i < precv_frame->u.hdr.len; i = i + 8)
| ^~~
In file included from /home/mark/pkg/rtl8814au/include/drv_types.h:60,
from /home/mark/pkg/rtl8814au/core/rtw_recv.c:17:
/home/mark/pkg/rtl8814au/include/rtw_debug.h:52:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
52 | #define RTW_INFO(x,...) do {} while (0)
| ^~
/home/mark/pkg/rtl8814au/core/rtw_recv.c:3578:33: note: in expansion of macro ‘RTW_INFO’
3578 | RTW_INFO("#############################\n");
| ^~~~~~~~
CC [M] /home/mark/pkg/rtl8814au/core/rtw_sta_mgt.o
CC [M] /home/mark/pkg/rtl8814au/core/rtw_ap.o
CC [M] /home/mark/pkg/rtl8814au/core/mesh/rtw_mesh.o
CC [M] /home/mark/pkg/rtl8814au/core/mesh/rtw_mesh_pathtbl.o
CC [M] /home/mark/pkg/rtl8814au/core/mesh/rtw_mesh_hwmp.o
CC [M] /home/mark/pkg/rtl8814au/core/rtw_xmit.o
CC [M] /home/mark/pkg/rtl8814au/core/rtw_p2p.o
CC [M] /home/mark/pkg/rtl8814au/core/rtw_rson.o
CC [M] /home/mark/pkg/rtl8814au/core/rtw_tdls.o
CC [M] /home/mark/pkg/rtl8814au/core/rtw_br_ext.o
CC [M] /home/mark/pkg/rtl8814au/core/rtw_iol.o
CC [M] /home/mark/pkg/rtl8814au/core/rtw_sreset.o
CC [M] /home/mark/pkg/rtl8814au/core/rtw_btcoex_wifionly.o
CC [M] /home/mark/pkg/rtl8814au/core/rtw_btcoex.o
CC [M] /home/mark/pkg/rtl8814au/core/rtw_beamforming.o
CC [M] /home/mark/pkg/rtl8814au/core/rtw_odm.o
CC [M] /home/mark/pkg/rtl8814au/core/rtw_rm.o
CC [M] /home/mark/pkg/rtl8814au/core/rtw_rm_fsm.o
CC [M] /home/mark/pkg/rtl8814au/core/rtw_rm_util.o
CC [M] /home/mark/pkg/rtl8814au/core/efuse/rtw_efuse.o
/home/mark/pkg/rtl8814au/core/efuse/rtw_efuse.c: In function ‘rtw_efuse_analyze’:
/home/mark/pkg/rtl8814au/core/efuse/rtw_efuse.c:905:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
905 | if (i % 16 == 0)
| ^~
In file included from /home/mark/pkg/rtl8814au/include/drv_types.h:60,
from /home/mark/pkg/rtl8814au/core/efuse/rtw_efuse.c:17:
/home/mark/pkg/rtl8814au/include/rtw_debug.h:231:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
231 | do {\
| ^~
/home/mark/pkg/rtl8814au/core/efuse/rtw_efuse.c:907:25: note: in expansion of macro ‘_RTW_PRINT_SEL’
907 | _RTW_PRINT_SEL(RTW_DBGDUMP, "%02X%s"
| ^~~~~~~~~~~~~~
CC [M] /home/mark/pkg/rtl8814au/os_dep/osdep_service.o
CC [M] /home/mark/pkg/rtl8814au/os_dep/linux/os_intfs.o
CC [M] /home/mark/pkg/rtl8814au/os_dep/linux/usb_intf.o
CC [M] /home/mark/pkg/rtl8814au/os_dep/linux/usb_ops_linux.o
CC [M] /home/mark/pkg/rtl8814au/os_dep/linux/ioctl_linux.o
CC [M] /home/mark/pkg/rtl8814au/os_dep/linux/xmit_linux.o
CC [M] /home/mark/pkg/rtl8814au/os_dep/linux/mlme_linux.o
CC [M] /home/mark/pkg/rtl8814au/os_dep/linux/recv_linux.o
/home/mark/pkg/rtl8814au/os_dep/linux/recv_linux.c: In function ‘napi_recv’:
/home/mark/pkg/rtl8814au/os_dep/linux/recv_linux.c:358:76: error: ‘GRO_DROP’ undeclared (first use in this function)
358 | if (rtw_napi_gro_receive(&padapter->napi, pskb) != GRO_DROP)
| ^~~~~~~~
/home/mark/pkg/rtl8814au/os_dep/linux/recv_linux.c:358:76: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [scripts/Makefile.build:271: /home/mark/pkg/rtl8814au/os_dep/linux/recv_linux.o] Error 1
make[1]: *** [Makefile:1858: /home/mark/pkg/rtl8814au] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.14.9-arch2-1/build'
make: *** [Makefile:2353: modules] Error 2
Try this patch: https://www.krauttranslate.de/~sauerland/Patches/rtl8814au-kernel5.12.patch https://www.krauttranslate.de/~sauerland/Patches/rtl8814au-kernel5.15.patch
@Sauerlandlinux thanks for the response and the suggestion. After hitting the bug, I checked out a few of the open PRs and ended up building the fork from https://github.com/aircrack-ng/rtl8814au/pull/73 which worked perfectly for me.
Cheers.
Had same issue on 5.15.3-arch1-1
.
Thank you @Sauerlandlinux , patch worked.