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

ld: duplicate symbol


  • Subject: ld: duplicate symbol
  • From: Claus Atzenbeck <email@hidden>
  • Date: Tue, 30 Sep 2008 11:07:12 +0200 (CEST)

Hi all,

I have a project that compiled with XCode 2. After upgrading to XCode 3 (if I recall correctly), I get the following error:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Building target “Socs” of project “Socs_project” with configuration “Debug” — (1 error)
[...]
ld: duplicate symbol _CAPersonSwitchKey in [...]/CASocsController.o and [...]/CASocsView.o
collect2: ld returned 1 exit status
		ld: duplicate symbol _CAPersonSwitchKey in [...]/CASocsController.o and [...]/CASocsView.o
		collect2: ld returned 1 exit status
Build failed (1 error)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CAPersonSwitchKey is defined in CAActionsController.m and appears exclusively in this particular class.
CAActionsController.h is imported (#import) in CASocsController.m and CASocsView.m.

I saw that quite some other people had this problem, however, I was not able to solve it.

Any hint? Thanks!

Claus
_______________________________________________

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: ld: duplicate symbol
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: How to count composed characters in NSString?
  • Next by Date: re: NSManagedObject subclass accessor pattern mystery?
  • Previous by thread: Hotkeys Query
  • Next by thread: Re: ld: duplicate symbol
  • Index(es):
    • Date
    • Thread