This is my test prog n my code goes like this

Code:
#include <stdio.h>
#include <stdlib.h>
#include <math.h>

int main() {

	double x, y, z;
	double num = 5;
	
	x = log(num);
	y = exp(num);
	z = pow(num, (double)2);

	printf("\n\nlog of num = %e\nexp of num = %e\npow of num = %e\n\n", x, y, z);

	return 0;

}
However i got these errors while compling my prog in unix.

ld: 0711-317 ERROR: Undefined symbol: .pow
ld: 0711-317 ERROR: Undefined symbol: .log
ld: 0711-317 ERROR: Undefined symbol: .exp

I haved checked my <math.h> library and it has these functions.
Can anyone help to explain what this error means?

Thks