the following very basic code is not compiling in Dynix.
It says undefind symbol sqrt first referenced in file souce.o
/* file source.c */
#include<stdio.h>
#include<math.h>
void main(void)
{
double i;
i=sqrt(25.00);
printf("value is = %i\n",i);
}
/* end of code*/
Where is the problem? Why sqrt doesn't work even if I included math.h?




Reply With Quote