* RE: Compile problems with iptables 1.2.7
@ 2002-10-01 16:28 Dian Brits
2002-10-01 18:13 ` Anders Fugmann
0 siblings, 1 reply; 4+ messages in thread
From: Dian Brits @ 2002-10-01 16:28 UTC (permalink / raw)
To: 'Anders Fugmann', Dian Brits
Cc: 'netfilter@lists.netfilter.org'
ok i've tried using 1.2.7a but i still get this:
kagisofw:/usr/local/iptables/src/iptables-1.2.7a $ /kernel/src/linux
<
Extensions found:
cc -O2 -Wall -Wunused -I/usr/local/kernel/src/linux/include -Iinclude/
-DIPTABLES_VERSION=\"1.2.7a\" -fPIC -o extensions/libipt_conntrack_sh.o -c
extensions/libipt_conntrack.c
In file included from extensions/libipt_conntrack.c:14:
/usr/local/kernel/src/linux/include/linux/netfilter_ipv4/ipt_conntrack.h:28:
`IP_CT_DIR_MAX' undeclared here (not in a function)
/usr/local/kernel/src/linux/include/linux/netfilter_ipv4/ipt_conntrack.h:29:
`IP_CT_DIR_MAX' undeclared here (not in a function)
/usr/local/kernel/src/linux/include/linux/netfilter_ipv4/ipt_conntrack.h:29:
`IP_CT_DIR_MAX' undeclared here (not in a function)
extensions/libipt_conntrack.c: In function `parse_status':
extensions/libipt_conntrack.c:103: `IPS_EXPECTED' undeclared (first use in
this function)
extensions/libipt_conntrack.c:103: (Each undeclared identifier is reported
only once
extensions/libipt_conntrack.c:103: for each function it appears in.)
extensions/libipt_conntrack.c:105: `IPS_SEEN_REPLY' undeclared (first use in
this function)
extensions/libipt_conntrack.c:107: `IPS_ASSURED' undeclared (first use in
this function)
extensions/libipt_conntrack.c: In function `parse':
extensions/libipt_conntrack.c:202: `IP_CT_DIR_ORIGINAL' undeclared (first
use in this function)
extensions/libipt_conntrack.c:259: `IP_CT_DIR_REPLY' undeclared (first use
in this function)
extensions/libipt_conntrack.c: In function `print_status':
extensions/libipt_conntrack.c:364: `IPS_EXPECTED' undeclared (first use in
this function)
extensions/libipt_conntrack.c:368: `IPS_SEEN_REPLY' undeclared (first use in
this function)
extensions/libipt_conntrack.c:372: `IPS_ASSURED' undeclared (first use in
this function)
extensions/libipt_conntrack.c: In function `matchinfo_print':
extensions/libipt_conntrack.c:420: `IP_CT_DIR_ORIGINAL' undeclared (first
use in this function)
extensions/libipt_conntrack.c:440: `IP_CT_DIR_REPLY' undeclared (first use
in this function)
make: *** [extensions/libipt_conntrack_sh.o] Error 1
regards
dian
-----Original Message-----
From: Anders Fugmann [mailto:afu@fugmann.dhs.org]
Sent: Tuesday, October 01, 2002 17:37 PM
To: Dian Brits
Cc: 'netfilter@lists.netfilter.org'
Subject: Re: Compile problems with iptables 1.2.7
Dian Brits wrote:
> hi there,
>
> i'm trying to install iptables 1.2.7 on kernel 2.4.17, i've already
applied
> the patch-o-matic patches to my kernel but when i try to compile iptables
i
> get the following output:
>
Please try and repoduce with iptables 1.2.7a. Version 1.2.7 should never
have been out.
Regards
Anders Fugmann
--
Neo: 'Can you fly that thing?'
Trinity: 'Not yet'.
$ apt-get install pilot-prg-v212helicopter.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Compile problems with iptables 1.2.7
2002-10-01 16:28 Compile problems with iptables 1.2.7 Dian Brits
@ 2002-10-01 18:13 ` Anders Fugmann
0 siblings, 0 replies; 4+ messages in thread
From: Anders Fugmann @ 2002-10-01 18:13 UTC (permalink / raw)
To: Dian Brits; +Cc: 'netfilter@lists.netfilter.org'
Dian Brits wrote:
> ok i've tried using 1.2.7a but i still get this:
>
> kagisofw:/usr/local/iptables/src/iptables-1.2.7a $ /kernel/src/linux
> <
> Extensions found:
> cc -O2 -Wall -Wunused -I/usr/local/kernel/src/linux/include -Iinclude/
> -DIPTABLES_VERSION=\"1.2.7a\" -fPIC -o extensions/libipt_conntrack_sh.o -c
> extensions/libipt_conntrack.c
> In file included from extensions/libipt_conntrack.c:14:
>/usr/local/kernel/src/linux/include/linux/netfilter_ipv4/ipt_conntrack.h:28:
> `IP_CT_DIR_MAX' undeclared here (not in a function)
I guess the kernel source is located at '/usr/local/kernel/src/linux/'.
What version is it? (the kernel source), and what patches have you
applied from pom?
There should be an enum at the top of
'/usr/local/kernel/src/linux/include/linux/netfilter_ipv4/ipt_conntrack.h',
defining the constant `IP_CT_DIR_MAX'. Either its not there, or the
compiler does not like that one. What compiler are you using?
Also try reproduce with a vanilla 2.4.19 kernel source.
Regards
Anders Fugmann
--
Neo: 'Can you fly that thing?'
Trinity: 'Not yet'.
$ apt-get install pilot-prg-v212helicopter.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Compile problems with iptables 1.2.7
@ 2002-10-01 14:28 Dian Brits
2002-10-01 15:37 ` Anders Fugmann
0 siblings, 1 reply; 4+ messages in thread
From: Dian Brits @ 2002-10-01 14:28 UTC (permalink / raw)
To: 'netfilter@lists.netfilter.org'
hi there,
i'm trying to install iptables 1.2.7 on kernel 2.4.17, i've already applied
the patch-o-matic patches to my kernel but when i try to compile iptables i
get the following output:
kagisofw:/usr/local/iptables/src/iptables-1.2.7 $ make
KERNEL_DIR=/usr/local/ >
Extensions found: IPv4:helper
cc -O2 -Wall -Wunused -I/usr/local/kernel/src/linux/include -Iinclude/
-DIPTABLES_VERSION=\"1.2.7\" -fPIC -o extensions/libipt_conntrack_sh.o -c
extensions/libipt_conntrack.c
In file included from extensions/libipt_conntrack.c:14:
/usr/local/kernel/src/linux/include/linux/netfilter_ipv4/ipt_conntrack.h:28:
`IP_CT_DIR_MAX' undeclared here (not in a function)
/usr/local/kernel/src/linux/include/linux/netfilter_ipv4/ipt_conntrack.h:29:
`IP_CT_DIR_MAX' undeclared here (not in a function)
/usr/local/kernel/src/linux/include/linux/netfilter_ipv4/ipt_conntrack.h:29:
`IP_CT_DIR_MAX' undeclared here (not in a function)
extensions/libipt_conntrack.c: In function `parse_status':
extensions/libipt_conntrack.c:103: `IPS_EXPECTED' undeclared (first use in
this function)
extensions/libipt_conntrack.c:103: (Each undeclared identifier is reported
only once
extensions/libipt_conntrack.c:103: for each function it appears in.)
extensions/libipt_conntrack.c:105: `IPS_SEEN_REPLY' undeclared (first use in
this function)
extensions/libipt_conntrack.c:107: `IPS_ASSURED' undeclared (first use in
this function)
extensions/libipt_conntrack.c: In function `parse':
extensions/libipt_conntrack.c:202: `IP_CT_DIR_ORIGINAL' undeclared (first
use in this function)
extensions/libipt_conntrack.c:259: `IP_CT_DIR_REPLY' undeclared (first use
in this function)
extensions/libipt_conntrack.c: In function `print_status':
extensions/libipt_conntrack.c:364: `IPS_EXPECTED' undeclared (first use in
this function)
extensions/libipt_conntrack.c:368: `IPS_SEEN_REPLY' undeclared (first use in
this function)
extensions/libipt_conntrack.c:372: `IPS_ASSURED' undeclared (first use in
this function)
extensions/libipt_conntrack.c: In function `matchinfo_print':
extensions/libipt_conntrack.c:420: `IP_CT_DIR_ORIGINAL' undeclared (first
use in this function)
extensions/libipt_conntrack.c:440: `IP_CT_DIR_REPLY' undeclared (first use
in this function)
make: *** [extensions/libipt_conntrack_sh.o] Error 1
any help will be greatly appreciated.
thanks
d.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Compile problems with iptables 1.2.7
2002-10-01 14:28 Dian Brits
@ 2002-10-01 15:37 ` Anders Fugmann
0 siblings, 0 replies; 4+ messages in thread
From: Anders Fugmann @ 2002-10-01 15:37 UTC (permalink / raw)
To: Dian Brits; +Cc: 'netfilter@lists.netfilter.org'
Dian Brits wrote:
> hi there,
>
> i'm trying to install iptables 1.2.7 on kernel 2.4.17, i've already applied
> the patch-o-matic patches to my kernel but when i try to compile iptables i
> get the following output:
>
Please try and repoduce with iptables 1.2.7a. Version 1.2.7 should never
have been out.
Regards
Anders Fugmann
--
Neo: 'Can you fly that thing?'
Trinity: 'Not yet'.
$ apt-get install pilot-prg-v212helicopter.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-10-01 18:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-01 16:28 Compile problems with iptables 1.2.7 Dian Brits
2002-10-01 18:13 ` Anders Fugmann
-- strict thread matches above, loose matches on Subject: below --
2002-10-01 14:28 Dian Brits
2002-10-01 15:37 ` Anders Fugmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox