Problems installing iptables

john captain.deadly at gmail.com
Wed Feb 6 04:34:47 PST 2008


Following the instructions for installing iptables and get an error.
Think I may be specifing
my kernel directory wrong?

As an ordinary user I execute:

make PREFIX=/usr LIBDIR=/lib BINDIR=/sbin KERNEL_DIR=/usr/src/linux-2.6.22.5

and then as root I do:

make PREFIX=/usr LIBDIR=/lib BINDIR=/sbin
KERNEL_DIR=/usr/src/linux-2.6.22.5 install
Making dependencies: please wait...
Unable to resolve dependency on linux/netfilter_ipv4/ip_conntrack.h.
Try 'make clean'.
Unable to resolve dependency on linux/netfilter_ipv4/ip_nat_rule.h.
Try 'make clean'.

I've tried a make clean as suggested but still get the same error. I
looked in the INSTALL
file of ipheaders which stated that KERNEL_DIR should point to the
directory where I
build the kernel which was /usr/src/linux-2.6.22.5

Any help gratefully received.

John



More information about the blfs-support mailing list