* compile error ip6t_REJECT.c and 2.4.27-rc5
@ 2004-08-07 19:36 Robby
2004-08-07 23:05 ` Yasuyuki Kozakai
0 siblings, 1 reply; 5+ messages in thread
From: Robby @ 2004-08-07 19:36 UTC (permalink / raw)
To: Netfilter Development Mailinglist
I'm getting an error as you can see below, there was also something with ULOG that errored,
but since I didn't need that I went back in menuconfig and disabled it.
This is with the patch-o-matic-ng CVS of 07/08/2004 at 13:14 CEST.
It used to compile before (back with 2.4.25-rc3 and I still have it running).
The machine is a RH7.3 box.
[...]
gcc -D__KERNEL__ -I/usr/src/linux-2.4.27-rc5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.27-rc5/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=ip6t_MARK -c -o ip6t_MARK.o ip6t_MARK.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.27-rc5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.27-rc5/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=ip6t_REJECT -c -o ip6t_REJECT.o ip6t_REJECT.c
ip6t_REJECT.c: In function `maybe_reroute':
ip6t_REJECT.c:61: warning: implicit declaration of function `dst_output'
ip6t_REJECT.c: In function `send_reset':
ip6t_REJECT.c:76: parse error before `int'
ip6t_REJECT.c:123: warning: passing arg 1 of `ipv6_addr_copy' from incompatible pointer type
ip6t_REJECT.c:124: warning: passing arg 1 of `ipv6_addr_copy' from incompatible pointer type
ip6t_REJECT.c:125: structure has no member named `fl_ip_sport'
ip6t_REJECT.c:126: structure has no member named `fl_ip_dport'
ip6t_REJECT.c:127: `err' undeclared (first use in this function)
ip6t_REJECT.c:127: (Each undeclared identifier is reported only once
ip6t_REJECT.c:127: for each function it appears in.)
ip6t_REJECT.c:127: warning: implicit declaration of function `ip6_dst_lookup'
ip6t_REJECT.c:135: structure has no member named `header_len'
ip6t_REJECT.c:136: structure has no member named `trailer_len'
ip6t_REJECT.c:149: structure has no member named `header_len'
ip6t_REJECT.c:154: warning: implicit declaration of function `dst_metric'
ip6t_REJECT.c:154: `RTAX_HOPLIMIT' undeclared (first use in this function)
ip6t_REJECT.c: In function `send_unreach':
ip6t_REJECT.c:252: sizeof applied to an incomplete type
ip6t_REJECT.c:257: dereferencing pointer to incomplete type
ip6t_REJECT.c:275: warning: passing arg 1 of `ipv6_addr_copy' from incompatible pointer type
ip6t_REJECT.c:276: warning: passing arg 1 of `ipv6_addr_copy' from incompatible pointer type
ip6t_REJECT.c:277: structure has no member named `fl_icmp_type'
ip6t_REJECT.c:278: structure has no member named `fl_icmp_code'
ip6t_REJECT.c:298: warning: implicit declaration of function `dst_pmtu'
ip6t_REJECT.c:306: structure has no member named `header_len'
ip6t_REJECT.c:306: structure has no member named `trailer_len'
ip6t_REJECT.c:319: structure has no member named `header_len'
ip6t_REJECT.c:324: `RTAX_HOPLIMIT' undeclared (first use in this function)
make[2]: *** [ip6t_REJECT.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.27-rc5/net/ipv6/netfilter'
make[1]: *** [_modsubdir_ipv6/netfilter] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.27-rc5/net'
make: *** [_mod_net] Error 2
[root@core1-fe0-gw1 linux-2.4.27-rc5]#
-----------------------------------------------------
Mail.be, WebMail and Virtual Office
http://www.mail.be
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: compile error ip6t_REJECT.c and 2.4.27-rc5
2004-08-07 19:36 compile error ip6t_REJECT.c and 2.4.27-rc5 Robby
@ 2004-08-07 23:05 ` Yasuyuki Kozakai
2004-08-08 1:46 ` Robby
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Yasuyuki Kozakai @ 2004-08-07 23:05 UTC (permalink / raw)
To: inet6; +Cc: netfilter-devel, laforge
Hi,
From: Robby <inet6@mail.be>
Date: Sat, 7 Aug 2004 21:36:34 +0200 (CEST)
> I'm getting an error as you can see below, there was also something with ULOG that errored,
> but since I didn't need that I went back in menuconfig and disabled it.
> This is with the patch-o-matic-ng CVS of 07/08/2004 at 13:14 CEST.
> It used to compile before (back with 2.4.25-rc3 and I still have it running).
> The machine is a RH7.3 box.
Oh, this is for 2.6 kernel. You can get reject target for 2.4 kernel
from http://cvs.netfilter.org/cgi-bin/viewcvs.cgi/*checkout*/patch-o-matic-ng/REJECT/linux/net/ipv6/netfilter/ip6t_REJECT.c?rev=1.1
Harald, why don't you rescue version 1.1 from CVS tree for 2.4 kernel ?
-----------------------------------------------------------------
Yasuyuki KOZAKAI @ USAGI Project <yasuyuki.kozakai@toshiba.co.jp>
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: compile error ip6t_REJECT.c and 2.4.27-rc5
2004-08-07 23:05 ` Yasuyuki Kozakai
@ 2004-08-08 1:46 ` Robby
2004-08-08 2:10 ` Robby
2004-08-19 9:24 ` Harald Welte
2 siblings, 0 replies; 5+ messages in thread
From: Robby @ 2004-08-08 1:46 UTC (permalink / raw)
To: yasuyuki.kozakai; +Cc: netfilter-devel, laforge
I also have an error with ipt_ULOG.c:
gcc -D__KERNEL__ -I/usr/src/linux-2.4.27-rc5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.27-rc5/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=ipt_ULOG -c -o ipt_ULOG.o ipt_ULOG.c
ipt_ULOG.c: In function `ip_ulog_fn':
ipt_ULOG.c:379: `qlen' undeclared (first use in this function)
ipt_ULOG.c:379: (Each undeclared identifier is reported only once
ipt_ULOG.c:379: for each function it appears in.)
make[2]: *** [ipt_ULOG.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.27-rc5/net/ipv4/netfilter'
make[1]: *** [_modsubdir_ipv4/netfilter] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.27-rc5/net'
make: *** [_mod_net] Error 2
[root@core1-fe0-gw1 linux-2.4.27-rc5]#
> ----------------------------------------
> From: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
> Sent: Sun Aug 08 01:05:24 CEST 2004
> To: <inet6@mail.be>
> Subject: Re: compile error ip6t_REJECT.c and 2.4.27-rc5
>
>
>
> Hi,
>
> From: Robby <inet6@mail.be>
> Date: Sat, 7 Aug 2004 21:36:34 +0200 (CEST)
>
> > I'm getting an error as you can see below, there was also something with ULOG that errored,
> > but since I didn't need that I went back in menuconfig and disabled it.
> > This is with the patch-o-matic-ng CVS of 07/08/2004 at 13:14 CEST.
> > It used to compile before (back with 2.4.25-rc3 and I still have it running).
> > The machine is a RH7.3 box.
>
> Oh, this is for 2.6 kernel. You can get reject target for 2.4 kernel
> from http://cvs.netfilter.org/cgi-bin/viewcvs.cgi/*checkout*/patch-o-matic-ng/REJECT/linux/net/ipv6/netfilter/ip6t_REJECT.c?rev=1.1
>
> Harald, why don't you rescue version 1.1 from CVS tree for 2.4 kernel ?
>
> -----------------------------------------------------------------
> Yasuyuki KOZAKAI @ USAGI Project <yasuyuki.kozakai@toshiba.co.jp>
>
>
>
>
-----------------------------------------------------
Mail.be, WebMail and Virtual Office
http://www.mail.be
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: compile error ip6t_REJECT.c and 2.4.27-rc5
2004-08-07 23:05 ` Yasuyuki Kozakai
2004-08-08 1:46 ` Robby
@ 2004-08-08 2:10 ` Robby
2004-08-19 9:24 ` Harald Welte
2 siblings, 0 replies; 5+ messages in thread
From: Robby @ 2004-08-08 2:10 UTC (permalink / raw)
To: yasuyuki.kozakai; +Cc: netfilter-devel
> ----------------------------------------
> From: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
> Sent: Sun Aug 08 01:05:24 CEST 2004
> To: <inet6@mail.be>
> Subject: Re: compile error ip6t_REJECT.c and 2.4.27-rc5
>
>
[snip]
>
> Oh, this is for 2.6 kernel. You can get reject target for 2.4 kernel
> from http://cvs.netfilter.org/cgi-bin/viewcvs.cgi/*checkout*/patch-o-matic-ng/REJECT/linux/net/ipv6/netfilter/ip6t_REJECT.c?rev=1.1
>
[/snip]
Thanks, it compiles now. :)
-----------------------------------------------------
Mail.be, WebMail and Virtual Office
http://www.mail.be
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: compile error ip6t_REJECT.c and 2.4.27-rc5
2004-08-07 23:05 ` Yasuyuki Kozakai
2004-08-08 1:46 ` Robby
2004-08-08 2:10 ` Robby
@ 2004-08-19 9:24 ` Harald Welte
2 siblings, 0 replies; 5+ messages in thread
From: Harald Welte @ 2004-08-19 9:24 UTC (permalink / raw)
To: Yasuyuki Kozakai; +Cc: inet6, netfilter-devel
[-- Attachment #1: Type: text/plain, Size: 526 bytes --]
On Sun, Aug 08, 2004 at 08:05:24AM +0900, Yasuyuki Kozakai wrote:
> Harald, why don't you rescue version 1.1 from CVS tree for 2.4 kernel ?
done.
--
- Harald Welte <laforge@netfilter.org> http://www.netfilter.org/
============================================================================
"Fragmentation is like classful addressing -- an interesting early
architectural error that shows how much experimentation was going
on while IP was being designed." -- Paul Vixie
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-08-19 9:24 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-07 19:36 compile error ip6t_REJECT.c and 2.4.27-rc5 Robby
2004-08-07 23:05 ` Yasuyuki Kozakai
2004-08-08 1:46 ` Robby
2004-08-08 2:10 ` Robby
2004-08-19 9:24 ` Harald Welte
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.