On Tue, Jul 29, 2003 at 11:01:16PM -0400, Buz Davis wrote:
> Hi,
> with the following statement:
> 
> 
> gcc -Wall -D_GNU_SOURCE testsqrt.c -o testsqrt.o

add "-lm" to the above line. 

(yes - you do need to explicity link in the math library. )


-- 
Jeff Kinz, Open-PC, Emergent Research,  Hudson, MA.  [EMAIL PROTECTED]
copyright 2003.  Use is restricted. Any use is an 
acceptance of the offer at http://www.kinz.org/policy.html.
Don't forget to change your password often.


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to