WRONG. I'm using "-lm " in my linking command and have absolutely no
unresolved symbols coming from that.
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).
Norm
> -----Original Message-----
> From: Jan Albiez [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, November 27, 2001 8:03 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [rtl] fputs, stderr
>
> On Tue, Nov 27, 2001 at 08:07:49AM +0100, Back Michael (extern) wrote:
> > I have the same problem and I am maybe on the way to find out what is
> wrong.
> > I think these unresolved symbol are from the math-lib
> > /usr/lib/libm.... and so on.
> > Do you use this lib too ?
>
> This is quite a common problem if you want to use the mathlib supplied
> with
> the clib. libm uses fputs and stderr for mathematical error output.
>
> If you want to use mathematical functions in RT I recommend the rt_math
> module comming with mca2. Just look at
> http://sourceforge.net/projects/mca2/
> and download the rt_math module seperately.
>
> 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/
-- [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/