Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode Tiger to Leopard duplicate symbols mystery



Joel,

Does your project rely on glib at all? This seems to be a known inline problem with glib and gcc 4 (see note), but even if you're not using glib, your problem may be related.

I've also posted on the unix-porting list and was told to refernce this link: http://bugzilla.gnome.org/show_bug.cgi?id=315437. There is an entry dated 2007-10-30 that mentions Leopard.

I'll probably continue posting on the unix-porting list since it seems to be a gcc issue more than an Xcode issue.

Note: Leopard is using gcc 4.0.1 but the referenced link mentions that the problem is with gcc 4.3, so I'm not clear as to exactly which version this issue crops up.

Ryan

On 31-Oct-07, at 10/31/07 3:32 PM, Joel Norvell wrote:

Dear Xcoders,

I just upgraded to Leopard today (10-31) and am also having the "Xcode Tiger to
Leopard duplicate symbols mystery" problem with my main project.

I'm running on a June 07 MacBook Pro 2.2.  I've looked at one of my other
projects and it builds OK under Leopard.  And I built a couple of the examples
that come with Leopard successfully.

This is a real show-stopper for me.  I don't know what to do to fix this.  Help
will be GREATLY appreciated!

I do want to thank Ryan Homer for quantifying and characterizing this problem.
His depth of knowledge about Xcode is clearly deeper than mine.

Sincerely,
Joel Norvell


Here's what the error says:

Line Location Tool:0: Command /Developer/usr/bin/gcc-4.0 failed with exit code
1

Line Location Tool:0: duplicate symbol .objc_class_name_PDQAbstractWidget in
/Developer/PDQ/PDQFormBuilder/build/PDQFormBuilder.build/Debug/PDQFormBuilder.build/Objects-normal/i386/PDQAbstractWidget.o
and
/Developer/PDQ/PDQFormBuilder/build/PDQFormBuilder.build/Debug/PDQFormBuilder.build/Objects-normal/i386/PDQDocument.o



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

References: 
 >Re: Xcode Tiger to Leopard duplicate symbols mystery (From: Joel Norvell <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.