I am trying to compile Squid-2.5.3 on RedHat Linux 9.0 (kernel 2.4.21 with ip_wccp.patch patched into the precompile includes). I ran the wccpv2.patch against the precompiled squid source and ran the configure script with --linux-netfilter , --delay-pools, --snmp, and --wccpv2 options enabled. When I run 'make all' I get the following errors from the wccpv2 mod:
wccpv2.c || echo './'`wccpv2.c wccpv2.c: In function `wccp2HandleUdp': wccpv2.c:338: warning: unused variable `tmp' wccpv2.c: In function `wccp2AssignBuckets': wccpv2.c:483: parse error before "sizeof" wccpv2.c:483: parse error before ')' token wccpv2.c:442: warning: unused variable `wccp2_assign_bucket' wccpv2.c:443: warning: unused variable `buckets_per_cache' wccpv2.c:444: warning: unused variable `loop' wccpv2.c:445: warning: unused variable `number_caches' wccpv2.c:447: warning: unused variable `caches' wccpv2.c:448: warning: unused variable `offset' wccpv2.c:449: warning: unused variable `buckets' wccpv2.c:450: warning: unused variable `buf' make[3]: *** [wccpv2.o] Error 1 Is there a more current patch or am I doing something wrong??
