James Blackwell <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: >Package: libstdc++2.9-glibc2.1 >Version: 2.91.66-4 >Date; 1 April 2001 > >When attempting to cheat on my algebra homework, I attempted to square >some numbers via the sqrt (see man 3 sqrt) function. Howevever, the >following c program fails to compile:
Add -lm (link with maths library) to your gcc line. Cheers, -- Colin Watson [EMAIL PROTECTED]