public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/51597] New: math libraryb not works
@ 2011-12-17 11:14 t4saha at gmail dot com
  2011-12-17 13:52 ` [Bug c/51597] " redi at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: t4saha at gmail dot com @ 2011-12-17 11:14 UTC (permalink / raw)
  To: gcc-bugs

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?


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c/51597] math libraryb not works
  2011-12-17 11:14 [Bug c/51597] New: math libraryb not works t4saha at gmail dot com
@ 2011-12-17 13:52 ` redi at gcc dot gnu.org
  2011-12-18 16:40 ` redi at gcc dot gnu.org
  2011-12-19  9:32 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: redi at gcc dot gnu.org @ 2011-12-17 13:52 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51597

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2011-12-17
     Ever Confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-12-17 13:33:38 UTC ---
You should follow the bug reporting instructions and provide the required
information, thanks.

http://gcc.gnu.org/bugs/


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c/51597] math libraryb not works
  2011-12-17 11:14 [Bug c/51597] New: math libraryb not works t4saha at gmail dot com
  2011-12-17 13:52 ` [Bug c/51597] " redi at gcc dot gnu.org
@ 2011-12-18 16:40 ` redi at gcc dot gnu.org
  2011-12-19  9:32 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: redi at gcc dot gnu.org @ 2011-12-18 16:40 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51597

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-12-18 15:05:59 UTC ---
(In reply to comment #0)
> :~$gcc -lm rf.c

try gcc rf.c -lm


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c/51597] math libraryb not works
  2011-12-17 11:14 [Bug c/51597] New: math libraryb not works t4saha at gmail dot com
  2011-12-17 13:52 ` [Bug c/51597] " redi at gcc dot gnu.org
  2011-12-18 16:40 ` redi at gcc dot gnu.org
@ 2011-12-19  9:32 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-12-19  9:32 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51597

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-19 09:31:25 UTC ---
linker arguments need to follow sources.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-12-19  9:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-17 11:14 [Bug c/51597] New: math libraryb not works t4saha at gmail dot com
2011-12-17 13:52 ` [Bug c/51597] " redi at gcc dot gnu.org
2011-12-18 16:40 ` redi at gcc dot gnu.org
2011-12-19  9:32 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).