netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jesper Dangaard Brouer <jdb@comx.dk>
To: Patrick McHardy <kaber@trash.net>
Cc: yasuyuki@netfilter.org,
	Netfilter Developers <netfilter-devel@vger.kernel.org>
Subject: Re: [FIX] Re: Make/compile error for iptables-1.4.0rc1
Date: Fri, 23 Nov 2007 15:30:01 +0100	[thread overview]
Message-ID: <1195828201.3866.20.camel@localhost.localdomain> (raw)
In-Reply-To: <47455A68.3030309@trash.net>

On Thu, 2007-11-22 at 11:31 +0100, Patrick McHardy wrote:
> Jesper Dangaard Brouer wrote:
> > On Wed, 2007-11-21 at 08:53 +0100, Patrick McHardy wrote:
> >> Jesper Dangaard Brouer wrote:
> >>> The problem is that "linux/netfilter/x_tables.h" got included in SVN
> >>> (changeset 6920).  The fix is to delete it from SVN, so that the systems
> >>> "x_tables.h" has effect again.
> >>>
> >>> Can someone with SVN write access fix this?
> >>>
> >>>   "svn rm include/linux/netfilter/x_tables.h"
> >>
> >> Actually the fix is the other way around, we want to be able to
> >> build iptables without having kernel sources locally. So I
> >> guess the x_tables.h file should be resynced or something?
> > 
> > If thats what you want, we need to add ip_tables.h in
> > include/linux/netfilter_ipv4/.  Its the interaction between ip_tables.h
> > and x_tables.h that screw things up.
> 
> Since you seem to be able to test it, would you care to send a patch? :)

You can see/test it your self by logging in on people.netfilter.org and
compile iptables-1.4.0rc1.

Okay, I'll post a patch.  It should be a quite simple task, of adding
include/linux/netfilter_ipv4/ip_tables.h and
include/linux/netfilter/x_tables.h from kernel source.

BUT before posting the patch I'll first test it, on debian and Gentoo
again.

> > Both ip_tables.h and x_tables.h are part of the kernel source code.
> > Thare might be some dependencies to specific kernel, so it might not be
> > wise to include the files in SVN as we make a dependency to this
> > specific kernel, and we also needs to keep them in sync.
> 
> The interface between userspace and kernel is stable, there's no
> risk by including those files.

If you say so, we'll add the files to SVN / the iptables package.


-- 
Med venlig hilsen / Best regards
  Jesper Brouer
  ComX Networks A/S
  Linux Network developer
  Cand. Scient Datalog / MSc.
  Author of http://adsl-optimizer.dk
  LinkedIn: http://www.linkedin.com/in/brouer

  reply	other threads:[~2007-11-23 14:31 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-16 20:32 Make/compile error for iptables-1.4.0rc1 Jesper Dangaard Brouer
2007-11-16 21:34 ` Jan Engelhardt
2007-11-18 12:49   ` Jesper Dangaard Brouer
2007-11-18 14:23     ` Jesper Dangaard Brouer
2007-11-20 23:10       ` [FIX] " Jesper Dangaard Brouer
2007-11-21  7:53         ` Patrick McHardy
2007-11-21 11:21           ` Jan Engelhardt
2007-11-21 19:30           ` Jesper Dangaard Brouer
2007-11-22 10:31             ` Patrick McHardy
2007-11-23 14:30               ` Jesper Dangaard Brouer [this message]
2007-11-23 16:16                 ` [PATCH] Fix make/compile " Jesper Dangaard Brouer
2007-11-23 16:38                   ` Jan Engelhardt
2007-11-25 15:13                   ` Patrick McHardy
2007-11-26  5:55                     ` Yasuyuki KOZAKAI
     [not found]                     ` <200711260555.lAQ5tXS0025231@toshiba.co.jp>
2007-11-26  6:23                       ` Patrick McHardy

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=1195828201.3866.20.camel@localhost.localdomain \
    --to=jdb@comx.dk \
    --cc=kaber@trash.net \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=yasuyuki@netfilter.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;
as well as URLs for NNTP newsgroup(s).