I too am getting the same error: make[3]: *** No rule to make target 'scripts/module.lds', needed by '/var/lib/dkms/rtl88x2bu/git/build/88x2bu.ko'. Stop., while trying to install wireless drivers for (1) RTL88x2BU and (2) RTL8192EU for Kernel 5.10 RC6 on Ubuntu MATE 20.10 (1) Error and "make.log" for RTL88x2BU: Building module fails on Kernel 5.10 RC6 in Ubuntu MATE Groovy 20.10 with the following error message: ```` root@um:/usr/src/rtl88x2bu-git# sed -i 's/PACKAGE_VERSION="@PKGVER@"/PACKAGE_VERSION="git"/g' /usr/src/rtl88x2bu-git/dkms.conf root@um:/usr/src/rtl88x2bu-git# dkms add -m rtl88x2bu -v git Creating symlink /var/lib/dkms/rtl88x2bu/git/source -> /usr/src/rtl88x2bu-git DKMS: add completed. root@um:/usr/src/rtl88x2bu-git# dkms autoinstall Kernel preparation unnecessary for this kernel. Skipping... Building module: cleaning build area... 'make' -j12 KVER=5.10.0-051000rc6-generic KSRC=/lib/modules/5.10.0-051000rc6-generic/build..............(bad exit status: 2) Error! Bad return status for module build on kernel: 5.10.0-051000rc6-generic (x86_64) Consult /var/lib/dkms/rtl88x2bu/git/build/make.log for more information. root@um:/usr/src/rtl88x2bu-git# ```` /var/lib/dkms/rtl88x2bu/git/build/make.log ```` DKMS make.log for rtl88x2bu-git for kernel 5.10.0-051000rc6-generic (x86_64) make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.10.0-051000rc6-generic/build M=/var/lib/dkms/rtl88x2bu/git/build modules make[1]: Entering directory '/usr/src/linux-headers-5.10.0-051000rc6-generic' CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_cmd.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_security.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_debug.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_io.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_ioctl_query.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_ioctl_set.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_ieee80211.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_mlme.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_mlme_ext.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_mi.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_wlan_util.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_vht.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_pwrctrl.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_rf.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_chplan.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_recv.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_sta_mgt.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_ap.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/mesh/rtw_mesh.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/mesh/rtw_mesh_pathtbl.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/mesh/rtw_mesh_hwmp.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_xmit.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_p2p.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_rson.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_tdls.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_br_ext.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_iol.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_sreset.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_btcoex_wifionly.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_btcoex.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_beamforming.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_odm.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_rm.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_rm_fsm.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_rm_util.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/efuse/rtw_efuse.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/os_dep/osdep_service.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/os_intfs.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/usb_intf.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/usb_ops_linux.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/ioctl_linux.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/xmit_linux.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/mlme_linux.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/recv_linux.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/ioctl_cfg80211.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/rtw_cfgvendor.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/wifi_regd.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/rtw_android.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/rtw_proc.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/rtw_rhashtable.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/ioctl_mp.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/hal_intf.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/hal_com.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/hal_com_phycfg.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/hal_phy.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/hal_dm.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/hal_dm_acs.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/hal_btcoex_wifionly.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/hal_btcoex.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/hal_mp.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/hal_mcc.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/hal_hci/hal_usb.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/led/hal_led.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/led/hal_usb_led.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/rtl8822b/rtl8822b_halinit.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/rtl8822b/rtl8822b_mac.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/rtl8822b/rtl8822b_cmd.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/rtl8822b/rtl8822b_phy.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/rtl8822b/rtl8822b_ops.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/rtl8822b/hal8822b_fw.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/rtl8822b/usb/rtl8822bu_halinit.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/rtl8822b/usb/rtl8822bu_halmac.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/rtl8822b/usb/rtl8822bu_io.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/rtl8822b/usb/rtl8822bu_xmit.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/rtl8822b/usb/rtl8822bu_recv.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/rtl8822b/usb/rtl8822bu_led.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/rtl8822b/usb/rtl8822bu_ops.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/efuse/rtl8822b/HalEfuseMask8822B_USB.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/hal_halmac.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/halmac/halmac_api.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/halmac/halmac_dbg.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/halmac/halmac_88xx/halmac_bb_rf_88xx.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/halmac/halmac_88xx/halmac_cfg_wmac_88xx.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/halmac/halmac_88xx/halmac_common_88xx.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/halmac/halmac_88xx/halmac_efuse_88xx.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/halmac/halmac_88xx/halmac_flash_88xx.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/halmac/halmac_88xx/halmac_fw_88xx.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/halmac/halmac_88xx/halmac_gpio_88xx.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/halmac/halmac_88xx/halmac_init_88xx.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/halmac/halmac_88xx/halmac_mimo_88xx.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/halmac/halmac_88xx/halmac_usb_88xx.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/halmac/halmac_88xx/halmac_8822b/halmac_cfg_wmac_8822b.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/halmac/halmac_88xx/halmac_8822b/halmac_common_8822b.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/halmac/halmac_88xx/halmac_8822b/halmac_gpio_8822b.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/halmac/halmac_88xx/halmac_8822b/halmac_init_8822b.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/halmac/halmac_88xx/halmac_8822b/halmac_phy_8822b.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/halmac/halmac_88xx/halmac_8822b/halmac_pwr_seq_8822b.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/halmac/halmac_88xx/halmac_8822b/halmac_usb_8822b.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_debug.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_antdiv.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_soml.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_smt_ant.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_antdect.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_interface.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_phystatus.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_hwconfig.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_dig.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_pathdiv.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_rainfo.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_dynamictxpower.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_adaptivity.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_cfotracking.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_noisemonitor.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_beamforming.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_direct_bf.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_dfs.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/txbf/halcomtxbf.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/txbf/haltxbfinterface.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/txbf/phydm_hal_txbf_api.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_adc_sampling.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_ccx.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_psd.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_primary_cca.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_cck_pd.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_rssi_monitor.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_auto_dbg.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_math_lib.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_api.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_pow_train.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_lna_sat.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_pmac_tx_setting.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_mp.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/phydm_cck_rx_pathdiv.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/halrf/halrf.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/halrf/halrf_debug.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/halrf/halphyrf_ce.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/halrf/halrf_powertracking_ce.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/halrf/halrf_powertracking.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/halrf/halrf_kfree.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/halrf/halrf_psd.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/rtl8822b/halhwimg8822b_bb.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/rtl8822b/halhwimg8822b_mac.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/halrf/rtl8822b/halrf_8822b.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/rtl8822b/phydm_hal_api8822b.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/halrf/rtl8822b/halhwimg8822b_rf.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/halrf/rtl8822b/halrf_iqk_8822b.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/halrf/rtl8822b/halrf_rfk_init_8822b.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/rtl8822b/phydm_regconfig8822b.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/rtl8822b/phydm_rtl8822b.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/phydm/txbf/haltxbf8822b.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/btc/halbtc8822bwifionly.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/btc/halbtc8822b1ant.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/hal/btc/halbtc8822b2ant.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/platform/platform_ops.o CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_mp.o LD [M] /var/lib/dkms/rtl88x2bu/git/build/88x2bu.o MODPOST /var/lib/dkms/rtl88x2bu/git/build/Module.symvers make[3]: *** No rule to make target 'scripts/module.lds', needed by '/var/lib/dkms/rtl88x2bu/git/build/88x2bu.ko'. Stop. make[3]: *** Waiting for unfinished jobs.... CC [M] /var/lib/dkms/rtl88x2bu/git/build/88x2bu.mod.o make[2]: *** [scripts/Makefile.modpost:117: __modpost] Error 2 make[1]: *** [Makefile:1701: modules] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.10.0-051000rc6-generic' make: *** [Makefile:2378: modules] Error 2 ```` Make and model of the wireless adapter: TP-Link Archer T3U dual-band USB wireless adapter.