Пытаюсь скомпилировать программу, но ничего не получается, что не так?
#include <stdio.h>
#include <math.h>
struct Dots{
int x;
int y;
};
int main (){
struct Dots m = {3 , 5};
printf("%d\n", pow(m.x, 2));
}
вот, что пишет компилятор:
/tmp/ccc6T5kG.o: In function `main':
tets.c:(.text+0x26): undefined reference to `pow'
collect2: error: ld returned 1 exit status