Shel wrote:
> I created a very simple c program using sqrt(), and used the math.h
> include file. When I compile using gcc I get an "undefined reference
> to sqrt" message.
You must link your program with the math library. Add "-lm" on the GCC
command line.
--
Markku Kolkka
markku.kolkka.TakeThisOut@iki.fi