Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Mar 1997 05:57:24 -0800 (PST)
From:      Alex Belits <abelits@phobos.illtel.denver.co.us>
To:        Obi Wan Oblivion <vdk@logrus.mv.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Problems with math.h
Message-ID:  <Pine.LNX.3.95.970324055420.16983A-100000@phobos.illtel.denver.co.us>
In-Reply-To: <Pine.BSF.3.91.970324075510.307E-100000@logrus.mv.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 24 Mar 1997, Obi Wan Oblivion wrote:

> I build this with "cc -g -o" and get an "Undfined symbol _sqrt".  Are 
> these math functions not in the standard library, or am I doing something 
> really bone-headed?

  Add -lm to options, so it will link math library libm.so

--
Alex




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.95.970324055420.16983A-100000>