From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sabrina Lautier Subject: error Invalid kernel header inluded in user space Date: Fri, 07 Mar 2003 11:58:45 +0100 Sender: netfilter-admin@lists.netfilter.org Message-ID: <1047034725.3e687b653bce1@lavache.alinto.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: Netfilter mailing list Hi all ! I'm following the "Linux IP Masqueade HowTo" to set up a linux router-firewall. I'm having trouble compiling iptables and I don't know how to solve my problem... I'm running linux redhat 7.3 with a 2.4.18-3 kernel but I've downloaded the latest kernel version (2.4.20) in order to compile it with iptables-1.2.7a and patch-o-matic kernel patches. 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 ********************************************************************** For information, I'm using gcc-2.96-110. I've tried to upgrade to gcc-3.2-7 but cannot find glibc-devel-2.2.90-12 required for this version of gcc (can someone tell me where to find it ?). Any idea of how to solve my issue ? Any help would be greatly appreciated. Regards, Sabrina --------------------------------------------- Powered by Alinto (http://www.alinto.net) for lavache.com (http://www.lavacheautomatique.com)