Hello, all,
Can someone let me know how to use sin() in my realtime task?
My OS is Redhat 5.2 with kernel 2.0.36.
In fact, I wrote the line
#include <math.h)
in my source file g2_m.cfor realtime module.
And use the following line to compile it.
cc -I/usr/src/rtlinux/linux/include -I//usr/src/rtlinux/rtl/include -Wall -W
strict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -D__RT__ -D_
_KERNEL__ -DMODULE -c -lm g2_m.c -o g2_m.o
but I got the following message:
cc: -lm: linker input file unused since linking not done.
Why?
thank you.
Wei DING
--- [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/
---
Wei DING [EMAIL PROTECTED]
--- [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/