problems running "make" on iptables-1.2.4
Chris Lawder
kosh@coastnet.com
Tue, 1 Jan 2002 20:57:14 -0400
Hi,
When doing "make KERNEL_DIR=/usr/src/linux/" or make with any other options
I keep getting the following error...
make: *** [/usr/src/linux/include/net/if.h] Error 1
I am trying to follow the Tutorial at:
http://www.linuxsecurity.com/resource_files/firewalls/IPTables-Tutorial/iptables-tutorial/iptables-tutorial.html
I believe I have properly compiled the kernel. I am using 2.4.17 but have
also tried 2.4.9 as that is what seems to be recommended for iptables-1.2.4.
if.h does seem to be in /usr/src/linux/include/linux/ but not where the files
in iptables-1.2.4 seem to want to look for it.
I have tried cp the file to where it wants to be found then get the same
error but with ethernet.h which is again in an entirely different place but
is wanting to be found in /usr/src/linux/include/net/. After that a "make"
gives a whole lot of other errors so I'm pretty sure that this isn't the way
to try and get around this, right?
Can someone point me towards what I am doing wrong here. I can provide more
info as well if needed.
Thank you in advance
Chris Lawder