Baranyai L�szl� <[EMAIL PROTECTED]> writes:

> Dear Cooker members!
> 
> My name is Laszlo. I have downloaded Mandrake7.2 and installed,
> but gcc still requires something I do not know. When I tried to compile
> my programs, gcc replied:
> 
> /tmp/ccF2y6Yo.o: In function `main':
> /tmp/ccF2y6Yo.o(.text+0x86): undefined reference to `sin'
> collect2: ld returned 1 exit status
> 
> the same happens when I want to use other functions listed in
> "math.h": sqrt, pow, etc.

compile with -lm


Reply via email to