M
Matthias Pfeifer
hi group,
i realy wonder if there is a sin(double) function defined in math.h since
i have problems compiling the following small programm:
/* sinus.c example code */
#include<math.h>
int main(int argc, char* argv[])
{
sin(1.2);
return 0;
}
compiler is gcc-Version 3.3.4 (Debian 1:3.3.4-3) and compilation gives:
matthias@euler:~/src$ gcc -o sinus sinus.c
/tmp/ccqsY2qP.o(.text+0x1a): In function `main':
: undefined reference to `sin'
collect2: ld returned 1 exit status
thank you all.
i realy wonder if there is a sin(double) function defined in math.h since
i have problems compiling the following small programm:
/* sinus.c example code */
#include<math.h>
int main(int argc, char* argv[])
{
sin(1.2);
return 0;
}
compiler is gcc-Version 3.3.4 (Debian 1:3.3.4-3) and compilation gives:
matthias@euler:~/src$ gcc -o sinus sinus.c
/tmp/ccqsY2qP.o(.text+0x1a): In function `main':
: undefined reference to `sin'
collect2: ld returned 1 exit status
thank you all.