L
LeTubs
Hi
I'm having a bit of problem trying to compile
a program..... which uses math.h
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
double sxy, sxx, syyy;
..
..
..
..
r = sxy / sqrt( sxx * syyy );
When I compile I get undefined reference to 'sqrt'
now the funny thing is that I use the function abs
which is the math.h function. I'm sort of at a lose end
does anybody have any ideas ?
Thanks
David
I'm having a bit of problem trying to compile
a program..... which uses math.h
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
double sxy, sxx, syyy;
..
..
..
..
r = sxy / sqrt( sxx * syyy );
When I compile I get undefined reference to 'sqrt'
now the funny thing is that I use the function abs
which is the math.h function. I'm sort of at a lose end
does anybody have any ideas ?
Thanks
David