[lug] C library for pow() and sqrt()?
Michael J. Hammel
mjhammel at graphics-muse.org
Wed Dec 29 11:55:56 MST 2004
On Wed, 2004-12-29 at 13:09, Bill Thoen wrote:
> I'm compiling an old C program and I'm getting "unresolved reference"
> errors for pow and sqrt during the link step. The module with the problem
> does include <math.h>, but I'm guessing I need to also include a library
> when I link the *.o files.
>
> Does anyone know which one that might be?
-lm
--
Michael J. Hammel
The Graphics Muse Nice perfume. Must you marinate in it?
mjhammel at graphics-muse.org
http://www.ximba.org
More information about the LUG
mailing list