aircrack-ng / rtl8814au

Realtek rtl8814au driver
Other
430 stars 130 forks source link

Kali Linux installation fails #83

Open Bugatti000 opened 3 years ago

Bugatti000 commented 3 years ago

When i try to install the it, it always fails: make dkms_install mkdir -p /usr/src/8814au-5.8.5.1 cp -r * /usr/src/8814au-5.8.5.1 dkms add -m 8814au -v 5.8.5.1 Creating symlink /var/lib/dkms/8814au/5.8.5.1/source -> /usr/src/8814au-5.8.5.1 dkms build -m 8814au -v 5.8.5.1

Kernel preparation unnecessary for this kernel. Skipping...

Building module: cleaning build area... 'make' -j16 KVER=5.14.0-kali4-amd64 KSRC=/lib/modules/5.14.0-kali4-amd64/build....(bad exit status: 2) Error! Bad return status for module build on kernel: 5.14.0-kali4-amd64 (x86_64) Consult /var/lib/dkms/8814au/5.8.5.1/build/make.log for more information. make: *** [Makefile:2410: dkms_install] Error 10

realFlowControl commented 3 years ago

Hey there :vulcan_salute:,

what does the /var/lib/dkms/8814au/5.8.5.1/build/make.log file look like? You should see the actual error in there.

Kind regards Florian

ghost commented 2 years ago

have same issue Error! Bad return status for module build on kernel: 5.13.0-22-generic (x86_64) Consult /var/lib/dkms/8814au/5.8.5.1/build/make.log for more information. make: *** [Makefile:2410: dkms_install] Error 10

DKMS make.log for 8814au-5.8.5.1 for kernel 5.13.0-22-generic (x86_64) Sa 11 Dez 2021 23:59:05 EET make[1]: Entering directory '/var/lib/dkms/8814au/5.8.5.1/build' make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.13.0-22-generic/build M=/var/lib/dkms/8814au/5.8.5.1/build modules make[2]: Entering directory '/usr/src/linux-headers-5.13.0-22-generic' CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_cmd.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_security.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_debug.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_io.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_ioctl_query.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_ioctl_set.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_ieee80211.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_mlme.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_mlme_ext.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_mi.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_wlan_util.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_vht.o /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_mlme.c: In function ‘rtw_drv_scan_by_self’: /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_mlme.c:3130:17: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 3130 | else | ^~~~ /var/lib/dkms/8814au/5.8.5.1/build/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] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_pwrctrl.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_rf.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_chplan.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_recv.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_sta_mgt.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_ap.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/mesh/rtw_mesh.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/mesh/rtw_mesh_pathtbl.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/mesh/rtw_mesh_hwmp.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_xmit.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_p2p.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_rson.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_tdls.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_br_ext.o /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_recv.c: In function ‘validate_mp_recv_frame’: /var/lib/dkms/8814au/5.8.5.1/build/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 /var/lib/dkms/8814au/5.8.5.1/build/include/drv_types.h:60, from /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_recv.c:17: /var/lib/dkms/8814au/5.8.5.1/build/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) | ^~ /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_recv.c:3578:33: note: in expansion of macro ‘RTW_INFO’ 3578 | RTW_INFO("#############################\n"); | ^~~~~~~~ CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_iol.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_sreset.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_btcoex_wifionly.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_btcoex.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_beamforming.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_odm.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_rm.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_rm_fsm.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/rtw_rm_util.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/core/efuse/rtw_efuse.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/os_dep/osdep_service.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/os_dep/linux/os_intfs.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/os_dep/linux/usb_intf.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/os_dep/linux/usb_ops_linux.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/os_dep/linux/ioctl_linux.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/os_dep/linux/xmit_linux.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/os_dep/linux/mlme_linux.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/os_dep/linux/recv_linux.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/os_dep/linux/ioctl_cfg80211.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/os_dep/linux/rtw_cfgvendor.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/os_dep/linux/wifi_regd.o /var/lib/dkms/8814au/5.8.5.1/build/core/efuse/rtw_efuse.c: In function ‘rtw_efuse_analyze’: /var/lib/dkms/8814au/5.8.5.1/build/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 /var/lib/dkms/8814au/5.8.5.1/build/include/drv_types.h:60, from /var/lib/dkms/8814au/5.8.5.1/build/core/efuse/rtw_efuse.c:17: /var/lib/dkms/8814au/5.8.5.1/build/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 {\ | ^~ /var/lib/dkms/8814au/5.8.5.1/build/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] /var/lib/dkms/8814au/5.8.5.1/build/os_dep/linux/rtw_android.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/os_dep/linux/rtw_proc.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/os_dep/linux/rtw_rhashtable.o CC [M] /var/lib/dkms/8814au/5.8.5.1/build/os_dep/linux/ioctl_mp.o /var/lib/dkms/8814au/5.8.5.1/build/os_dep/linux/recv_linux.c: In function ‘napi_recv’: /var/lib/dkms/8814au/5.8.5.1/build/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) | ^~~~~~~~ /var/lib/dkms/8814au/5.8.5.1/build/os_dep/linux/recv_linux.c:358:76: note: each undeclared identifier is reported only once for each function it appears in CC [M] /var/lib/dkms/8814au/5.8.5.1/build/hal/hal_intf.o make[3]: *** [scripts/Makefile.build:282: /var/lib/dkms/8814au/5.8.5.1/build/os_dep/linux/recv_linux.o] Error 1 make[3]: *** Waiting for unfinished jobs.... /var/lib/dkms/8814au/5.8.5.1/build/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_ch_switch_notify’: /var/lib/dkms/8814au/5.8.5.1/build/os_dep/linux/ioctl_cfg80211.c:472:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 472 | if (!rtw_cfg80211_allow_ch_switch_notify(adapter)) | ^~ /var/lib/dkms/8814au/5.8.5.1/build/os_dep/linux/ioctl_cfg80211.c:474:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 474 | cfg80211_ch_switch_notify(adapter->pnetdev, &chdef); | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:1879: /var/lib/dkms/8814au/5.8.5.1/build] Error 2 make[2]: Leaving directory '/usr/src/linux-headers-5.13.0-22-generic' make[1]: *** [Makefile:2353: modules] Error 2 make[1]: Leaving directory '/var/lib/dkms/8814au/5.8.5.1/build'

Bugatti000 commented 2 years ago
Hey,i already solved the Problem some time ago due to a thread. It was very easy and worked.Bye Gesendet von Mail für Windows Von: Florian EngelhardtGesendet: Montag, 29. November 2021 08:47An: aircrack-ng/rtl8814auCc: Bugatti000; AuthorBetreff: Re: [aircrack-ng/rtl8814au] Kali Linux installation fails (Issue #83) Hey there 🖖,what does the /var/lib/dkms/8814au/5.8.5.1/build/make.log file look like?You should see the actual error in there.Kind regardsFlorian—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.