From: Pete Clements <clem@clem.clem-digital.net>
To: yoshfuji@linux-ipv6.org (YOSHIFUJI Hideaki / [?iso-2022-jp?])
Cc: davem@redhat.com, clem@clem.clem-digital.net,
linux-kernel@vger.kernel.org, netdev@oss.sgi.com,
netfilter-devel@lists.netfilter.org
Subject: Re: 2.6.7-bk6 fails module compile -- iptable_raw.c
Date: Wed, 23 Jun 2004 10:45:00 -0400 (EDT) [thread overview]
Message-ID: <200406231445.KAA29786@clem.clem-digital.net> (raw)
In-Reply-To: <20040623.224203.122414746.yoshfuji@linux-ipv6.org> from "YOSHIFUJI Hideaki / [?iso-2022-jp?]" at "Jun 23, 2004 10:42: 3 pm"
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",
>
next prev parent reply other threads:[~2004-06-23 14:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-23 12:56 Pete Clements
2004-06-23 13:42 ` YOSHIFUJI Hideaki / 吉藤英明
2004-06-23 14:45 ` Pete Clements [this message]
2004-06-23 15:00 ` David S. Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200406231445.KAA29786@clem.clem-digital.net \
--to=clem@clem.clem-digital.net \
--cc=davem@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@oss.sgi.com \
--cc=netfilter-devel@lists.netfilter.org \
--cc=yoshfuji@linux-ipv6.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome