From owner-freebsd-questions Sun Oct 25 01:17:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA21181 for freebsd-questions-outgoing; Sun, 25 Oct 1998 01:17:03 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from garfield.bmk.com.au (bmkind.lnk.telstra.net [139.130.51.118]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA21173 for ; Sun, 25 Oct 1998 01:16:59 -0800 (PST) (envelope-from brendan@bmk.com.au) Received: from localhost (brendan@localhost) by garfield.bmk.com.au (8.8.7/8.8.7) with SMTP id UAA07591 for ; Sun, 25 Oct 1998 20:16:25 +1100 (EST) (envelope-from brendan@bmk.com.au) Date: Sun, 25 Oct 1998 20:16:25 +1100 (EST) From: Brendan Kosowski X-Sender: brendan@garfield Reply-To: Brendan Kosowski To: FreeBSD Questions Subject: Problem with C compile on FreeBSD 2.2.5 Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1914072975-909306985=:7576" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 . 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: 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