Date: Sat, 06 Jul 1996 08:18:12 +0100 From: "Gary Palmer" <gpalmer@FreeBSD.ORG> To: Michael Searle <searle@longacre.demon.co.uk> Cc: questions@freefall.freebsd.org Subject: Re: C libraries Message-ID: <20767.836637492@palmer.demon.co.uk> In-Reply-To: Your message of "Fri, 05 Jul 1996 20:24:18 -0000." <mE9178E39@longacre.demon.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Michael Searle wrote in message ID <mE9178E39@longacre.demon.co.uk>: > I have been having some problems getting C programs containing calls in > math.h to link - is there a special library I have to use? I wrote a test > program using sqrt(), but I get the same stuff for pow(), trig functions, > etc. I am using standard gcc 2.6.3 on FreeBSD 2.1R. Here is the test > program, the output I got from the linker, and my /usr/lib directory. Add `-lm' to the command line/ > Also, one of the programs also needed Motif (the Xm library) to compile. Is > there a free static version of the Motif library? (If so, where can I > download it from?) Motif is a commercial package. See http://www.Xinside.com/ for a supplier. Gary -- Gary Palmer FreeBSD Core Team Member FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20767.836637492>