compile error for netfilter-0.1.5

Thomas Molina tmolina@home.com
Tue, 31 Aug 1999 12:12:59 -0500 (CDT)


OK, I'm an idiot; please tell me what I've done wrong (KERNEL_DIR is set
correctly in Makefile):

[root@wr5z netfilter-0.1.5]# make
cc -O -g -DFAST_TIMEOUTS -DDEBUG_CONNTRACK -Wall -Wunused -Iinclude/
-I/usr/src/linux/include -D__KERNEL__ -DALWAYS_IN_INTERRUPT -DMODULE
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
packet-filter/kernel/ip_tables.c -c
-o packet-filter/kernel/ip_tables.o
packet-filter/kernel/ip_tables.c:997: storage class specified for
parameter `init'
packet-filter/kernel/ip_tables.c:998: warning: return-type defaults to
`int'
packet-filter/kernel/ip_tables.c: In function `init_module':
packet-filter/kernel/ip_tables.c:1057: warning: implicit declaration of
function `init'
make: *** [packet-filter/kernel/ip_tables.o] Error 1