Hello all, I just wanted to reach out and ask if anybody is experiencing the same issues I am.
I've installed Rasbian (2013-02-09-wheezy-raspbian.img) and that went fine.
I've cloned the the source from https://github.com/raspberrypi/linux.git, and that worked out as well.
I ran the following commands (on the Raspberry Pi) to initiate a build of a kernel in the source directory as root
# make mrproper
# zcat /proc/config.gz > .config
# make ARCH=arm oldconfig
# make ARCH=arm menuconfig
# make ARCH=arm
Everything works great until it starts trying to compile the netfilter.
I get this error:
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
Obviously there is no such file in the listed directory.
I know the kernel headers are not packaged with Rasbian.
So, whats my next step? Any suggestions on how to over come and complete this compile?
I've had other issues with netfilter before. A broader questions would be, whats the deal with Rasbian and netfilter?
Any links, suggestions or ideas would be appreciated.
Thanks.
Re: Kernel 3.6.11 and Netfilter Issues while compiling
Got the same problem here.
Any solutions or help?
Thanks.
Any solutions or help?
Thanks.
Re: Kernel 3.6.11 and Netfilter Issues while compiling
Same problem too.
What's weird is that I see no image file like zImage or Image in my arch/arm/boot after I finish this instruction:
All I have are:
Then I type and get stuck for nights.
What's weird is that I see no image file like zImage or Image in my arch/arm/boot after I finish this instruction:
Code: Select all
make ARCH=arm CROSS_COMPILE=${CCPREFIX}
Code: Select all
loon@ubuntu:~/Downloads/linux-rpi-3.6.y/arch/arm/boot$ ls
bootp compressed dts install.sh Makefile
Code: Select all
make ARCH=arm CROSS_COMPILE=${CCPREFIX} modules
-
- Posts: 151
- Joined: Wed Dec 19, 2012 7:32 pm
- Location: Planet Gaia
- Contact: Website Yahoo Messenger
Re: Kernel 3.6.11 and Netfilter Issues while compiling
shure ... myself use 3.8.y source.liudeen wrote:Got the same problem here.
Any solutions or help?
Thanks.
but either 3.6.y shuold work .
mysself compile kernels direct on the PI . No crosscompile..
Take longer ~22h but who cares

see at :
- elinux.org/RPi_Kernel_Compilation
- http://www.raspberrypi.org/phpBB3/viewt ... 87&t=40664
please be shure use the Right GIT TAG
-
- Posts: 151
- Joined: Wed Dec 19, 2012 7:32 pm
- Location: Planet Gaia
- Contact: Website Yahoo Messenger
Re: Kernel 3.6.11 and Netfilter Issues while compiling
I do on my PI ( NO Crosscompile) :koyabr wrote:Same problem too.
[/code]
Then I typeand get stuck for nights.Code: Select all
make ARCH=arm CROSS_COMPILE=${CCPREFIX} modules
cd /usr/src/linux
make oldconfig
nohup make \
CPPFLAGS="-Ofast -mfpu=vfp -march=armv6zk -mtune=arm1176jzf-s" \
CFLAGS="-Ofast -mfpu=vfp -march=armv6zk -mtune=arm1176jzf-s" \
dep zImage modules &
Re: Kernel 3.6.11 and Netfilter Issues while compiling
@remsnet:
Thank you for the help. I finally figured out what''s going wrong: should not have downloaded the one big ZIP archive from Github, use instead. Now I can see the Image and zImage files in my arch/arm/boot. 
Thank you for the help. I finally figured out what''s going wrong: should not have downloaded the one big ZIP archive from Github, use
Code: Select all
git clone
