baffling and infuriating "duplicate symbol" problem
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