possible libc problem?
Hello,
I'm not sure if this is a FAQ or what, but the sin(double) function
does not appear to be working...I am using libc6 2.0.7pre3-1.
#include <stdio.h>
#include <math.h>
main() {
printf("%f\n", sin(90.0));
}
When I try to compile with gcc 2.7.2.3-4.2, it gives me this:
balmeida@terminus: gcc z.c -o z
/tmp/cca042071.o: In function `main':
/tmp/cca042071.o(.text+0xb): undefined reference to `sin'
Anyone have any suggestions?
--
Brian Almeida <balmeida@kylz.com>
http://web.terminus.cicat.com
PGP Key: pub 1024/3A800C65 1998/04/20 Brian M. Almeida <balmeida@kylz.com>
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: