* Re: 2.6.7-bk6 fails module compile -- iptable_raw.c
[not found] <200406231256.IAA28505@clem.clem-digital.net>
@ 2004-06-23 13:42 ` YOSHIFUJI Hideaki / 吉藤英明
2004-06-23 14:45 ` Pete Clements
2004-06-23 15:00 ` David S. Miller
0 siblings, 2 replies; 3+ messages in thread
From: YOSHIFUJI Hideaki / 吉藤英明 @ 2004-06-23 13:42 UTC (permalink / raw)
To: davem, clem; +Cc: linux-kernel, netdev, netfilter-devel
In article <200406231256.IAA28505@clem.clem-digital.net> (at Wed, 23 Jun 2004 08:56:08 -0400 (EDT)), Pete Clements <clem@clem.clem-digital.net> says:
> FYI: (gcc version 2.95.4)
>
> CC [M] net/ipv4/netfilter/iptable_raw.o
> net/ipv4/netfilter/iptable_raw.c:57: unknown field `target_size' specified in initializer
> net/ipv4/netfilter/iptable_raw.c:57: warning: missing braces around initializer
> net/ipv4/netfilter/iptable_raw.c:57: warning: (near initialization for `initial_table.entries[0].target.target.u')
> net/ipv4/netfilter/iptable_raw.c:71: unknown field `target_size' specified in initializer
> net/ipv4/netfilter/iptable_raw.c:85: unknown field `user' specified in initializer
> net/ipv4/netfilter/iptable_raw.c:87: unknown field `name' specified in initializer
> net/ipv4/netfilter/iptable_raw.c:87: warning: excess elements in union initializer
> net/ipv4/netfilter/iptable_raw.c:87: warning: (near initialization for `initial_table.term.target.target.u')
> make[3]: *** [net/ipv4/netfilter/iptable_raw.o] Error 1
> make[2]: *** [net/ipv4/netfilter] Error 2
> make[1]: *** [net/ipv4] Error 2
> make: *** [net] Error 2
Please try this.
===== net/ipv4/netfilter/iptable_raw.c 1.2 vs edited =====
--- 1.2/net/ipv4/netfilter/iptable_raw.c 2004-06-22 06:39:19 +09:00
+++ edited/net/ipv4/netfilter/iptable_raw.c 2004-06-23 22:35:44 +09:00
@@ -54,7 +54,9 @@
},
.target = {
.target = {
- .u.target_size = IPT_ALIGN(sizeof(struct ipt_standard_target)),
+ .u = {
+ .target_size = IPT_ALIGN(sizeof(struct ipt_standard_target)),
+ },
},
.verdict = -NF_ACCEPT - 1,
},
@@ -68,7 +70,9 @@
},
.target = {
.target = {
- .u.target_size = IPT_ALIGN(sizeof(struct ipt_standard_target)),
+ .u = {
+ .target_size = IPT_ALIGN(sizeof(struct ipt_standard_target)),
+ },
},
.verdict = -NF_ACCEPT - 1,
},
@@ -82,9 +86,11 @@
},
.target = {
.target = {
- .u.user = {
- .target_size = IPT_ALIGN(sizeof(struct ipt_error_target)),
- .name = IPT_ERROR_TARGET,
+ .u = {
+ .user = {
+ .target_size = IPT_ALIGN(sizeof(struct ipt_error_target)),
+ .name = IPT_ERROR_TARGET,
+ },
},
},
.errorname = "ERROR",
--
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@linux-ipv6.org>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.6.7-bk6 fails module compile -- iptable_raw.c
2004-06-23 13:42 ` 2.6.7-bk6 fails module compile -- iptable_raw.c YOSHIFUJI Hideaki / 吉藤英明
@ 2004-06-23 14:45 ` Pete Clements
2004-06-23 15:00 ` David S. Miller
1 sibling, 0 replies; 3+ messages in thread
From: Pete Clements @ 2004-06-23 14:45 UTC (permalink / raw)
To: YOSHIFUJI Hideaki / [?iso-2022-jp?]
Cc: davem, clem, linux-kernel, netdev, netfilter-devel
Patches and compiles. Thanks.
--
Pete Clements
Quoting YOSHIFUJI Hideaki / [?iso-2022-jp?]
> In article <200406231256.IAA28505@clem.clem-digital.net> (at Wed, 23 Jun 2004 08:56:08 -0400 (EDT)), Pete Clements <clem@clem.clem-digital.net> says:
>
> > FYI: (gcc version 2.95.4)
> >
> > CC [M] net/ipv4/netfilter/iptable_raw.o
> > net/ipv4/netfilter/iptable_raw.c:57: unknown field `target_size' specified in initializer
> > net/ipv4/netfilter/iptable_raw.c:57: warning: missing braces around initializer
> > net/ipv4/netfilter/iptable_raw.c:57: warning: (near initialization for `initial_table.entries[0].target.target.u')
> > net/ipv4/netfilter/iptable_raw.c:71: unknown field `target_size' specified in initializer
> > net/ipv4/netfilter/iptable_raw.c:85: unknown field `user' specified in initializer
> > net/ipv4/netfilter/iptable_raw.c:87: unknown field `name' specified in initializer
> > net/ipv4/netfilter/iptable_raw.c:87: warning: excess elements in union initializer
> > net/ipv4/netfilter/iptable_raw.c:87: warning: (near initialization for `initial_table.term.target.target.u')
> > make[3]: *** [net/ipv4/netfilter/iptable_raw.o] Error 1
> > make[2]: *** [net/ipv4/netfilter] Error 2
> > make[1]: *** [net/ipv4] Error 2
> > make: *** [net] Error 2
>
> Please try this.
>
> ===== net/ipv4/netfilter/iptable_raw.c 1.2 vs edited =====
> --- 1.2/net/ipv4/netfilter/iptable_raw.c 2004-06-22 06:39:19 +09:00
> +++ edited/net/ipv4/netfilter/iptable_raw.c 2004-06-23 22:35:44 +09:00
> @@ -54,7 +54,9 @@
> },
> .target = {
> .target = {
> - .u.target_size = IPT_ALIGN(sizeof(struct ipt_standard_target)),
> + .u = {
> + .target_size = IPT_ALIGN(sizeof(struct ipt_standard_target)),
> + },
> },
> .verdict = -NF_ACCEPT - 1,
> },
> @@ -68,7 +70,9 @@
> },
> .target = {
> .target = {
> - .u.target_size = IPT_ALIGN(sizeof(struct ipt_standard_target)),
> + .u = {
> + .target_size = IPT_ALIGN(sizeof(struct ipt_standard_target)),
> + },
> },
> .verdict = -NF_ACCEPT - 1,
> },
> @@ -82,9 +86,11 @@
> },
> .target = {
> .target = {
> - .u.user = {
> - .target_size = IPT_ALIGN(sizeof(struct ipt_error_target)),
> - .name = IPT_ERROR_TARGET,
> + .u = {
> + .user = {
> + .target_size = IPT_ALIGN(sizeof(struct ipt_error_target)),
> + .name = IPT_ERROR_TARGET,
> + },
> },
> },
> .errorname = "ERROR",
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.6.7-bk6 fails module compile -- iptable_raw.c
2004-06-23 13:42 ` 2.6.7-bk6 fails module compile -- iptable_raw.c YOSHIFUJI Hideaki / 吉藤英明
2004-06-23 14:45 ` Pete Clements
@ 2004-06-23 15:00 ` David S. Miller
1 sibling, 0 replies; 3+ messages in thread
From: David S. Miller @ 2004-06-23 15:00 UTC (permalink / raw)
To: yoshfuji; +Cc: clem, linux-kernel, netdev, netfilter-devel
On Wed, 23 Jun 2004 22:42:03 +0900 (JST)
YOSHIFUJI Hideaki / ^[$B5HF#1QL@^[(B <yoshfuji@linux-ipv6.org> wrote:
> > net/ipv4/netfilter/iptable_raw.c:57: unknown field `target_size' specified in initializer
...
> Please try this.
>
> ===== net/ipv4/netfilter/iptable_raw.c 1.2 vs edited =====
> --- 1.2/net/ipv4/netfilter/iptable_raw.c 2004-06-22 06:39:19 +09:00
> +++ edited/net/ipv4/netfilter/iptable_raw.c 2004-06-23 22:35:44 +09:00
Applied, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-06-23 15:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200406231256.IAA28505@clem.clem-digital.net>
2004-06-23 13:42 ` 2.6.7-bk6 fails module compile -- iptable_raw.c YOSHIFUJI Hideaki / 吉藤英明
2004-06-23 14:45 ` Pete Clements
2004-06-23 15:00 ` David S. Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).