Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jun 1997 18:48:42 -0500 (EST)
From:      John Fieber <jfieber@indiana.edu>
To:        Vladimir Kushnir <kushn@olinet.isf.kiev.ua>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: xperfmon++ cannot perform realloc
Message-ID:  <Pine.BSF.3.96.970621184148.313E-100000@fallout.campusview.indiana.edu>
In-Reply-To: <33AC533C.41C67EA6@olinet.isf.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970621184148.313E-100000>