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.
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: *** [obj_native/uaodv.o] Error 1
> make: 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.
> 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