Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jun 1998 21:50:46 +0000
From:      Engelhard <engel@cbn.net.id>
To:        questions@FreeBSD.ORG
Subject:   Squid-1.2b22 compile error if Doug Lea malloc enabled
Message-ID:  <35805134.CE2AF935@cbn.net.id>

next in thread | raw e-mail | index | archive | help
I downloaded ports-current/www/squid12 and tried to compile it
on FreeBSD-2.2.6R.
It seems that 'sbrk' on /usr/include/unistd.h conflicts
with Doug Lea malloc, squid1.2beta22/lib/malloc-2.6.4.c
<snip from malloc-2.6.4.c> :
.....
  Define this if your system does not have a <unistd.h>.
  MORECORE                  (default: sbrk)
.....

I have no knowledge about C, how do I patch  malloc-2.6.4.c so it
would not define MORECORE ? 

thanks,
engel.

ps: please cc on me, I am not in the list.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35805134.CE2AF935>