2.5.44 compile failure, net/ipv4/raw.c
gcc -Wp,-MD,net/ipv4/.raw.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -Iarch/i386/mach-generic -nostdinc -iwithprefix include
-DKBUILD_BASENAME=raw -c -o net/ipv4/raw.o net/ipv4/raw.cnet/ipv4/raw.c: In function `raw_send_hdrinc':net/ipv4/raw.c:297: `NF_IP_LOCAL_OUT' undeclared (first use in this function)net/ipv4/raw.c:297: (Each undeclared identifier is reported only once net/ipv4/raw.c:297: for each function it appears in.)
Change the "#include <linux/netfilter.h" in net/ipv4/raw.c to "#include <linux/netfilter_ipv4.h"
already fixed (was 2.5.44 compile failure, net/ipv4/raw.c)
In reply to Helge HaftingSkip Ford <[email protected]> already replied for this :
net/ipv4/raw.c needs to include netfilter_ipv4.h instead of just netfilter.h
net/ipv4/raw.c Sat Oct 19 00:47:11 2002 renamed from net/ipv4/raw.c~ Sat Oct 19 00:47:05 2002 +0 -0
@@ -64,7 +64,7 @@
#include <net/raw.h>
#include <net/inet_common.h>
#include <net/checksum.h>
-#include <linux/netfilter.h>
+#include <linux/netfilter_ipv4.h>
struct sock *raw_v4_htable[RAWV4_HTABLE_SIZE];rwlock_t raw_v4_lock = RW_LOCK_UNLOCKED;
Regards,
Signature · 2 lines
Thierry Mallard http://vawis.net