* Iptables 1.2.8 Compile Errors
@ 2003-07-02 18:53 Aaron Clausen
2003-07-02 19:27 ` David Busby
0 siblings, 1 reply; 4+ messages in thread
From: Aaron Clausen @ 2003-07-02 18:53 UTC (permalink / raw)
To: Netfilter Mailing List
I'm trying to compile Iptables 1.2.8 for a 2.4.21 kernel that has had patch-o-matic-20030107 applied to it. The kernel compiles fine, but I'm continually getting errors compiling libipt_ROUTE.c. I realize that the easiest thing to do is to simply not enable this extension in the kernel, and yet turning it off in the config doesn't do anything. Does anybody have a solution?
--
Aaron Clausen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Iptables 1.2.8 Compile Errors
2003-07-02 18:53 Iptables 1.2.8 Compile Errors Aaron Clausen
@ 2003-07-02 19:27 ` David Busby
0 siblings, 0 replies; 4+ messages in thread
From: David Busby @ 2003-07-02 19:27 UTC (permalink / raw)
To: techlists, Netfilter Mailing List
Show us the errors?
----- Original Message -----
From: "Aaron Clausen" <techlists@alberni.net>
To: "Netfilter Mailing List" <netfilter@lists.netfilter.org>
Sent: Wednesday, July 02, 2003 11:53
Subject: Iptables 1.2.8 Compile Errors
> I'm trying to compile Iptables 1.2.8 for a 2.4.21 kernel that has had
patch-o-matic-20030107 applied to it. The kernel compiles fine, but I'm
continually getting errors compiling libipt_ROUTE.c. I realize that the
easiest thing to do is to simply not enable this extension in the kernel,
and yet turning it off in the config doesn't do anything. Does anybody have
a solution?
>
> --
> Aaron Clausen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Iptables 1.2.8 Compile Errors
@ 2003-07-02 22:26 Aaron Clausen
2003-07-02 22:54 ` Sebastian
0 siblings, 1 reply; 4+ messages in thread
From: Aaron Clausen @ 2003-07-02 22:26 UTC (permalink / raw)
To: Netfilter Mailing List, David Busby
---------- Original Message ----------------------------------
From: "David Busby" <busby@pnts.com>
Reply-To: "David Busby" <busby@pnts.com>
Date: Wed, 2 Jul 2003 12:27:37 -0700
>Show us the errors?
Sorry, here's the whole error:
ld -shared -o extensions/libipt_NETMAP.so extensions/libipt_NETMAP_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.2.8\" -fPIC -o extensions/libipt_ROUTE_sh.o -c extensions/libipt_ROUTE.c
extensions/libipt_ROUTE.c: In function `init':
extensions/libipt_ROUTE.c:44: structure has no member named `oif'
extensions/libipt_ROUTE.c:45: structure has no member named `iif'
extensions/libipt_ROUTE.c:46: structure has no member named `gw'
extensions/libipt_ROUTE.c: In function `parse':
extensions/libipt_ROUTE.c:73: structure has no member named `oif'
extensions/libipt_ROUTE.c:76: structure has no member named `oif'
extensions/libipt_ROUTE.c:78: structure has no member named `oif'
extensions/libipt_ROUTE.c:78: structure has no member named `oif'
extensions/libipt_ROUTE.c:78: structure has no member named `oif'
extensions/libipt_ROUTE.c:91: structure has no member named `iif'
extensions/libipt_ROUTE.c:94: structure has no member named `iif'
extensions/libipt_ROUTE.c:96: structure has no member named `iif'
extensions/libipt_ROUTE.c:96: structure has no member named `iif'
extensions/libipt_ROUTE.c:96: structure has no member named `iif'
extensions/libipt_ROUTE.c:105: structure has no member named `gw'
extensions/libipt_ROUTE.c: In function `print':
extensions/libipt_ROUTE.c:142: structure has no member named `oif'
extensions/libipt_ROUTE.c:143: structure has no member named `oif'
extensions/libipt_ROUTE.c:145: structure has no member named `iif'
extensions/libipt_ROUTE.c:146: structure has no member named `iif'
extensions/libipt_ROUTE.c:148: structure has no member named `gw'
extensions/libipt_ROUTE.c:149: structure has no member named `gw'
extensions/libipt_ROUTE.c: In function `save':
extensions/libipt_ROUTE.c:161: structure has no member named `oif'
extensions/libipt_ROUTE.c:162: structure has no member named `oif'
extensions/libipt_ROUTE.c:164: structure has no member named `iif'
extensions/libipt_ROUTE.c:165: structure has no member named `iif'
extensions/libipt_ROUTE.c:167: structure has no member named `gw'
extensions/libipt_ROUTE.c:168: structure has no member named `gw'
make: *** [extensions/libipt_ROUTE_sh.o] Error 1
--
Aaron Clausen
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Iptables 1.2.8 Compile Errors
2003-07-02 22:26 Aaron Clausen
@ 2003-07-02 22:54 ` Sebastian
0 siblings, 0 replies; 4+ messages in thread
From: Sebastian @ 2003-07-02 22:54 UTC (permalink / raw)
To: Netfilter Mailinglist
Hello...
I'm not so familiar with the sources, but I think the problem is the
different definition of the struct ipt_route_target_info (in
include/linux/netfilter_ipv4/ipt_ROUTE.h) between POM you use and the
laterst CVS. The patch-o-matic 20030107 was release long befor
iptables-1.2.8, you should probably try a CVS version of patch-o-matic.
Greets
Sebastian.
> -----Original Message-----
> From: netfilter-admin@lists.netfilter.org
> [mailto:netfilter-admin@lists.netfilter.org] On Behalf Of
> Aaron Clausen
> Sent: Thursday, July 03, 2003 12:26 AM
> To: Netfilter Mailing List; David Busby
> Subject: Re: Iptables 1.2.8 Compile Errors
>
>
> ---------- Original Message ----------------------------------
> From: "David Busby" <busby@pnts.com>
> Reply-To: "David Busby" <busby@pnts.com>
> Date: Wed, 2 Jul 2003 12:27:37 -0700
>
> >Show us the errors?
>
> Sorry, here's the whole error:
>
> ld -shared -o extensions/libipt_NETMAP.so
> extensions/libipt_NETMAP_sh.o cc -O2 -Wall -Wunused
> -I/usr/src/linux/include -Iinclude/
> -DIPTABLES_VERSION=\"1.2.8\" -fPIC -o
> extensions/libipt_ROUTE_sh.o -c extensions/libipt_ROUTE.c
> extensions/libipt_ROUTE.c: In function `init':
> extensions/libipt_ROUTE.c:44: structure has no member named `oif'
> extensions/libipt_ROUTE.c:45: structure has no member named `iif'
> extensions/libipt_ROUTE.c:46: structure has no member named `gw'
> extensions/libipt_ROUTE.c: In function `parse':
> extensions/libipt_ROUTE.c:73: structure has no member named `oif'
> extensions/libipt_ROUTE.c:76: structure has no member named `oif'
> extensions/libipt_ROUTE.c:78: structure has no member named `oif'
> extensions/libipt_ROUTE.c:78: structure has no member named `oif'
> extensions/libipt_ROUTE.c:78: structure has no member named `oif'
> extensions/libipt_ROUTE.c:91: structure has no member named `iif'
> extensions/libipt_ROUTE.c:94: structure has no member named `iif'
> extensions/libipt_ROUTE.c:96: structure has no member named `iif'
> extensions/libipt_ROUTE.c:96: structure has no member named `iif'
> extensions/libipt_ROUTE.c:96: structure has no member named `iif'
> extensions/libipt_ROUTE.c:105: structure has no member named `gw'
> extensions/libipt_ROUTE.c: In function `print':
> extensions/libipt_ROUTE.c:142: structure has no member named `oif'
> extensions/libipt_ROUTE.c:143: structure has no member named `oif'
> extensions/libipt_ROUTE.c:145: structure has no member named `iif'
> extensions/libipt_ROUTE.c:146: structure has no member named `iif'
> extensions/libipt_ROUTE.c:148: structure has no member named `gw'
> extensions/libipt_ROUTE.c:149: structure has no member named `gw'
> extensions/libipt_ROUTE.c: In function `save':
> extensions/libipt_ROUTE.c:161: structure has no member named `oif'
> extensions/libipt_ROUTE.c:162: structure has no member named `oif'
> extensions/libipt_ROUTE.c:164: structure has no member named `iif'
> extensions/libipt_ROUTE.c:165: structure has no member named `iif'
> extensions/libipt_ROUTE.c:167: structure has no member named `gw'
> extensions/libipt_ROUTE.c:168: structure has no member named `gw'
> make: *** [extensions/libipt_ROUTE_sh.o] Error 1
>
> --
> Aaron Clausen
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-07-02 22:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-02 18:53 Iptables 1.2.8 Compile Errors Aaron Clausen
2003-07-02 19:27 ` David Busby
-- strict thread matches above, loose matches on Subject: below --
2003-07-02 22:26 Aaron Clausen
2003-07-02 22:54 ` Sebastian
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox