• 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
duplicate symbol error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

duplicate symbol error


  • Subject: duplicate symbol error
  • From: Daniel Child <email@hidden>
  • Date: Thu, 03 Apr 2008 00:32:31 -0400

I had an application that built fine on Tiger using Xcode 2.4.1. When I try building on Leopard, I get a duplicate symbol error as follows:

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???

FWIW, in Xcode 3, I tried building for Tiger and Leopard and it made no difference.

Does anyone have a suggestion of how to fix this? Thanks.



_______________________________________________

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


  • Follow-Ups:
    • Re: duplicate symbol error
      • From: Jens Alfke <email@hidden>
    • Re: duplicate symbol error
      • From: "stephen joseph butler" <email@hidden>
  • Prev by Date: Re: About the Primary Button problems in Cocoa Mouse Event Handling
  • Next by Date: Re: Name of NSTableView
  • Previous by thread: Re: Making a window fit its contents?
  • Next by thread: Re: duplicate symbol error
  • Index(es):
    • Date
    • Thread