Closed tiancovici closed 9 years ago
Totally rookie mistake, On the following step:
uname -r
wget https://github.com/raspberrypi/linux/archive/rpi-3.12.y.tar.gz tar xfvz rpi-3.12.y.tar.gz mv linux-rpi-3.12.y linux
I had a 3.18.. version yet I wget the 3.12 version, I didn't realize I should've done
wget https://github.com/raspberrypi/linux/archive/rpi-3.18.y.tar.gz tar xfvz rpi-3.18.y.tar.gz mv linux-rpi-3.18.y linux
It's a consistent problem and I'm not sure what I'm missing
CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h make[1]: 'include/generated/mach-types.h' is up to date. CALL scripts/checksyscalls.sh CHK include/generated/compile.h CHK kernel/config_data.h CC drivers/cpufreq/bcm2835-cpufreq.o drivers/cpufreq/bcm2835-cpufreq.c:29:23: fatal error: mach/vcio.h: No such file or directory compilation terminated. scripts/Makefile.build:308: recipe for target 'drivers/cpufreq/bcm2835-cpufreq.o' failed make[2]: * [drivers/cpufreq/bcm2835-cpufreq.o] Error 1 scripts/Makefile.build:455: recipe for target 'drivers/cpufreq' failed make[1]: * [drivers/cpufreq] Error 2 Makefile:797: recipe for target 'drivers' failed make: *\ [drivers] Error 2
currently doing this in sudo -s and it's located in home/pi/linux or ~/linux