Math Functions Problem

Mike Bertosh mbertosh at motioncontrol.org
Tue Sep 13 18:01:40 UTC 2005


Hi all,

I am trying to compile some code that uses <math.h>. I am getting "undefined 
reference" errors those functions that I am using. I have included math.h in the file 
and I have specified to link in the libm.a library with "-lm", but I still get there errors. 
Any suggestions as to what I should do? Thanks for your time.

Mike Bertosh
Motion Control Systems, Inc.
New River, Va
540.731.0540




More information about the users mailing list