problems compiling netfiler with linux 2.3.21

Paul Rusty Russell Paul.Russell@rustcorp.com.au
Tue, 19 Oct 1999 10:47:28 +0930


In message <199910151606.MAA08390@smtp13.bellglobal.com> you write:
> First of all, /usr/src/linux/include/linux/modules.h complains it can't
> find modversions.h .  I guess it's missing so I remmed it out.  It
> didn't give any problems.  

Hi Samuel,

	My first suspicion is that your 2.3.21 kernel is not in
/usr/src/linux: you can use `KERNEL_DIR=' on the `make' line to
correct this if so.

> Then when compiling ip_conntrack_standalone.c , it doesn't find the
> structure named nf_hook_ops, eventhough it's somewhere in
> ip_tables_usersupp.h which is not included anywhere.  So I'm guessing
> some #includes are missing somewhere, but where?

The real definition is in the kernel sources.

Rusty.
--
Hacking time.