[Bug c/51597] New: math libraryb not works

t4saha at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Dec 17 11:14:00 GMT 2011


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?



More information about the Gcc-bugs mailing list