M
Mark Healey
I'm using gcc on a fedora 3 system here are what I think the relevant
lines are:
#include <math.h>
[a bunch of stuff snipped]
r=pow(2,z);
When I compile I get
/tmp/ccg0U2N1.o(.text+0xd9): In function `generateMap':
: undefined reference to `pow'
collect2: ld returned 1 exit status
Why is this?
lines are:
#include <math.h>
[a bunch of stuff snipped]
r=pow(2,z);
When I compile I get
/tmp/ccg0U2N1.o(.text+0xd9): In function `generateMap':
: undefined reference to `pow'
collect2: ld returned 1 exit status
Why is this?