Resolving a link error
Resolving a link error
- Subject: Resolving a link error
- From: Eric Gorr <email@hidden>
- Date: Tue, 13 Jul 2010 16:21:32 -0400
I am trying to understand a link error and I have a feeling it is going to turn out to be painfully obvious.
What makes this a bit stranger is that if I build with Xcode 3.2.2, the link error does not show up. It only shows up with Xcode 3.2.3...
The link error is this: ld: duplicate symbol _NERR in libCoreGeometry.a(SMLib.o) and libSMNurbs.a(U_globals.o) I only get this link error when I build the Release configuration of the target, but not the Dev configuration and I am not certain why I would not see it with the Dev configuration.
If I execute nm libSMNurbs.a -g | c++filt on the Dev and Release build of the library, I see:
libSMNurbs.a(U_globals.o): libSMNurbs.a(U_globals.o):
and similarly for libCoreGeometry.a,
(Dev) libCoreGeometry.a(SMLib.o): libCoreGeometry.a(SMLib.o):
So, it would seem as if the symbol in Dev should be considered a duplicate as well.
What am I likely missing?
|
_______________________________________________
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