Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Oct 1998 20:16:25 +1100 (EST)
From:      Brendan Kosowski <brendan@bmk.com.au>
To:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Problem with C compile on FreeBSD 2.2.5
Message-ID:  <Pine.BSF.3.96.981025200814.7576A-200000@garfield>

next in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--0-1914072975-909306985=:7576
Content-Type: TEXT/PLAIN; charset=US-ASCII


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>.

Program attached.

Thanks & Regards, Brendan...

--0-1914072975-909306985=:7576
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="test.c"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.BSF.3.96.981025201625.7576B@garfield>
Content-Description: Program

DQojaW5jbHVkZSA8c3RkaW8uaD4NCiNpbmNsdWRlIDxzdGRsaWIuaD4NCiNp
bmNsdWRlIDxtYXRoLmg+DQoNCmludCBtYWluKHZvaWQpDQp7DQoJZG91Ymxl
IGEsIGI7DQoJDQoJYSA9IDAuNzg1Ow0KCWIgPSBzaW4oYSk7DQoJcHJpbnRm
KCIlZiIsIGIpOwkNCglyZXR1cm4gMDsNCn0=
--0-1914072975-909306985=:7576--

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?Pine.BSF.3.96.981025200814.7576A-200000>