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

baffling and infuriating "duplicate symbol" problem


  • Subject: baffling and infuriating "duplicate symbol" problem
  • From: G S <email@hidden>
  • Date: Tue, 31 Aug 2010 01:13:08 -0700

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

  • Follow-Ups:
    • Re: baffling and infuriating "duplicate symbol" problem
      • From: sebi <email@hidden>
    • Re: baffling and infuriating "duplicate symbol" problem
      • From: G S <email@hidden>
  • Prev by Date: Re: Using Xcode with OSX Server?
  • Next by Date: Re: baffling and infuriating "duplicate symbol" problem
  • Previous by thread: Re: Why do I get a capitalized extension?
  • Next by thread: Re: baffling and infuriating "duplicate symbol" problem
  • Index(es):
    • Date
    • Thread