[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: need aid
From: |
Flavio Veloso |
Subject: |
Re: need aid |
Date: |
Thu, 12 Oct 2000 14:30:05 -0200 (BRST) |
On Thu, 12 Oct 2000, Fei Liu wrote:
> when I compile my program with trigonometric functions such as 'sin',
> 'cos', the error information is 'undefined reference to 'sin''. What
> does it mean? How can I overcome it?
It means you aren't linking it with the math library. Just add "-lm"
to the end of the line that link the program to make the error go
away.
--
Flavio
- need aid, Fei Liu, 2000/10/12
- Re: need aid,
Flavio Veloso <=