• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: gcc compiler error: "Ignoring attempt to re-define symbol"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gcc compiler error: "Ignoring attempt to re-define symbol"


  • Subject: Re: gcc compiler error: "Ignoring attempt to re-define symbol"
  • From: Shantonu Sen <email@hidden>
  • Date: Mon, 16 Nov 2009 16:46:47 -0800

Use -save-temps and look at the line in the assembly that it is complaining about, then find the other label of the same name, and determine why the label is present twice.

Inline levels and inline asm can both contribute to this type of issue.

Shantonu Sen
email@hidden

Sent from my Mac Pro

On Nov 16, 2009, at 4:10 PM, Giorgio Mazzucchelli wrote:

> What I'm trying to do is to compile an open-source project under Mac OS;
> in particular, there is no need to run any installation scripts,
> to compile, only the gcc C compiler is required.
>
> Although the project supports both Linux and FreeBSD systems,
> however, on the latter it runs into this kind of error:
>
> 	-Tmp-//ccYQ9y4o.s:1073:Ignoring attempt to re-define symbol.
> 	make[2]: *** [obj_native/uaodv.o] Error 1
> 	make[2]: Target `all' not remade because of errors.
>
> The error couldn't be on the file's source code,
> because the very same runs whit no problems on Linux (gcc version 4.2.4).
>
>
> Any hints would be well-appreciated.
>
> Giorgio
>
>
> Mac OS 10.5.8
> gcc version 4.2.1 (Apple build 5577)
> Using built-in specs.
> Target: i686-apple-darwin9
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Darwin-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: gcc compiler error: "Ignoring attempt to re-define symbol"
      • From: Giorgio Mazzucchelli <email@hidden>
References: 
 >gcc compiler error: "Ignoring attempt to re-define symbol" (From: Giorgio Mazzucchelli <email@hidden>)

  • Prev by Date: gcc compiler error: "Ignoring attempt to re-define symbol"
  • Next by Date: Alternative to bootstrap_register?
  • Previous by thread: gcc compiler error: "Ignoring attempt to re-define symbol"
  • Next by thread: Re: gcc compiler error: "Ignoring attempt to re-define symbol"
  • Index(es):
    • Date
    • Thread