[lug] C library for pow() and sqrt()?

Bill Thoen bthoen at gisnet.com
Wed Dec 29 12:09:09 MST 2004


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?

Or maybe I just need to adjust my PATH variable to point to the C
libraries?  Where are they?

TIA,
- Bill Thoen





More information about the LUG mailing list