From owner-freebsd-questions Thu Jun 11 14:45:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA07512 for freebsd-questions-outgoing; Thu, 11 Jun 1998 14:45:37 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from comanche.cbn.net.id (comanche.cbn.net.id [202.158.2.137]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id OAA07485 for ; Thu, 11 Jun 1998 14:45:24 -0700 (PDT) (envelope-from engel@cbn.net.id) Received: (qmail 23509 invoked from network); 12 Jun 1998 04:44:36 -0000 Received: from tomahawk.cbn.net.id (HELO cbn.net.id) (engel@202.158.2.132) by comanche.cbn.net.id with SMTP; 12 Jun 1998 04:44:36 -0000 Message-ID: <35805134.CE2AF935@cbn.net.id> Date: Thu, 11 Jun 1998 21:50:46 +0000 From: Engelhard Reply-To: engel@cbn.net.id X-Mailer: Mozilla 4.04 [en] (X11; I; Linux 2.0.33 i586) MIME-Version: 1.0 To: questions@FreeBSD.ORG Subject: Squid-1.2b22 compile error if Doug Lea malloc enabled Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 : ..... Define this if your system does not have a . 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