ld: duplicate symbol
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