Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Athan <netfilter@miggy.org>
To: Sabrina Lautier <slautier@lavache.com>
Cc: Netfilter mailing list <netfilter@lists.netfilter.org>
Subject: Re: error Invalid kernel header inluded in user space
Date: Mon, 10 Mar 2003 16:13:25 +0000	[thread overview]
Message-ID: <20030310161325.GJ1025@miggy.org> (raw)
In-Reply-To: <1047311307.3e6cb3cbf12c5@lavache.alinto.com>

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

On Mon, Mar 10, 2003 at 04:48:27PM +0100, Sabrina Lautier wrote:
> > When I try to compile here is the error I get:
> > 
> **********************************************************************
> > $ make KERNEL_DIR=/usr/src/kernel/linux
> > Extentions found:
> > cc -02 ...
> > In file included from
> > /usr/src/kernel/linux/include/linux/config.h:4,
> > from /usr/src/kernel/linux/include/linux/netfilter_ipv4.h:8,
> > from
> > /usr/src/kernel/linux/include/linux/netfilter_ipv4/iptables.h:25,
> > from include/libiptc.h:6,
> > from include/iptables.h:5,
> > from extentions/libipt_ah.c:8,
> > /usr/include/linux/autoconf.h:1:2: #error Invalid kernel
> > header
> > inluded in user space
> > make: ** [extentions/libipt_ah_sh.o] Error 1

  This implies something is defining __KERNEL__ (or not) when it
shouldn't (or should) be.  Yes, I'm being vague as I've not tried it
myself.  I notice the "cc -O2 ..." above, the full line might help.
Also the actual error is from "/usr/include/linux/autoconf.h", do
symlinks make that the same as
"/usr/src/kernel/linux/include/linuxautoconf.h" or is it part of some
'stub' headers package on your system?  A mismatch could cause such a
problem.

-Ath
-- 
- Athanasius = Athanasius(at)miggy.org / http://www.miggy.org/
                  Finger athan(at)fysh.org for PGP key
	   "And it's me who is my enemy. Me who beats me up.
Me who makes the monsters. Me who strips my confidence." Paula Cole - ME

[-- Attachment #2: Type: application/pgp-signature, Size: 240 bytes --]

      reply	other threads:[~2003-03-10 16:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-07 10:58 error Invalid kernel header inluded in user space Sabrina Lautier
2003-03-10 15:48 ` Sabrina Lautier
2003-03-10 16:13   ` Athan [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=20030310161325.GJ1025@miggy.org \
    --to=netfilter@miggy.org \
    --cc=netfilter@lists.netfilter.org \
    --cc=slautier@lavache.com \
    /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