Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Oct 1998 11:07:07 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Steve Friedrich <SteveFriedrich@Hot-Shot.com>, Brendan Kosowski <brendan@bmk.com.au>, FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Problem with C compile on FreeBSD 2.2.5
Message-ID:  <19981026110707.A16609@freebie.lemis.com>
In-Reply-To: <199810251552.KAA10734@laker.net>; from Steve Friedrich on Sun, Oct 25, 1998 at 10:50:24AM -0500
References:  <199810251552.KAA10734@laker.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <math.h>.
>
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981026110707.A16609>