From owner-freebsd-questions Sat Jun 21 16:49:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA26622 for questions-outgoing; Sat, 21 Jun 1997 16:49:48 -0700 (PDT) Received: from fallout.campusview.indiana.edu (fallout.campusview.indiana.edu [149.159.1.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA26617 for ; Sat, 21 Jun 1997 16:49:42 -0700 (PDT) Received: from localhost (jfieber@localhost) by fallout.campusview.indiana.edu (8.8.5/8.8.5) with SMTP id SAA23566; Sat, 21 Jun 1997 18:48:42 -0500 (EST) Date: Sat, 21 Jun 1997 18:48:42 -0500 (EST) From: John Fieber To: Vladimir Kushnir cc: freebsd-questions@FreeBSD.ORG Subject: Re: xperfmon++ cannot perform realloc In-Reply-To: <33AC533C.41C67EA6@olinet.isf.kiev.ua> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sat, 21 Jun 1997, Vladimir Kushnir wrote: > Excuse me this stupid question, but where can I find this file > (src/leb/libc/stdlib/malloc.c from -current to rebuild a libc) without > having to d/l all of the FreeBSD-3.0 tree? (I would like to install > XFree86-3.3 with my 2.2.2-RELEASE, and preferably without a problems > with compilation) You need all of src/lib/libc for 2.2.2-release. Then get ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/src/lib/libc/stdlib/malloc.c and replace the malloc.c in the 2.2.2 libc. Compile and install. As always, it is a good idea to make a backup copy of your existing libc before installing the new one. A quicker workaround (but not a real solution) is to link the affected programs (knews and xperfmon++ are known victims so far) with gnumalloc. Just add `-L/usr/lib/compat -lgnumalloc' to the Makefile where the program is linked. -john