Raphael Fonseca writes: > I can compile several programs, but I can not use math libraries. > When I try to compile with gcc -otest test.c it caused the > following error message: > > /home/raphael/tmp/ccUXVGLx.o(.text+0x2c): In function `main': > : undefined reference to `sin' > collect2: ld returned 1 exit status See http://www.network-theory.co.uk/docs/gccintro/gccintro_16.html -- regards, Brian Gough Network Theory Ltd, Publishing "An Introduction to GCC" --- http://www.network-theory.co.uk/gcc/