Linux Netfilter discussions
 help / color / mirror / Atom feed
From: vikrant <vikrant@saysnetsoft.com>
To: netfilter@lists.netfilter.org
Subject: Problem recompiling kernel with iptables v 1.3.2
Date: Thu, 25 Aug 2005 16:35:05 +0530	[thread overview]
Message-ID: <430DA5E1.3010106@saysnetsoft.com> (raw)

hi

I have mailed my problem earlier but nobody replied so i am sending it 
again hoping some response this time.

I trying to configure iptables with kernel but because of some problem i
am not able to do so.
Some information that i want to give are:-
Operating system - Cent OS4                  #My  operating system on
which i am trying to do
Current kernel version-  2.6.9-11.EL         #Result after running "uname
-r" command
Current iptables version - iptables v1.3.2   #Result after running
"iptables -V" command
-------------------------------------------------------------------
I have used the following command
--------------------------------------------------------------------
cd /usr/src/kernels
ls
2.6.9-11.EL-hugemem-i686       2.6.9-11.EL-smp-i686
2.6.9-11.EL-i686            2.6.9-5.0.3.EL-i686
cd ..
wget  http://iptables.org/downloads.html#iptables-1.3.2
bzip2 -cd iptables-1.3.2.tar.bz2 | tar xvf -
cd iptables-1.3.2/
make KERNEL_DIR=/usr/src/kernels/2.6.9-11.EL-i686/

#Problem occured after running this command

Extensions found: IPv4:recent cc -O2 -Wall -Wunused 
-I/usr/src/kernels/2.6.9-11.EL-i686//include-Iinclude/ 
-DIPTABLES_VERSION=\"1.3.2\"  -fPIC -o extensions/libipt_ah_sh.o -c 
extensions/libipt_ah.c In file included from
/usr/src/kernels/2.6.9-11.EL-i686//include/linux/netfilter_ipv4.h:8,from
/usr/src/kernels/2.6.9-11.EL-i686//include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_ah.c:8:
/usr/src/kernels/2.6.9-11.EL-i686//include/linux/config.h:6:2: #error
including kernel header in userspace; use the glibc headers instead!
make: *** [extensions/libipt_ah_sh.o] Error 1
-------------------------------------------------------------------------------------
  With regards
  Vikrant


                 reply	other threads:[~2005-08-25 11:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=430DA5E1.3010106@saysnetsoft.com \
    --to=vikrant@saysnetsoft.com \
    --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