Re: iptables compile error: NFC_IP_TOS undeclared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 10 Feb 2005, Jonas Berlin wrote:

> Alexander Piavka wrote:
>
> >gcc -O2 -Wall -Wunused -I/usr/src/linux-2.6.10-ct_sync-rc1/include
> >-Iinclude/ -DIPTABLES_VERSION=\"1.3.0rc1\"  -fPIC -o
> >extensions/libipt_dscp_sh.o -c extensions/libipt_dscp.c
> >extensions/libipt_dscp.c: In function `init':
> >extensions/libipt_dscp.c:29: error: `NFC_IP_TOS' undeclared (first use in
> >this function)
> >
> >
> Could you give the output of the following three commands (run them from
> your iptables-1.3.0rc1 source directory):
>
>   grep NFC_IP_TOS
> /usr/src/linux-2.6.10-ct_sync-rc1/include/linux/netfilter_ipv4.h
 no match

actually there is no match from  NFC_IP_TOS in the whole
/usr/src/linux-2.6.10-ct_sync-rc1/include subtree

>
>   grep netfilter_ipv4.h
> /usr/src/linux-2.6.10-ct_sync-rc1/include/linux/netfilter_ipv4/ip_tables.h
#include <linux/netfilter_ipv4.h>

>
>   grep ip_tables.h extensions/libipt_dscp.c

#include <linux/netfilter_ipv4/ip_tables.h>
>
> That could help solve the problem.
>
> --

 Thanks



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux