I try to calculate a sinus value.

The relevant code is:

#include <math.h> ... double angle, clearance; .... clearance = sin(angle*M_PI/180.)*5.0;

here I get a linker error:

What may be the problem?

Thanks a lot in advance.

Kurt]]>

Obviously you did not tell the linker to add the math library (-lm on linker command line).

]]>

Now it works perfect. ]]>