public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Ford <david+challenge-response@blue-labs.org>
To: Andrew Walrond <andrew@walrond.org>
Cc: netfilter@lists.netfilter.org, linux-kernel@vger.kernel.org
Subject: Re: Iptables-1.2.9/10 compile failure with linux 2.6.7 headers
Date: Fri, 18 Jun 2004 12:10:04 -0400	[thread overview]
Message-ID: <40D313DC.7000202@blue-labs.org> (raw)
In-Reply-To: <200406181611.37890.andrew@walrond.org>

[-- Attachment #1: Type: text/plain, Size: 1017 bytes --]

Iptables should be using linux-libc-headers headers instead of kernel 
headers.

Remove -I$(KERNEL_DIR)/include from your makefile, see this patch here: 
http://ep09.pld-linux.org/~mmazur/linux-libc-headers/patches/iptables.patch 
<http://ep09.pld-linux.org/%7Emmazur/linux-libc-headers/patches/iptables.patch>

David

Andrew Walrond wrote:

>The addition of a
>	__user
>attribute to a line in
>	linux-2.6.7/include/linux/netfilter_ipv4/ip_tables.h
>causes iptables build to fail unless I export
>	CC="gcc -D__user= "
>
>Presumably ip_tables.h should include a header defining __user, or iptables 
>should include the relevant header before ip_tables.h ?
>
>Sorry if this has already been reported; Archive search found nothing on 
>either ML.
>
>Andrew Walrond
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at  http://www.tux.org/lkml/
>  
>

[-- Attachment #2: david+challenge-response.vcf --]
[-- Type: text/x-vcard, Size: 183 bytes --]

begin:vcard
fn:David Ford
n:Ford;David
email;internet:david@blue-labs.org
title:Industrial Geek
tel;home:Ask please
tel;cell:(203) 650-3611
x-mozilla-html:TRUE
version:2.1
end:vcard


  reply	other threads:[~2004-06-18 16:13 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-18 15:11 Iptables-1.2.9/10 compile failure with linux 2.6.7 headers Andrew Walrond
2004-06-18 16:10 ` David Ford [this message]
2004-06-18 16:21   ` Andrew Walrond
2004-06-18 16:39     ` David Ford
2004-06-18 16:56     ` Kalin KOZHUHAROV
2004-06-18 17:18       ` YOSHIFUJI Hideaki / 吉藤英明
2004-06-18 18:36         ` Kalin KOZHUHAROV
2004-06-18 22:51           ` YOSHIFUJI Hideaki / 吉藤英明
     [not found]         ` <200406191038.51118.andrew@walrond.org>
2004-06-19 16:35           ` YOSHIFUJI Hideaki / 吉藤英明
2004-06-19 18:59             ` David S. Miller
2004-06-18 17:46       ` Andrew Walrond
2004-06-18 18:35         ` Kalin KOZHUHAROV

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=40D313DC.7000202@blue-labs.org \
    --to=david+challenge-response@blue-labs.org \
    --cc=andrew@walrond.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netfilter@lists.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