From owner-freebsd-questions Sun Oct 25 16:38:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA04423 for freebsd-questions-outgoing; Sun, 25 Oct 1998 16:38:09 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA04416 for ; Sun, 25 Oct 1998 16:38:03 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id LAA07630; Mon, 26 Oct 1998 11:07:08 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id LAA19699; Mon, 26 Oct 1998 11:07:07 +1030 (CST) Message-ID: <19981026110707.A16609@freebie.lemis.com> Date: Mon, 26 Oct 1998 11:07:07 +1030 From: Greg Lehey To: Steve Friedrich , Brendan Kosowski , FreeBSD Questions Subject: Re: Problem with C compile on FreeBSD 2.2.5 References: <199810251552.KAA10734@laker.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199810251552.KAA10734@laker.net>; from Steve Friedrich on Sun, Oct 25, 1998 at 10:50:24AM -0500 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sunday, 25 October 1998 at 10:50:24 -0500, Steve Friedrich wrote: > On Sun, 25 Oct 1998 20:16:25 +1100 (EST), Brendan Kosowski wrote: > >> The C compiler on FreeBSD 2.2.5 will not let me comile an ANSI-C program >> that works fine on other ANSI-C compilers. >> >> The problem is with the trig. functions ( ie. sin, asin, etc... ). >> >> It says something like undefined symbol "_sin" referenced from text >> segment. >> >> I have included . > > Did you check to see if math.h is in fact in /usr/include ?? He did that by compiling. If it weren't there, he would have had a compiler error message. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message