From owner-freebsd-hackers Mon Mar 24 05:50:55 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA08374 for hackers-outgoing; Mon, 24 Mar 1997 05:50:55 -0800 (PST) Received: from phobos.illtel.denver.co.us (abelits@phobos.illtel.denver.co.us [207.33.75.1]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA08367 for ; Mon, 24 Mar 1997 05:50:52 -0800 (PST) Received: from localhost (abelits@localhost) by phobos.illtel.denver.co.us (8.8.5/8.6.9) with SMTP id FAA17000; Mon, 24 Mar 1997 05:56:17 -0800 Date: Mon, 24 Mar 1997 05:56:17 -0800 (PST) From: Alex Belits To: Obi Wan Oblivion cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Problems with math.h In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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