Open ibti9 opened 3 years ago
┌──(ibti㉿ikali)-[~/mt7601u] └─$ sudo ./build.sh 1 ⨯ '/lib/modules/5.9.0-kali1-amd64/build/Module.symvers' -> 'src/os/linux/Module.symvers' make -C src/ clean make[1]: Entering directory '/home/ibti/mt7601u/src' cp -f os/linux/Makefile.clean os/linux/Makefile make -C os/linux clean make[2]: Entering directory '/home/ibti/mt7601u/src/os/linux' rm -f ../../common/.o rm -f ../../common/..cmd ..flags ..d rm -f ../../os/linux/.o .ko .mod.o .mod.c rm -f ../../os/linux/..cmd ..flags ..d rm -fr ../../os/linux/.tmp_versions rm -f ../../os/linux/Module.symvers rm -f ../../os/linux/Modules.symvers rm -f ../../os/linux/Module.markers rm -f ../../os/linux/modules.order rm -f ../../chips/.o rm -f ../../chips/..cmd ..flags ..d rm -f ../../rate_ctrl/.o rm -f ../../rate_ctrl/..cmd ..flags ..d rm -f ../../ate/common/.o rm -f ../../ate/common/..cmd ..flags ..d rm -f ../../ate/chips/.o rm -f ../../ate/chips/..cmd ..flags ..d rm -f ../../phy/.o rm -f ../../phy/..cmd ..flags ..d rm -f ../../mac/.o rm -f ../../mac/..cmd ..flags ..d rm -f ../../mcu/.o rm -f ../../mcu/..cmd ..flags ..d rm -f ../../mgmt/.o rm -f ../../mgmt/..cmd ..flags ..d rm -f ../../naf/.o rm -f ../../naf/..cmd ..flags ..d rm -f ../../sta/.o rm -f ../../sta/..cmd ..flags .*.d make[2]: Leaving directory '/home/ibti/mt7601u/src/os/linux' rm -rf os/linux/Makefile make[1]: Leaving directory '/home/ibti/mt7601u/src' make -C src/ osutil make[1]: Entering directory '/home/ibti/mt7601u/src' cp -f os/linux/Makefile.6.util /home/ibti/mt7601u/src/os/linux/Makefile make -C /lib/modules/5.9.0-kali1-amd64/build SUBDIRS=/home/ibti/mt7601u/src/os/linux modules make[2]: Entering directory '/usr/src/linux-headers-5.9.0-kali1-amd64' sh: 0: cannot open /usr/src/linux-headers-5.9.0-kali1-common/scripts/mkmakefile: No such file make[4]: [/usr/src/linux-headers-5.9.0-kali1-common/Makefile:552: outputmakefile] Error 2 /usr/src/linux-headers-5.9.0-kali1-common/Makefile:691: include/config/auto.conf.cmd: No such file or directory make[3]: [/usr/src/linux-headers-5.9.0-kali1-common/Makefile:710: include/config/auto.conf.cmd] Error 2 make[2]: [/usr/src/linux-headers-5.9.0-kali1-common/Makefile:185: __sub-make] Error 2 make[2]: Leaving directory '/usr/src/linux-headers-5.9.0-kali1-amd64' make[1]: [Makefile:509: osutil] Error 2 make[1]: Leaving directory '/home/ibti/mt7601u/src' make: *** [Makefile:2: all] Error 2 modprobe: FATAL: Module src/os/linux/mtnet7601Usta.ko not found. modprobe: FATAL: Module src/os/linux/mtutil7601Usta.ko not found. modprobe: FATAL: Module src/os/linux/mt7601Usta.ko not found.
can you guide me
┌──(ibti㉿ikali)-[~/mt7601u] └─$ sudo ./build.sh 1 ⨯ '/lib/modules/5.9.0-kali1-amd64/build/Module.symvers' -> 'src/os/linux/Module.symvers' make -C src/ clean make[1]: Entering directory '/home/ibti/mt7601u/src' cp -f os/linux/Makefile.clean os/linux/Makefile make -C os/linux clean make[2]: Entering directory '/home/ibti/mt7601u/src/os/linux' rm -f ../../common/.o rm -f ../../common/..cmd ..flags ..d rm -f ../../os/linux/.o .ko .mod.o .mod.c rm -f ../../os/linux/..cmd ..flags ..d rm -fr ../../os/linux/.tmp_versions rm -f ../../os/linux/Module.symvers rm -f ../../os/linux/Modules.symvers rm -f ../../os/linux/Module.markers rm -f ../../os/linux/modules.order rm -f ../../chips/.o rm -f ../../chips/..cmd ..flags ..d rm -f ../../rate_ctrl/.o rm -f ../../rate_ctrl/..cmd ..flags ..d rm -f ../../ate/common/.o rm -f ../../ate/common/..cmd ..flags ..d rm -f ../../ate/chips/.o rm -f ../../ate/chips/..cmd ..flags ..d rm -f ../../phy/.o rm -f ../../phy/..cmd ..flags ..d rm -f ../../mac/.o rm -f ../../mac/..cmd ..flags ..d rm -f ../../mcu/.o rm -f ../../mcu/..cmd ..flags ..d rm -f ../../mgmt/.o rm -f ../../mgmt/..cmd ..flags ..d rm -f ../../naf/.o rm -f ../../naf/..cmd ..flags ..d rm -f ../../sta/.o rm -f ../../sta/..cmd ..flags .*.d make[2]: Leaving directory '/home/ibti/mt7601u/src/os/linux' rm -rf os/linux/Makefile make[1]: Leaving directory '/home/ibti/mt7601u/src' make -C src/ osutil make[1]: Entering directory '/home/ibti/mt7601u/src' cp -f os/linux/Makefile.6.util /home/ibti/mt7601u/src/os/linux/Makefile make -C /lib/modules/5.9.0-kali1-amd64/build SUBDIRS=/home/ibti/mt7601u/src/os/linux modules make[2]: Entering directory '/usr/src/linux-headers-5.9.0-kali1-amd64' sh: 0: cannot open /usr/src/linux-headers-5.9.0-kali1-common/scripts/mkmakefile: No such file make[4]: [/usr/src/linux-headers-5.9.0-kali1-common/Makefile:552: outputmakefile] Error 2 /usr/src/linux-headers-5.9.0-kali1-common/Makefile:691: include/config/auto.conf.cmd: No such file or directory make[3]: [/usr/src/linux-headers-5.9.0-kali1-common/Makefile:710: include/config/auto.conf.cmd] Error 2 make[2]: [/usr/src/linux-headers-5.9.0-kali1-common/Makefile:185: __sub-make] Error 2 make[2]: Leaving directory '/usr/src/linux-headers-5.9.0-kali1-amd64' make[1]: [Makefile:509: osutil] Error 2 make[1]: Leaving directory '/home/ibti/mt7601u/src' make: *** [Makefile:2: all] Error 2 modprobe: FATAL: Module src/os/linux/mtnet7601Usta.ko not found. modprobe: FATAL: Module src/os/linux/mtutil7601Usta.ko not found. modprobe: FATAL: Module src/os/linux/mt7601Usta.ko not found.
can you guide me