math.h
Bert
doclzs at 21cn.com
Thu Sep 4 14:55:33 UTC 2003
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/
More information about the users
mailing list