Anthony96922 / mt7601u-ap

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

make errors on kernel 6.6.13 xanmod #41

Open KSMaan45 opened 10 months ago

KSMaan45 commented 10 months ago

[maan@mxh81 mt7601u-ap]$ make make -C /lib/modules/6.6.13-x64v3-xanmod1/build M=/home/maan/mt7601u-ap/os/linux modules make[1]: Entering directory '/usr/src/linux-headers-6.6.13-x64v3-xanmod1' warning: the compiler differs from the one used to build the kernel The kernel was built by: gcc-13 (Debian 13.2.0-9) 13.2.0 You are using: gcc (GCC) 13.2.1 20230801 CC [M] /home/maan/mt7601u-ap/os/linux/../../os/linux/rt_profile.o In file included from : ././include/linux/kconfig.h:5:10: fatal error: generated/autoconf.h: No such file or directory 5 | #include <generated/autoconf.h> | ^~~~~~ compilation terminated. make[3]: [scripts/Makefile.build:243: /home/maan/mt7601u-ap/os/linux/../../os/linux/rt_profile.o] Error 1 make[2]: [/usr/src/linux-headers-6.6.13-x64v3-xanmod1/Makefile:2068: /home/maan/mt7601u-ap/os/linux] Error 2 make[1]: [Makefile:234: __sub-make] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-6.6.13-x64v3-xanmod1' make: [Makefile:73: LINUX] Error 2