Re: gcc compiler error: "Ignoring attempt to re-define symbol"
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com 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 ssen@apple.com 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/ssen%40apple.com
This email sent to ssen@apple.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Shantonu Sen