i have:
#include <math.h>
int main (void)
{
double i = 0.0;
double v = 0.0;
i = cos(v);
return 0;
}
i get 'undefined reference to cos'. it happens with any
function in math.h.
what to do?
btw using rh 8.0 3.2-7 gcc version 3.2
please & thanks!
----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
#include <math.h>
int main (void)
{
double i = 0.0;
double v = 0.0;
i = cos(v);
return 0;
}
i get 'undefined reference to cos'. it happens with any
function in math.h.
what to do?
btw using rh 8.0 3.2-7 gcc version 3.2
please & thanks!
----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Comment