-lmflag to include math.h in the compilation. I use
M-x compilefor compilation. It usually asks me to enter the name of the executable to be built. In that same line, I added the
CFLAGS=-lmpart to the end of that line and the compilation worked fine. So instead of
make -k application
my compilation command looked like the following.
make -k application CFLAGS=-lm