mt7601u-ap icon indicating copy to clipboard operation
mt7601u-ap copied to clipboard

Error when executing 'make' command

Open cstreit03 opened this issue 3 years ago • 1 comments

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?

cstreit03 avatar Jun 27 '21 18:06 cstreit03

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

techatreyo avatar Apr 04 '24 09:04 techatreyo