On Thursday, January 8, 2004, at 04:07 PM, Antony Stone wrote:
On Thursday 08 January 2004 8:05 pm, Peter Schobel wrote:
ok, I downloaded the source ball for iptables 1.2.9, and compiled using
make KERNEL_DIR=/usr/src/linux-2.6.0-1.107
i got an error from config.h telling me to use the glibc version so i symlinked /usr/src/linux-2.6.0-1.107 to /usr/include/linux/config.h
I'm not sure I like the implications of this - what version of the kernel
headers do you have in /usr/include/linux?
I'm using the kernel-source rpm package that matches my kernel package
kernel-source-2.6.0-1.107
this is what my original config.h file looks like
#ifndef _LINUX_CONFIG_H #define _LINUX_CONFIG_H
#include <linux/autoconf.h>
#ifndef __KERNEL__
#error including kernel header in userspace; use the glibc headers instead!
#endif
#endif
***************************** Peter Schobel Network Administrator Porchlight.ca Unlimited Internet ***************************** In a world without walls or fences We will have no need for gates or windows *****************************