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

Pranav Desai pranavadesai at gmail.com
Fri Jun 29 21:17:43 CEST 2007


Hello,

I am trying to compile the cttproxy-2.6.20-2.0.6 with the 2.6.20
kernel, and I get the compile error given below.

This is the case only when I apply the following patches.
01-nat_reservations.patch
02-tproxy.patch

If I apply the third patch it compiles fine.
03-nat_delete.patch

But the README suggests that I probably dont need the third patch. Is
the README outdated or am I doing something wrong. Is is ok to add the
03 patch ?

I have enabled tproxy as a module and nat reservation is compiled in the kernel.

Thank you for your time.

-- Pranav

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


-- 

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


More information about the tproxy mailing list