> /tmp/cc9WOsLC.o(.text+0x16): undefined reference to `cos' > collect2: ld returned 1 exit status You need to link against the math library, libm, eg. gcc -o myprog myprog.c -lm Regards, Rob.
Attachment: pgphPf3iPPFzm.pgp Description: PGP signature