[tproxy] Compile error with cttproxy-2.6.20-2.0.6, 2.6.20 kernel

Pranav Desai pranavadesai at gmail.com
Sat Jun 30 19:13:02 CEST 2007


On 6/30/07, Jan Engelhardt <jengelh at computergmbh.de> wrote:
>
> On Jun 29 2007 12:17, Pranav Desai wrote:
> >
> > =========== ERROR ============
> > CC [M]  net/ipv4/netfilter/ip_nat_core.o
> > net/ipv4/netfilter/ip_nat_core.c:49: warning: 'kmem_cache_t' is deprecated
> > net/ipv4/netfilter/ip_nat_core.c: In function '__ip_nat_reserved_new_hash':
> > net/ipv4/netfilter/ip_nat_core.c:322: error: 'hash' undeclared (first
> > use in this function)
> > net/ipv4/netfilter/ip_nat_core.c:322: error: (Each undeclared
> > identifier is reported only once
> > net/ipv4/netfilter/ip_nat_core.c:322: error: for each function it appears in.)
> > make[3]: *** [net/ipv4/netfilter/ip_nat_core.o] Error 1
> > make[2]: *** [net/ipv4/netfilter] Error 2
> > make[1]: *** [net/ipv4] Error 2
> > make: *** [net] Error 2
>
> Replace kmem_cache_t by "struct kmem_cache".
>

Thats just the warning. The error is with hash being not declared, its
'h' in the code, but the 3rd patch changes that back to 'hash' and
does a bunch of other changes, of which I am not sure about.

Thanks

-- Pranav

>
>         Jan
> --
>


-- 

------------------------------
http://pd.dnsalias.org


More information about the tproxy mailing list