I am doing small c prog using math, I wanted to square a value, when I do "sq((float)val1)", I am getting undefined reference. also I am using 'sqrt', I am able to pass compile for that by passing "-lm" and include "math.h", how to fix 'sq' issue?. thanks.