[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
math.h
- Date: Thu, 4 Sep 2003 22:55:33 +0800 (CST)
- From: doclzs at 21cn.com (Bert)
- Subject: math.h
Hi, here is a newbie's question:
i want RTEMS to do some simple calculations,
so there are functions like "sin(x)" and
"cos(x)" in the codes.
but when i compile the codes, it tells me
that "undefined reference to sin" and
"undefined reference to cos" ...
i have added "#include <math.h>" to the
source code, what else should i do?
Bert
----------------------------------------------
??????????????????????????????????????????????
http://y.21cn.com
21CN????????????????????????????????
http://news.21cn.com
????????????????????????????21CN??????????
http://mail.21cn.com/alliance/
????????????????????????????????
http://news.21cn.com/social/
- Follow-Ups:
- math.h
- From: joel.sherrill at OARcorp.com (Joel Sherrill)