kuba-moo / mt7601u

Linux mac80211-based driver for Mediatek MT7601U USB bgn WiFi dongle
284 stars 111 forks source link

help me Make #92

Open chumoli156 opened 2 years ago

chumoli156 commented 2 years ago

┌──(root㉿kali)-[~] └─# cd Downloads/

┌──(root㉿kali)-[~/Downloads] └─# cd DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/

┌──(root㉿kali)-[~/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913] └─# make
make -C tools make[1]: Entering directory '/root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools' gcc -g bin2h.c -o bin2h make[1]: Leaving directory '/root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools' /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools/bin2h cp -f os/linux/Makefile.6 /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/Makefile make -C /lib/modules/5.16.0-kali4-amd64/build SUBDIRS=/root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux modules make[1]: Entering directory '/usr/src/linux-headers-5.16.0-kali4-amd64' /usr/src/linux-headers-5.16.0-kali4-common/Makefile:133: =============== ERROR ============== /usr/src/linux-headers-5.16.0-kali4-common/Makefile:134: 'SUBDIRS' was removed in Linux 5.3 /usr/src/linux-headers-5.16.0-kali4-common/Makefile:135: Use 'M=' or 'KBUILD_EXTMOD=' instead /usr/src/linux-headers-5.16.0-kali4-common/Makefile:136: ==================================== /usr/src/linux-headers-5.16.0-kali4-common/Makefile:137: .. Stop. make[1]: Leaving directory '/usr/src/linux-headers-5.16.0-kali4-amd64' make: [Makefile:395: LINUX] Error 2

help me please

kuba-moo commented 2 years ago

You're using the vendor driver, 5.16 kernel should come with a driver for mt7601u already there. Why not just use that?