Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!news-peer.sprintlink.net!news.sprintlink.net!sprint!uunet!in2.uu.net!140.142.64.3!news.u.washington.edu!root
From: kargl@troutmask.apl.washington.edu (Steven G. Kargl)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: gnumalloc question (where is it?:)
Date: 30 Apr 1997 22:43:54 GMT
Organization: University of Washington
Lines: 33
Message-ID: <5k8hva$r1g@nntp6.u.washington.edu>
References: <3367893D.41C67EA6@artorius.sunflower.com>
NNTP-Posting-Host: troutmask.apl.washington.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:40050
In article <3367893D.41C67EA6@artorius.sunflower.com>,
"Stephen D. Spencer" <gladiatr@artorius.sunflower.com> writes:
> Greetings!
>
> Note: I am using FreeBSD 2.2.1-R
>
> I seem to have a problem when trying to compile any source code that is
> prepared to be compiled with gnu development tools. My current project
> is the experimentation with X11R6.3; though, this problem has occured
> with other source bundles.
>
> [truncated]
> gcc -o imake -m486 -O2 -fno-strength-reduce -pipe imake.o
> -L/usr/X11R6.3/lib -lgnumalloc
> ld: -lgnumalloc: no match
> *** Error code 1
(1) You do not need -fno-strength-reduce.
(2) -lgnumalloc tells the loader to look for libgnumalloc.a in
/usr/lib and in -L/usr/X11R6.3/lib. You seemed have named your
library libmalloc.a.
(3) The default malloc() and company on FreeBSD 2.2.1, written
by Poul Henning-Kamp (sp?), is *probably* a better choice for
FreeBSD. RTFM malloc(3) and see /usr/share/doc/papers/malloc.ascii.
--
Steve
finger kargl@troutmask.apl.washington.edu
http://troutmask.apl.washington.edu/~kargl/sgk.html