I am still having the same problem.  Google searching doesn't help me 
much.  I really would like to get iptables running on my machine(s) so 
that I can continue with my BLFS build(s) while having access to the 
internet.

I have tried as Dan suggested and changed KERN_DIR=. and still get the 
same error.  Is there by chance a patch of some sort for this?
> /I am having problems compiling iptables.
> />/
> />/ First of all, I am using a new install of LFS 6.3 via the Live CD.  I am
> />/ working on two different computers and having the same issue on both.  I
> />/ did do the automated jhalfs build on both (for LFS), and have tried to
> />/ retrace to see if there might be an issue with that (the install(s) went
> />/ fine with the exception of the kernel which I did manually).
> />/
> />/ The version of BLFS that I am using is 6.2.0.
> />/
> />/ The problem that I am getting is as follows.  I entered the commands as
> />/ stated in the book, and get the following two errors when compiling.
> />/
> />/ 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'
> /
> Yeah, those headers got removed in the 2.6.22 series.
>
> >/ My first thought was maybe there was a conflict because the
> />/ KERN_DIR=/usr part of the command points to the sanitized headers in
> />/ /usr rather than the kernel source headers from my running kernel, so I
> />/ changed that parameter to KERNEL_DIR=/usr/src/linux-2.6.23.12 and still
> />/ got the same error.
> /
> Try `make KERNEL_DIR=.' to use the headers shipped in the tarball. I
> used that last time I built iptables and it seemed to come out
> correctly.
>
> --
> Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to