Math Functions Problem

Till Straumann strauman at slac.stanford.edu
Tue Sep 13 18:21:56 UTC 2005


Mike.

If you want people to help, include a console log
where all the error messages, compiler options, etc.
can be seen.

Till

Mike Bertosh wrote:

>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