* Problem compiling 2.5.44 (net/ipv4/raw.c)
@ 2002-10-22 18:49 Juan M. de la Torre
2002-10-22 20:18 ` Alan Cox
0 siblings, 1 reply; 3+ messages in thread
From: Juan M. de la Torre @ 2002-10-22 18:49 UTC (permalink / raw)
To: linux-kernel
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).
Regards,
Juanma
--
/jm
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem compiling 2.5.44 (net/ipv4/raw.c)
2002-10-22 18:49 Problem compiling 2.5.44 (net/ipv4/raw.c) Juan M. de la Torre
@ 2002-10-22 20:18 ` Alan Cox
2002-10-23 14:33 ` Bjoern A. Zeeb
0 siblings, 1 reply; 3+ messages in thread
From: Alan Cox @ 2002-10-22 20:18 UTC (permalink / raw)
To: Juan M. de la Torre; +Cc: Linux Kernel Mailing List
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem compiling 2.5.44 (net/ipv4/raw.c)
2002-10-22 20:18 ` Alan Cox
@ 2002-10-23 14:33 ` Bjoern A. Zeeb
0 siblings, 0 replies; 3+ messages in thread
From: Bjoern A. Zeeb @ 2002-10-23 14:33 UTC (permalink / raw)
To: Alan Cox; +Cc: Linux Kernel Mailing List
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-10-23 14:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-22 18:49 Problem compiling 2.5.44 (net/ipv4/raw.c) Juan M. de la Torre
2002-10-22 20:18 ` Alan Cox
2002-10-23 14:33 ` Bjoern A. Zeeb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox