On Tue, Nov 27, 2001 at 08:17:30AM -0700, Victor Yodaiken wrote:
> I would not be surprised if the fputs/stderr are problems
> introduced in a later, and poorly designed, libm.
I dont't think its because of pure design. libm is part of the libc and
therefore designed to run in userspace. There are quite some functions
inside libm which have quite limited ranges for their inputs (trigonometric
arcus functions for example) and it very good when you have an ouput
whenever the input is out of bounds. My problem there is: I can't switch it
of (or at least I have never found a way to do it without recompiling the
whole lib). That was when we introduced rt_math into mca2.
> On Tue, Nov 27, 2001 at 10:10:06AM -0500, Dresner, Norman A. wrote:
> > WRONG. I'm using "-lm " in my linking command and have absolutely no
> > unresolved symbols coming from that.
BOING. You are linking a kernel module ... the real linking is done when you
insmod the module, not when you link your object files.
> > However. If you want to use math functions, I'd recommend extracting and
> > using individual modules instead of the whole library to gain total control
> > over what your module contains (even though I don't seem to take my own
> > advice, I've got Real-Time systems that have been sufficiently debugged that
> > I'm not worried about it -- maybe I should be, but I'm not).
Well ... thats always the trade off, isn't it ? At our lab we prefer the
rt_math module while we are developping, because its easy (and by the way a
lot more compact if you are doing a complex robot control where math
functions are needed in quite some modules). For a monolitic one-module
system, I wouldn't recommend it.
blue skies
Jan
--
-- Jan Christian Albiez -- IDS Interactive Diagnosis- and Servicesystems --
-- FZI -- Haid-und-Neu-Str. 10-14 -- 76131 Karlsruhe -- +49 721 9654 206 --
-- segmentation violation in module reality.o ...
... please shutdown your universe and reboot --
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/