Problem compiling 2.5.44 (net/ipv4/raw.c)

Problem compiling 2.5.44 (net/ipv4/raw.c)

Post by Juan M. de la Torr » Wed, 23 Oct 2002 21:00:15



  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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

Problem compiling 2.5.44 (net/ipv4/raw.c)

Post by Alan Co » Wed, 23 Oct 2002 22:10:09



Quote:

>   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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

Problem compiling 2.5.44 (net/ipv4/raw.c)

Post by Bjoern A. Zee » Thu, 24 Oct 2002 16:50:05




> >   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

 #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

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. 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.c
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.)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. X.25 NPI load balancing

3. 2.5.44 net/ipv4/raw.c NF_IP_LOCAL_OUT undefined

4. lib

5. PnP compile problem on 2.5.44

6. Routing problem ...

7. 2.5.44 compile problem: MegaRAID driver

8. Is there a way to find the name of the machine I am on?

9. 2.5.44 : /proc/net/arp broken

10. 2.5.44-ac3 - don't compile.

11. 2.5.44 compile failure in include/linux/pnp.h

12. 2.5.44-mm(1|2) compile error

13. ipv4: move proc stuff from net/ipv4/af_inet.c to net/ipv4/proc.c