Iptables and linux-libc-headers-2.6.11

2005-03-27 Thread Nicolai Hess
I suppose you are using linux-libc-headers-2.6.11.0. There is an error in ...linux/netfiler_ipv4/ip_nat.h They define struct ip_nat_multi_range and #define ip_nat_multi_range ip_nat_multi_range_compat in linux-libc-headers-2.6.11.1 they define struct ip_nat_multi_range_compat

Re: Iptables and linux-libc-headers-2.6.11

2005-03-15 Thread Andrew Benton
Stef Bon wrote: rm /usr/src/linux should be rm -rf /usr/src/linux mkdir -p /usr/src/linux/include ln -sf ../../../include/asm /usr/src/linux/include/asm ln -sf ../../../include/linux /usr/src/linux/include/linux The directories /usr/src/linux/include/asm and /usr/src/linux/include/linux now are poi

Re: Iptables and linux-libc-headers-2.6.11

2005-03-15 Thread Stef Bon
Andrew Benton wrote: > Stef Bon wrote: >> Well a solution is to make a directory /usr/src/linux/include, >> which is a real directory, not a symlink to somewhere. >> >> Now put in here the symbolic links asm and linux which are pointing to >> /usr/linux/include/asm and /usr/linux/include/linux (

Re: Iptables and linux-libc-headers-2.6.11

2005-03-15 Thread Andrew Benton
Stef Bon wrote: Andrew Benton wrote: Stef Bon wrote: Well a solution is to make a directory /usr/src/linux/include, which is a real directory, not a symlink to somewhere. Now put in here the symbolic links asm and linux which are pointing to /usr/linux/include/asm and /usr/linux/include/linux (in

Re: Iptables and linux-libc-headers-2.6.11

2005-03-15 Thread Stef Bon
Andrew Benton wrote: > Stef Bon wrote: >> Well a solution is to make a directory /usr/src/linux/include, >> which is a real directory, not a symlink to somewhere. >> >> Now put in here the symbolic links asm and linux which are pointing to >> /usr/linux/include/asm and /usr/linux/include/linux (

Re: Iptables and linux-libc-headers-2.6.11

2005-03-15 Thread Andrew Benton
Randy McMurchy wrote: Andrew Benton wrote these words on 03/14/05 17:10 CST: Well, just to answer myself, I took the dirty route and untarred the kernel sources in /usr/src/linux and now it builds fine. User space applications shouldn't need to build against the raw kernel sources. Does anyone kno

Re: Iptables and linux-libc-headers-2.6.11

2005-03-15 Thread Andrew Benton
Stef Bon wrote: Well a solution is to make a directory /usr/src/linux/include, which is a real directory, not a symlink to somewhere. Now put in here the symbolic links asm and linux which are pointing to /usr/linux/include/asm and /usr/linux/include/linux (in that order). /usr/linux ? You've los

Re: Iptables and linux-libc-headers-2.6.11

2005-03-15 Thread Stef Bon
Andrew Benton wrote: > Andrew Benton wrote: >> Uh-oh, it's that time again. New kernel headers, new breakage. It seems >> that iptables has issues with the new kernel headers. Anybody else >> seeing this? >> >> cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ >> -DIPTABLES_VERSION=\"1.3.

Re: Iptables and linux-libc-headers-2.6.11

2005-03-15 Thread Andrew Benton
Jim Gifford wrote: just add the following to you makefiles KERNEL_DIR=/usr that will fix the issue. No it didn't. That was the first thing I tried and it didn't work -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the

Re: Iptables and linux-libc-headers-2.6.11

2005-03-14 Thread Jim Gifford
Andrew Benton wrote: Uh-oh, it's that time again. New kernel headers, new breakage. It seems that iptables has issues with the new kernel headers. Anybody else seeing this? cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.1\" -D_UNKNOWN_KERNEL_POINTER_SIZE -fP

Re: Iptables and linux-libc-headers-2.6.11

2005-03-14 Thread Randy McMurchy
Andrew Benton wrote these words on 03/14/05 17:10 CST: > Well, just to answer myself, I took the dirty route and untarred the > kernel sources in /usr/src/linux and now it builds fine. User space > applications shouldn't need to build against the raw kernel sources. > Does anyone know a cleaner so

Re: Iptables and linux-libc-headers-2.6.11

2005-03-14 Thread alupu
Andrew Benton wrote: > I took the dirty route and untarred the kernel sources in /usr/src/linux and > now it builds fine. > User space applications shouldn't need to build against the raw kernel > sources. My tuppence here: Forget about “user space applications”. Pretend that you have to abide (

Re: Iptables and linux-libc-headers-2.6.11

2005-03-14 Thread Andrew Benton
Andrew Benton wrote: Uh-oh, it's that time again. New kernel headers, new breakage. It seems that iptables has issues with the new kernel headers. Anybody else seeing this? cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.1\" -D_UNKNOWN_KERNEL_POINTER_SIZE -fP

Iptables and linux-libc-headers-2.6.11

2005-03-14 Thread Andrew Benton
Uh-oh, it's that time again. New kernel headers, new breakage. It seems that iptables has issues with the new kernel headers. Anybody else seeing this? cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.1\" -D_UNKNOWN_KERNEL_POINTER_SIZE -fPIC -o extensions/libi