Re: [squid-users] 2.5STABLE9 Compile Error

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 10 May 2005 23:07:18 +0200 (CEST)

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
Received on Tue May 10 2005 - 15:07:19 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Jun 01 2005 - 12:00:02 MDT