I'm trying to compile the kernel from source on the Raspberry Pi, so I fetched it from [email protected]:raspberrypi/linux.git, and I'm using the stable branch (rpi-3.6.y).
I did the following:
git clone [email protected]:raspberrypi/linux.git
cd linux
make mrproper
zcat /proc/config.gz > .config
make oldconfig
make menuconfig
make
And during the build process I'm getting the following errors:
CC [M] net/ipv4/netfilter/ipt_ECN.o
net/ipv4/netfilter/ipt_ECN.c:20:42: fatal error: linux/netfilter_ipv4/ipt_ECN.h: No such file or directory
compilation terminated.
make[3]: *** [net/ipv4/netfilter/ipt_ECN.o] Error 1
make[2]: *** [net/ipv4/netfilter] Error 2
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2
I'm using Raspbian GNU/Linux 7 (Linux raspberrypi 3.6.11+ #545 PREEMPT) and GCC version 4.6.3 (Debian 4.6.3-14+rpi1).