• 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: baffling and infuriating "duplicate symbol" problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: baffling and infuriating "duplicate symbol" problem


  • Subject: Re: baffling and infuriating "duplicate symbol" problem
  • From: sebi <email@hidden>
  • Date: Tue, 31 Aug 2010 16:22:02 +0200

hello,

from my programming mini blog on http://www.happyhappyboy.de/programming.html";

"If you keep getting duplicate symbol errors from the linker (i.e. "ld returned 1" or "Developer/usr/bin/g++ failed with exit code 1", check out the "Compile Sources" phase for the current target. Sometimes it contains the same source file twice although it shows up only once in the group tree."

maybe it helps in your case.

regards,
sebastian mecklenburg

On 31.08.2010, at 10:13, G S wrote:

> Hi all.
>
> I copied the Movie Importer example project from Apple's Web site:
> http://developer.apple.com/mac/library/samplecode/ElectricImageComponent/Introduction/Intro.html
>
> and went through and changed all the EI_ names to something else, say
> "Test_".  The linker complains that there's a duplicate symbol in one
> of the groups, but it does not complain about it in the original
> project.  So I searched for every occurrence of the complained-about
> symbol and changed it, just to see which one was the problem.  It
> didn't matter, even after cleaning and blowing away the build
> directory, whatever.  It still gripes about my first version of the
> symbol (the one containing "Test_GraphicsExportComponentDispatch").
>
> In fact, I grepped the entire source tree, which showed that this
> symbol simply doesn't exist anywhere in it.  Here's the error,
> reported in the same object file:
>
> ld: duplicate symbol _Test_GraphicsExportComponentDispatch in
> bigLongPath/Test Component
> Bundle.build/Objects-normal/i386/Test_GraphicsExport-36358A36D692EE33.o
> and
> bigLongPath/Test Component
> Bundle.build/Objects-normal/i386/Test_GraphicsExport-36358A36D692EE33.o
>
> Any ideas where this could be coming from?
>
> Thanks!
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users 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.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: baffling and infuriating "duplicate symbol" problem
      • From: G S <email@hidden>
References: 
 >baffling and infuriating "duplicate symbol" problem (From: G S <email@hidden>)

  • Prev by Date: ASL logging output with facilities in Debugger Console
  • Next by Date: Re: Why do I get a capitalized extension?
  • Previous by thread: Re: baffling and infuriating "duplicate symbol" problem
  • Next by thread: Re: baffling and infuriating "duplicate symbol" problem
  • Index(es):
    • Date
    • Thread