Anthony96922 / mt7601u-ap

AP driver for MT7601U dongles
GNU General Public License v2.0
117 stars 49 forks source link

Error when executing 'make' command #29

Open cstreit03 opened 3 years ago

cstreit03 commented 3 years ago

I'm trying to set this up on my Raspberry Pi 4b with my Ralink mt7601u adapter. I can already connect to the internet from the adapter, but I want to use AP mode. Here is where it messes up:

pi@raspberrypi:~/Software/mt7601u-ap$ sudo make
make[1]: Entering directory '/home/pi/Software/mt7601u-ap/tools'
make[1]: Leaving directory '/home/pi/Software/mt7601u-ap/tools'
/home/pi/Software/mt7601u-ap/tools/bin2h
make -C /lib/modules/5.11.0-1012-raspi/build M=/home/pi/Software/mt7601u-ap/os/linux modules
make[1]: Entering directory '/usr/src/linux-headers-5.11.0-1012-raspi'

  ERROR: Kernel configuration is invalid.
         include/generated/autoconf.h or include/config/auto.conf are missing.
         Run 'make oldconfig && make prepare' on kernel src to fix it.

make[1]: *** [Makefile:745: include/config/auto.conf] Error 1
make[1]: Leaving directory '/usr/src/linux-headers-5.11.0-1012-raspi'
make: *** [Makefile:73: LINUX] Error 2

Any solution/ideas?

techatreyo commented 7 months ago

I am on v5.10.1466 | unable to compile with same error , do you found anything ... !?