[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Using sqrt() in RTEMS Task
- Date: Thu, 24 Jul 2008 09:18:01 +0200 (CEST)
- From: xcp at mixed-mode.de (Christian Poessinger)
- Subject: Using sqrt() in RTEMS Task
Hello,
is it possible to use the sqrt() call in RTEMS tasks, or is this function
only available to POSIX tasks? I tried including the math.h and appending
a -lm to my LIBS var in the Makefile but I always receive the error:
o-optimize/lat.o: In function `sTask':
/home/source/RTEMS/lat/lat.c:80: undefined reference to `sqrt'
collect2: ld returned 1 exit status
make: *** [o-optimize/lat.exe] Error 1
It looks like to me that math.h and libm.a could not be found.
Thanks.