Re: duplicate symbol error
Re: duplicate symbol error
- Subject: Re: duplicate symbol error
- From: "stephen joseph butler" <email@hidden>
- Date: Wed, 2 Apr 2008 23:40:14 -0500
On Wed, Apr 2, 2008 at 11:32 PM, Daniel Child <email@hidden> wrote:
> ld: duplicate symbol _evLanguageAsString in
> /Users/.../build/.../Debug/LSC Data
> Preparation.build/Objects-normal/ppc/DataDescription.o
> and
> /Users/.../build/.../Debug/LSC Data
> Preparation.build/Objects-normal/ppc/Step1_SourceTypeController.o
>
> I have no idea why this is happening, especially since there is no
> evLanguageAsString in either DataDescription.h or .m. There is one in the
> sourcetype controller files, though not prefixed by _.
>
> So how would a copy get in the object file???
>
Does DataDescription.[mh] include Step1_SourceTypeController.h? It sounds to
me like you accidently included an implementation of evLanguageAsString in
the header file for Step1_SourceTypeController, instead of just the
prototype. But that doesn't really explain why it compiled on Tiger.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden