Package: linux-libc-dev
Version: 2.6.25-1
Severity: serious

Hi,

It seems like netfilter.h should include linux/types.h. In 2.6.25-1, the
following was added to it:
> enum nf_inet_hooks {
>  NF_INET_PRE_ROUTING,
>  NF_INET_LOCAL_IN,
>  NF_INET_FORWARD,
>  NF_INET_LOCAL_OUT,
>  NF_INET_POST_ROUTING,
>  NF_INET_NUMHOOKS
> };
> 
> union nf_inet_addr {
>  __u32 all[4];
>  __be32 ip;
>  __be32 ip6[4];
>  struct in_addr in;
>  struct in6_addr in6;
> };

Leading to build failures of a few packages, including transproxy:
gcc -O2 -Wall -DDNS_LOOKUPS -DLOG_FAULTS_TO_SYSLOG -DLOG_TO_FILE
-DLOG_TO_FILE_LINEBUFF -DIPTABLES -DTCP_WRAPPERS -c tproxy.c -o tproxy.o
In file included from /usr/include/linux/netfilter_ipv4.h:8,
                 from tproxy.c:53:
 /usr/include/linux/netfilter.h:40: error: expected specifier-qualifier-list 
before '__u32'
-- 
| Lucas Nussbaum
| [EMAIL PROTECTED]   http://www.lucas-nussbaum.net/ |
| jabber: [EMAIL PROTECTED]             GPG: 1024D/023B3F4F |



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to