[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I'm doing something wrong with the math.h file



On Thu, Dec 21, 2000 at 08:45:24AM -0500, Andrew Falanga wrote:
> 
>     Anyway, everytime I try to compile it I get this error:
> 
>         /tmp/ccTp8790.o: undefined symbol '_sqrt' referenced from text
> segment
>         collect2: ld returned exit 1 status
> 
try to actually make use of math library:
compile with -lm flag