> and the compiler's information is: /tmp/ccBMA1Cj.o: In function 'main':
>                                                   /tmp/ccBMA1Cj.o(.text+0x48): 
>undefined reference to 'sin'
>                                                collect2: ld return 1 exist status.
> Could you tell me why?  By the way, could you tell me how to get documents of gcc 
>compiler programmer's guide ?

Try adding '-lm' to the gcc command line, in order to link in the math
library (libm).

-- 
Andrew E. Mileski  Software Engineer
Rebel.com  http://www.rebel.com/

-- 
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to