[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
BOUNCE rtl@rtlinux.org: Approval required: (fwd)
- To: rtl@rtlinux.org
- Subject: BOUNCE rtl@rtlinux.org: Approval required: (fwd)
- From: Der Herr Hofrat <der.herr@hofr.at>
- Date: Thu, 2 Aug 2001 18:31:13 +0200 (CEST)
>From owner-rtl Thu Aug 2 10:23:27 2001
Received: from kanga.hofr.at (N729P005.adsl.highway.telekom.at [62.47.35.5])
by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f72GNPs17306
for <rtl@fsmlabs.com>; Thu, 2 Aug 2001 10:23:25 -0600
Received: (from hofrat@localhost)
by kanga.hofr.at (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) id f72GKxI23382
for rtl@fsmlabs.com; Thu, 2 Aug 2001 18:20:59 +0200
From: Der Herr Hofrat <der.herr@hofr.at>
Message-Id: <200108021620.f72GKxI23382@kanga.hofr.at>
Subject: Re: [rtl] using the sin function in rtlinux
In-Reply-To: <3B6978C8.34523ACC@mtwilson.edu> from Theo ten Brummelaar at "Aug
2, 2001 08:59:04 am"
To: rtl@fsmlabs.com
Date: Thu, 2 Aug 2001 18:20:59 +0200 (CEST)
X-Mailer: ELM [version 2.4ME+ PL60 (25)]
MIME-Version: 1.0
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.
>
if you statically link libc/libm in ,there is no problem with using math
functions - besids that it produces gigantic kernel modules ..
hofrat
----- End of forwarded message from owner-rtl@fsmlabs.com -----