public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Matt Gibson <gothick@gothick.org.uk>
To: linux-kernel@vger.kernel.org
Subject: Re: 2.6.0-test9 compile error in iptable_filter.c (include/net/sock.h)
Date: Sun, 26 Oct 2003 08:37:04 +0000	[thread overview]
Message-ID: <200310260837.04195.gothick@gothick.org.uk> (raw)
In-Reply-To: <200310260004.57746.gothick@gothick.org.uk>

On Sunday 26 Oct 2003 00:04, I wrote:
>   CC [M]  net/ipv4/netfilter/iptable_filter.o
> In file included from include/linux/ip.h:84,
>                  from include/linux/netfilter_ipv4/ip_tables.h:22,
>                  from net/ipv4/netfilter/iptable_filter.c:7:
> include/net/sock.h:589: parse error before `size'
> include/net/sock.h:591: warning: function declaration isn't a prototype
> make[3]: *** [net/ipv4/netfilter/iptable_filter.o] Error 1
> make[2]: *** [net/ipv4/netfilter] Error 2
> make[1]: *** [net/ipv4] Error 2
> make: *** [net] Error 2
>
> I've not seen this one before; had no compile problems with any of the
> 2.6.0 series, in fact.  Config is unchanged from test8, and I did a "make
> clean" before building, just for luck...  I've had a very quick look and
> can't see anything obvious, but it's late and I'm tired.  

Well, that was weird.  I still couldn't see anything wrong this morning, so I 
commented out the line (declaration of sock_alloc_send_skb()), to see 
whether the compile error disappeared or moved on to the next line.  Built a 
little, and the include file didn't give any problems.  Stared at the header 
some more, and nothing seemed to make sense, as there are earlier 
declarations which start exactly the same.  So I used "undo" in Emacs to get 
the file back _exactly_ how it was in the first place, and saved it.

Then I did a "make clean" and "make" again, and it worked fine.  This was the 
point I started doubting my own sanity.  Especially after I'd checked the 
diff and saw that nothing in the area had been changed by the move from 8 to 
9.

I guess we can forget about that one.  Cosmic ray?

M

-- 
"It's the small gaps between the rain that count,
 and learning how to live amongst them."
	      -- Jeff Noon

      reply	other threads:[~2003-10-26 23:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-25 23:04 2.6.0-test9 compile error in iptable_filter.c (include/net/sock.h) Matt Gibson
2003-10-26  8:37 ` Matt Gibson [this message]

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=200310260837.04195.gothick@gothick.org.uk \
    --to=gothick@gothick.org.uk \
    --cc=linux-kernel@vger.kernel.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