lkml.org 
[lkml]   [2002]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Problem compiling 2.5.44 (net/ipv4/raw.c)
On 22 Oct 2002, Alan Cox wrote:

> On Tue, 2002-10-22 at 19:49, Juan M. de la Torre wrote:
> >
> > net/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.)
> > make[2]: *** [net/ipv4/raw.o] Error 1
> > make[1]: *** [net/ipv4] Error 2
> > make: *** [net] Error 2
> >
> > net/ipv4/raw.c includes linux/netfilter.h, but not linux/netfilter_ipv4.h
> > (NF_IP_LOCAL_OUT is defined in netfilter_ipv4.h).
>
> Fixed in -ac1 - you can just grab the net/ipv4/raw.c fix if need be


Please remove include for netfilter.h as this is already included in
netfilter_ipv4.h.

--- linux/net/ipv4/raw.c.orig Tue Oct 22 15:20:07 2002
+++ linux/net/ipv4/raw.c Tue Oct 22 21:16:17 2002
@@ -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;
--
Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT
56 69 73 69 74 http://www.zabbadoz.net/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.128 / U:0.628 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site