Re: [squid-users] dlmalloc.c:796: conflicting types for `sbrk'

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 13 Jun 2002 00:53:37 +0200

Is there any specific reason to why you think you need dlmalloc? The
native malloc is usually preferable unless it is known to have
problems..

But to answer your question: It is probably safe to comment out the
offending line of dlmalloc.c, or upgrading dlmalloc.c to a newer
version from the author.

Regards
Henrik

On Wednesday 12 June 2002 20:35, lucas@omsoft.com wrote:
> I am attempting to compile Squid2.4Stable3 with dlmalloc on FreeBSD
> 4.5. Running 'configure' works fine. However, when running 'make',
> I get the following error:
> ---
> dlmalloc.c:796: conflicting types for `sbrk'
> /usr/include/unistd.h:185: previous declaration of `sbrk'
> ---
Received on Wed Jun 12 2002 - 16:54:46 MDT

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