[squid-users] Patching Squid 2.6 icap patch with Squid-2.6.STABLE10 - problem

From: selvi <selvi.success@dont-contact.us>
Date: Fri, 25 Jan 2008 17:26:29 +0530

Hello All,

I am in the process of patching Squid 2.6 icap with Squid-2.6.STABLE10
version.

Squid 2.6 icap patch is taken from
http://devel.squid-cache.org/cgi-bin/diff2/icap-2_6.patch

I had one rejection in client_side.c and i had done that change manually.

But when i issue the command 'make', i am getting the following errors.

I would like to know whether the icap-patch i am using is correct or not.

http.c: In function âhttpAppendBodyâ:
http.c:649: warning: passing argument 2 of âicapRespModAddBodyDataâ
discards qualifiers from pointer target type
http.c:661: warning: passing argument 2 of âicapRespModAddBodyDataâ
discards qualifiers from pointer target type
http.c: In function âhttpSendCompleteâ:
http.c:1144: error: incompatible type for argument 2 of âstoreCreateEntryâ
http.c:1144: error: incompatible type for argument 3 of âstoreCreateEntryâ
http.c:1144: error: too few arguments to function âstoreCreateEntryâ
make[3]: *** [http.o] Error 1
make[3]: Leaving directory `/usr/local/squid/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/squid/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/squid/src'
make: *** [all-recursive] Error 1

Thanks in advance,
Selvi
Received on Fri Jan 25 2008 - 04:57:33 MST

This archive was generated by hypermail pre-2.1.9 : Fri Feb 01 2008 - 12:00:05 MST