This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/51597] New: math libraryb not works
- From: "t4saha at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 17 Dec 2011 10:26:41 +0000
- Subject: [Bug c/51597] New: math libraryb not works
- Auto-submitted: auto-generated
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: unassigned@gcc.gnu.org
ReportedBy: t4saha@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?