* Problem compiling Iptables 1.2.11 on Kernel 2.6.7
@ 2004-07-06 19:28 Eric Poulin
2004-07-06 20:39 ` Eric Poulin
0 siblings, 1 reply; 5+ messages in thread
From: Eric Poulin @ 2004-07-06 19:28 UTC (permalink / raw)
To: netfilter
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] 5+ messages in thread
* Re: Problem compiling Iptables 1.2.11 on Kernel 2.6.7
2004-07-06 19:28 Problem compiling Iptables 1.2.11 on Kernel 2.6.7 Eric Poulin
@ 2004-07-06 20:39 ` Eric Poulin
2004-07-06 21:55 ` Jose Teves
0 siblings, 1 reply; 5+ messages in thread
From: Eric Poulin @ 2004-07-06 20:39 UTC (permalink / raw)
To: netfilter
Well, it turned out I need to apply the 08_linux-2.6.7-user_attr.patch from
patch-o-matic, however, it is failing since it needs to apply
03_linux-2.6.5.patch, and it failed on the diff test... There is some
rejects according to the
output. Can't force it either... :(
Interesting
Eric
----- Original Message -----
From: "Eric Poulin" <epoulin@onepost.net>
To: <netfilter@lists.netfilter.org>
Sent: Tuesday, July 06, 2004 3:28 PM
Subject: Problem compiling Iptables 1.2.11 on Kernel 2.6.7
> 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] 5+ messages in thread
* Re: Problem compiling Iptables 1.2.11 on Kernel 2.6.7
2004-07-06 20:39 ` Eric Poulin
@ 2004-07-06 21:55 ` Jose Teves
2004-07-07 14:53 ` Problem compiling Iptables 1.2.11 on Kernel 2.6.7 <Resolved, but other problem> Eric Poulin
0 siblings, 1 reply; 5+ messages in thread
From: Jose Teves @ 2004-07-06 21:55 UTC (permalink / raw)
To: netfilter
Eric,
Download the last version of patch-o-matic-ng from cvs.netfilter.org
http://cvs.netfilter.org/patch-o-matic-ng/patch-o-matic-ng.tar.gz?tarball=1
this it compiles without problems.
good luck
pd: i'm sorry my bad english :(
--
Jose Teves
josxlnx at yahoo dot com dot ar
Eric Poulin escribió:
>Well, it turned out I need to apply the 08_linux-2.6.7-user_attr.patch from
>patch-o-matic, however, it is failing since it needs to apply
>03_linux-2.6.5.patch, and it failed on the diff test... There is some
>rejects according to the
>output. Can't force it either... :(
>
>Interesting
>
>Eric
>----- Original Message -----
>From: "Eric Poulin" <epoulin@onepost.net>
>To: <netfilter@lists.netfilter.org>
>Sent: Tuesday, July 06, 2004 3:28 PM
>Subject: Problem compiling Iptables 1.2.11 on Kernel 2.6.7
>
>
>
>
>>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
>>
>>
>>
>>
>>
>>
>
>
>
>
>
>
>
--
Jose Teves
joseteves at linux dot org dot ar
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem compiling Iptables 1.2.11 on Kernel 2.6.7 <Resolved, but other problem>
2004-07-06 21:55 ` Jose Teves
@ 2004-07-07 14:53 ` Eric Poulin
2004-07-07 22:21 ` Jozsef Kadlecsik
0 siblings, 1 reply; 5+ messages in thread
From: Eric Poulin @ 2004-07-07 14:53 UTC (permalink / raw)
To: netfilter
Hey Jose, thanks for you help, the CVS version resolved it.
I'll remember about it next time. Any idea when this will be incorporated in
the official pom?
Thanks again, I was getting really annoyed by this! :)
Hum, I'm getting a new problem thought while compiling iptables as modules
inside my new kernel...
net/ipv4/netfilter/ip_conntrack_standalone.c:222: error: redefinition of
`ip_conntrack_defrag'
net/ipv4/netfilter/ip_conntrack_standalone.c:202: error:
`ip_conntrack_defrag' previously defined here
net/ipv4/netfilter/ip_conntrack_standalone.c:303: error: redefinition of
`ip_conntrack_defrag_local_out_ops'
net/ipv4/netfilter/ip_conntrack_standalone.c:295: error:
`ip_conntrack_defrag_local_out_ops' previously defined here
net/ipv4/netfilter/ip_conntrack_standalone.c:202: warning:
`ip_conntrack_defrag' defined but not used
net/ipv4/netfilter/ip_conntrack_standalone.c:295: warning:
`ip_conntrack_defrag_local_out_ops' defined but not used
{standard input}: Assembler messages:
{standard input}:745: Error: symbol `ip_conntrack_defrag_local_out_ops' is
already defined
make[3]: *** [net/ipv4/netfilter/ip_conntrack_standalone.o] Error 1
make[2]: *** [net/ipv4/netfilter] Error 2
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2
I'll do my research... Let me know if you encounter this...
Eric
----- Original Message -----
From: "Jose Teves" <joseteves@linux.org.ar>
To: <netfilter@lists.netfilter.org>
Sent: Tuesday, July 06, 2004 5:55 PM
Subject: Re: Problem compiling Iptables 1.2.11 on Kernel 2.6.7
Eric,
Download the last version of patch-o-matic-ng from cvs.netfilter.org
http://cvs.netfilter.org/patch-o-matic-ng/patch-o-matic-ng.tar.gz?tarball=1
this it compiles without problems.
good luck
pd: i'm sorry my bad english :(
--
Jose Teves
josxlnx at yahoo dot com dot ar
Eric Poulin escribió:
>Well, it turned out I need to apply the 08_linux-2.6.7-user_attr.patch from
>patch-o-matic, however, it is failing since it needs to apply
>03_linux-2.6.5.patch, and it failed on the diff test... There is some
>rejects according to the
>output. Can't force it either... :(
>
>Interesting
>
>Eric
>----- Original Message -----
>From: "Eric Poulin" <epoulin@onepost.net>
>To: <netfilter@lists.netfilter.org>
>Sent: Tuesday, July 06, 2004 3:28 PM
>Subject: Problem compiling Iptables 1.2.11 on Kernel 2.6.7
>
>
>
>
>>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_VERSI
O
>
>
>>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
>>
>>
>>
>>
>>
>>
>
>
>
>
>
>
>
--
Jose Teves
joseteves at linux dot org dot ar
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem compiling Iptables 1.2.11 on Kernel 2.6.7 <Resolved, but other problem>
2004-07-07 14:53 ` Problem compiling Iptables 1.2.11 on Kernel 2.6.7 <Resolved, but other problem> Eric Poulin
@ 2004-07-07 22:21 ` Jozsef Kadlecsik
0 siblings, 0 replies; 5+ messages in thread
From: Jozsef Kadlecsik @ 2004-07-07 22:21 UTC (permalink / raw)
To: Eric Poulin; +Cc: netfilter
On Wed, 7 Jul 2004, Eric Poulin wrote:
> Hum, I'm getting a new problem thought while compiling iptables as modules
> inside my new kernel...
>
> net/ipv4/netfilter/ip_conntrack_standalone.c:222: error: redefinition of
> `ip_conntrack_defrag'
> net/ipv4/netfilter/ip_conntrack_standalone.c:202: error:
> `ip_conntrack_defrag' previously defined here
> net/ipv4/netfilter/ip_conntrack_standalone.c:303: error: redefinition of
> `ip_conntrack_defrag_local_out_ops'
> net/ipv4/netfilter/ip_conntrack_standalone.c:295: error:
> `ip_conntrack_defrag_local_out_ops' previously defined here
> net/ipv4/netfilter/ip_conntrack_standalone.c:202: warning:
> `ip_conntrack_defrag' defined but not used
> net/ipv4/netfilter/ip_conntrack_standalone.c:295: warning:
> `ip_conntrack_defrag_local_out_ops' defined but not used
> {standard input}: Assembler messages:
> {standard input}:745: Error: symbol `ip_conntrack_defrag_local_out_ops' is
> already defined
> make[3]: *** [net/ipv4/netfilter/ip_conntrack_standalone.o] Error 1
> make[2]: *** [net/ipv4/netfilter] Error 2
> make[1]: *** [net/ipv4] Error 2
> make: *** [net] Error 2
I'm unable to reproduce this. Linux 2.6.7 kernel patched with
08_linux-2.6.7-user_attr.patch (which does not touch
ip_conntrack_standalone.c at all) from pom-ng cvs compiles cleanly.
What do you *exactly* do?
Best regards,
Jozsef
-
E-mail : kadlec@blackhole.kfki.hu, kadlec@sunserv.kfki.hu
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics
H-1525 Budapest 114, POB. 49, Hungary
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-07-07 22:21 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-06 19:28 Problem compiling Iptables 1.2.11 on Kernel 2.6.7 Eric Poulin
2004-07-06 20:39 ` Eric Poulin
2004-07-06 21:55 ` Jose Teves
2004-07-07 14:53 ` Problem compiling Iptables 1.2.11 on Kernel 2.6.7 <Resolved, but other problem> Eric Poulin
2004-07-07 22:21 ` Jozsef Kadlecsik
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.