I'm working through a guide to installing my USB WIFI dongle on my Wheezy install (http://www.cyberciti.biz/tips/linux-ins ... apter.html). I'm up to the point of compiling the drivers as per the following quote.
I've had a few problems but the following error has me stumped.Save and close the file. To compile the driver, enter:
$ make
Code: Select all
make -C tools
make[1]: Entering directory `/home/pi/2010_0709_RT2870_Linux_STA_v2.4.0.1/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/pi/2010_0709_RT2870_Linux_STA_v2.4.0.1/tools'
/home/pi/2010_0709_RT2870_Linux_STA_v2.4.0.1/tools/bin2h
cp -f os/linux/Makefile.6 /home/pi/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/Makefile
make -C /lib/modules/3.6.11+/build SUBDIRS=/home/pi/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux modules
make[1]: Entering directory `/usr/src/3.6.11'
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.
WARNING: Symbol version dump /usr/src/3.6.11/Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /home/pi/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/crypt_md5.o
In file included from <command-line>:0:0:
/usr/src/3.6.11/include/linux/kconfig.h:4:32: fatal error: generated/autoconf.h: No such file or directory
compilation terminated.
make[2]: *** [/home/pi/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/crypt_md5.o] Error 1
make[1]: *** [_module_/home/pi/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux] Error 2
make[1]: Leaving directory `/usr/src/3.6.11'
make: *** [LINUX] Error 2
Everything has been updated to the latest version.
Any help anyone can provide would be really appreciated. Thanks!