[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BOUNCE rtl@rtlinux.org: Approval required: (fwd)



>From owner-rtl Thu Aug  2 10:02:15 2001
Received: from decatur.chara-array.org (pease.chara-array.org [66.52.63.43])
	by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f72G2Fs17136
	for <rtl@fsmlabs.com>; Thu, 2 Aug 2001 10:02:15 -0600
Received: from mtwilson.edu (IDENT:theo@localhost.localdomain [127.0.0.1])
	by decatur.chara-array.org (8.9.3/8.9.3) with ESMTP id IAA03410;
	Thu, 2 Aug 2001 08:59:04 -0700
Sender: theo@decatur.chara-array.org
Message-ID: <3B6978C8.34523ACC@mtwilson.edu>
Date: Thu, 02 Aug 2001 08:59:04 -0700
From: Theo ten Brummelaar <theo@mtwilson.edu>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.17-14 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: rtl@fsmlabs.com
Subject: Re: [rtl] using the sin function in rtlinux
References: <200108012132.RAA17826@puma.me.ttu.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Wayne Dunkel wrote:
> 
> I have included math.h in my source file, but gcc says that the reference to sin is undefined. what should I do?

Read a book on programing for the kernel. Functions like sin are not
available in kernel space. I would suggest using a lookup table of some
sort.

	Theo


-- 
                          Dr. Theo ten Brummelaar 
    The CHARA  Array-Georgia State University-Mount Wilson Observatory
    http://www.chara.gsu.edu/~theo  Ph: 626-796-5405 Fax: 626-796-6717

----- End of forwarded message from owner-rtl@fsmlabs.com -----