On Tue, 10 May 2005, Gaylord Van Brocklin wrote:
On FreeBSD 4.10-STABLE (as of Dec 2nd) gcc version 2.95.4 20020320 [FreeBSD]
I get the following error when compiling:
source='stmem.c' object='stmem.o' libtool=no depfile='.deps/stmem.Po' tmpdepfile='.deps/stmem.TPo' depmode=gcc /bin/sh ../cfgaux/depcomp gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/squid.conf\" -I. -I. -I../include -I. -I. -I../include -I../include -g -O2 -Wall -c `test -f stmem.c || echo './'`stmem.c
stmem.c:70: conflicting types for `stmemFreeDataUpto'
protos.h:863: previous declaration of `stmemFreeDataUpto'
Any patches applied?
If so, which and from what dates?
My guess is that you have a partially applied or out of date 2GB patch in your source tree, causing the function to be inconsistently declared.
I have verified the declaration in both Squid-2.5.STABLE9, Current CVS and Squid-2.5.STABLE9 + all patches and in all is it consistent.
Regards Henrik