[squid-users] wccpv2 problems

From: Allen Stringfellow <astring@dont-contact.us>
Date: Tue, 5 Aug 2003 21:41:42 -0500

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??
Received on Tue Aug 05 2003 - 20:44:58 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:18:43 MST