Skip to contentSkip to conversation

compiling iplimit

DISCUSSION Kurt Tragant 1 participant 1 message Jan 13, 2003

lore
Share & tools
lore
#0 lore raw

Hello list,

I tried to compile iplimit into my kernel and failed: I took a 2.4.20 kernel and selected iplimit in patch-o-matic 20030107. Patch applied correctly. Then I selected "IP Limit" (make menuconfig) into the kernel (not a module) and recompiled the kernel. The compilation of kernel stopped with an error:

gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=ipt_iplimit -c -o ipt_iplimit.o ipt_iplimit.c
In file included from ipt_iplimit.c:15:
/usr/src/linux-2.4.20/include/linux/netfilter_ipv4/ip_conntrack_core.h: In function `ip_conntrack_confirm':
/usr/src/linux-2.4.20/include/linux/netfilter_ipv4/ip_conntrack_core.h:44:
`NF_ACCEPT' undeclared (first use in this function) /usr/src/linux-2.4.20/include/linux/netfilter_ipv4/ip_conn track_core.h:44: (Each undeclared identifier is reported only once /usr/src/linux-2.4.20/include/linux/netfilter_ipv4/ip_conntrack_core.h:44: for each function it appears in.) /usr/src/linux-2.4.20/include/linux/netfilter_ipv4/ip_conntrack_core.h:45:
warning: control reaches end of non-void function
make[3]: *** [ipt_iplimit.o] Fehler 1
make[3]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/linux-2.4.20/net/ipv4/netfilter«
make[2]: *** [first_rule] Fehler 2
make[2]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/linux-2.4.20/net/ipv4/netfilter«
make[1]: *** [_subdir_ipv4/netfilter] Fehler 2
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/linux-2.4.20/net«
make: *** [_dir_net] Fehler 2

For any hints I would be very thankful...

Regards
Kurt Tragant______________________________________________________________
Arcor-DSL Flatrate - jetzt kostenlos einsteigen und bis zu € 76,18 sparen! Arcor-DSL gibt es jetzt auch mit bis zu 1500 Mbit/s Downstream! HIER ANSCHAUEN!