All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: netfilter digest, Vol 1 #1942 - 8 msgs
       [not found] <20040706214011.26343.22595.Mailman@vishnu.netfilter.org>
@ 2004-07-07  7:13 ` Tomasz Czapiewski
  2004-07-07  7:22   ` Alexander Samad
  0 siblings, 1 reply; 2+ messages in thread
From: Tomasz Czapiewski @ 2004-07-07  7:13 UTC (permalink / raw)
  To: netfilter

I've got exactly the same problem with Mandrake Cooker 2.6.7-rc3,
2.6.7-1 and 2.6.7-2 kernels.
I've tried both iptables 1.2.10 and 1.2.11 - the problem stil exists.
I get binary iptables 1.2.10 compiled on debian with 2.6.7 kernel and it
works, but I still can't use 'nat' (SNAT/DNAT/MASQUERADE).

Can someone point me how to get rid of this (using the same kernel) - or
give me any patch for that to even vanilla kernel 2.6.7?

--
xeros


> --__--__--
>
> Message: 6
> Reply-To: "Eric Poulin" <epoulin@onepost.net>
> From: "Eric Poulin" <epoulin@onepost.net>
> To: <netfilter@lists.netfilter.org>
> Subject: Problem compiling Iptables 1.2.11 on Kernel 2.6.7
> Date: Tue, 6 Jul 2004 15:28:53 -0400
>
> Hello Guys,
>
> Any people succesfully compiled iptables 1.2.11 on 2.6.7?  Oddly, even
> without applying any patch-o-matics packages, I'm getting the following
> error while doing the make:
>
> # make BINDIR=/sbin KERNEL_DIR=/usr/src/linux
> Making dependencies: please wait...
> Extensions found: IPv4:ROUTE IPv4:recent IPv6:ROUTE IPv6:ah IPv6:esp
> IPv6:frag IPv6:ipv6header IPv6:hbh IPv6:dst IPv6:rt
> gcc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSIO
> N=\"1.2.11\"  -fPIC -o extensions/libipt_ah_sh.o -c extensions/libipt_ah.c
> In file included from include/libiptc/libiptc.h:6,
>                  from include/iptables.h:5,
>                  from extensions/libipt_ah.c:8:
> /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:255: warning: no
> semicolon at end of struct or union
> /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:255: error: syntax
> error before '*' token
> /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:259: error: syntax
> error before '}' token
> /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:339: warning: type
> defaults to `int' in declaration of `DECLARE_MUTEX'
> /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:339: warning:
> parameter names (without types) in function declaration
> /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:339: warning:
> `DECLARE_MUTEX' declared `static' but never defined
> make: *** [extensions/libipt_ah_sh.o] Error 1
>
>
> I'm getting this with a vanilla source code of the kernel and iptables. I
> was getting those with the patch-o-matic installed, but I wanted to narrow
> it down. Kernel can compile easily those modules that are coming from
> iptables 1.2.9.
>
> Any idea?
>
> Eric


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: netfilter digest, Vol 1 #1942 - 8 msgs
  2004-07-07  7:13 ` netfilter digest, Vol 1 #1942 - 8 msgs Tomasz Czapiewski
@ 2004-07-07  7:22   ` Alexander Samad
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Samad @ 2004-07-07  7:22 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 2817 bytes --]

Have a look in the netfilter-dev mailist there is a patch to fix this

sorry can't remember of the top of my head!

Alex

On Wed, Jul 07, 2004 at 09:13:20AM +0200, Tomasz Czapiewski wrote:
> I've got exactly the same problem with Mandrake Cooker 2.6.7-rc3,
> 2.6.7-1 and 2.6.7-2 kernels.
> I've tried both iptables 1.2.10 and 1.2.11 - the problem stil exists.
> I get binary iptables 1.2.10 compiled on debian with 2.6.7 kernel and it
> works, but I still can't use 'nat' (SNAT/DNAT/MASQUERADE).
> 
> Can someone point me how to get rid of this (using the same kernel) - or
> give me any patch for that to even vanilla kernel 2.6.7?
> 
> --
> xeros
> 
> 
> > --__--__--
> >
> > Message: 6
> > Reply-To: "Eric Poulin" <epoulin@onepost.net>
> > From: "Eric Poulin" <epoulin@onepost.net>
> > To: <netfilter@lists.netfilter.org>
> > Subject: Problem compiling Iptables 1.2.11 on Kernel 2.6.7
> > Date: Tue, 6 Jul 2004 15:28:53 -0400
> >
> > Hello Guys,
> >
> > Any people succesfully compiled iptables 1.2.11 on 2.6.7?  Oddly, even
> > without applying any patch-o-matics packages, I'm getting the following
> > error while doing the make:
> >
> > # make BINDIR=/sbin KERNEL_DIR=/usr/src/linux
> > Making dependencies: please wait...
> > Extensions found: IPv4:ROUTE IPv4:recent IPv6:ROUTE IPv6:ah IPv6:esp
> > IPv6:frag IPv6:ipv6header IPv6:hbh IPv6:dst IPv6:rt
> > gcc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSIO
> > N=\"1.2.11\"  -fPIC -o extensions/libipt_ah_sh.o -c extensions/libipt_ah.c
> > In file included from include/libiptc/libiptc.h:6,
> >                  from include/iptables.h:5,
> >                  from extensions/libipt_ah.c:8:
> > /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:255: warning: no
> > semicolon at end of struct or union
> > /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:255: error: syntax
> > error before '*' token
> > /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:259: error: syntax
> > error before '}' token
> > /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:339: warning: type
> > defaults to `int' in declaration of `DECLARE_MUTEX'
> > /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:339: warning:
> > parameter names (without types) in function declaration
> > /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:339: warning:
> > `DECLARE_MUTEX' declared `static' but never defined
> > make: *** [extensions/libipt_ah_sh.o] Error 1
> >
> >
> > I'm getting this with a vanilla source code of the kernel and iptables. I
> > was getting those with the patch-o-matic installed, but I wanted to narrow
> > it down. Kernel can compile easily those modules that are coming from
> > iptables 1.2.9.
> >
> > Any idea?
> >
> > Eric
> 
> 

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-07-07  7:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20040706214011.26343.22595.Mailman@vishnu.netfilter.org>
2004-07-07  7:13 ` netfilter digest, Vol 1 #1942 - 8 msgs Tomasz Czapiewski
2004-07-07  7:22   ` Alexander Samad

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.