http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51597
Bug #: 51597 Summary: math libraryb not works Classification: Unclassified Product: gcc Version: 4.6.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org ReportedBy: t4s...@gmail.com Created attachment 26118 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26118 the source file compile the attached source file in terminal by typing.. :~$gcc -lm rf.c /tmp/cc6t66sO.o: In function `main': rf.c:(.text+0x2d): undefined reference to `sin' collect2: ld returned 1 exit status what i should do?