bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/12295] New: multiple definition and undefined reference errors


From: d.g.gorbachev at gmail dot com
Subject: [Bug ld/12295] New: multiple definition and undefined reference errors
Date: Wed, 8 Dec 2010 00:03:03 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12295

           Summary: multiple definition and undefined reference errors
           Product: binutils
           Version: 2.22 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: address@hidden
        ReportedBy: address@hidden
                CC: address@hidden


Created attachment 5146
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5146
Testcase

main.a(main.o): In function `main':
main.c:(.text.startup+0x0): multiple definition of `main'
/tmp/ccn0Ceia.ltrans0.ltrans.o:ccn0Ceia.ltrans0.o:(.text.startup+0x0): first
defined here
main.a(main.o): In function `main':
main.c:(.text.startup+0x7): undefined reference to `foo'
collect2: ld returned 1 exit status

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]