Hi Jochen,

yeah I saw the use of libc.a referred to in a previous post. I use:

ld -r -static -o kalman3 kalman3.o -L/usr/lib -lc -lm

I guess the libc.a is to link raise and errno, however even with the -lc
I still get unresolved symbol raise etc.  

I saw in another post from last month, that you recommend using inline
math functions.  Is this relatively easy to do ? Do you need to edit the
standard math.h header to use it or do you simply cut and post sections
of the inline header __math.h into your own code ?

Thanks,

Matt Garratt





Jochen Kuepper wrote:
> 
> On Die, 21 Dez 1999 Matt Garratt wrote:
> >Hi guys,
> >
> >Has anyone out there had trouble using inverse trigonomtric functions in
> >an RT process ? I can run most floating point functions in an RT Pthread
> >but as soon as I try asin, acos or sqrt of any values I get the errors
> >below.  Strangely enough atan2 works fine.
> >
> >./kalman3: unresolved symbol __getfpucw
> >./kalman3: unresolved symbol __errno_location
> >./kalman3: unresolved symbol raise
> 
> Link against libc.a ? Use "ld -r" :-)
> 
> -- Jochen
>         Heinrich-Heine-UniversitÓt, Institut f*r Physikalische Chemie I
>         UniversitÓtsstr. 1, Geb. 26.43.02.29, 40225 D*sseldorf, Germany
> phone 02118113681 fax 02118115195  --  www-public.rz.uni-duesseldorf.de/~jochen
> [EMAIL PROTECTED] -- [EMAIL PROTECTED] -- [EMAIL PROTECTED]

-- 
Matt Garratt 
Research Engineer 
Centre for Visual Sciences 
Australian National University 
http://cvs.anu.edu.au/CVS.html 
PO BOX 475 
Canberra ACT 2601 
Australia 
Ph: 61 2 6249 5145 
Fax: 61 2 6249 3808
--- [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/~rtlinux/

Reply via email to