Re: Resolving a link error
Re: Resolving a link error
- Subject: Re: Resolving a link error
- From: Eric Gorr <email@hidden>
- Date: Tue, 13 Jul 2010 17:06:24 -0400
On Jul 13, 2010, at 4:45 PM, Wim Lewis wrote: On Jul 13, 2010, at 1:21 PM, Eric Gorr wrote: 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.
An off-the-cuff guess: is your Release configuration being built with flat namespaces but your Dev configuration being built with twolevel namespaces?
Hello,
Thank you for the reply.
I was unfamiliar with that build option and still not sure I fully understand what they do...still reading a bit about it.
As near as I can tell, the option is not specified when building either the libraries I link to or the main application. I am not certain what the default is, but it appears that everything is using the same value.
Am I correct in thinking that -flat_namespace, for example, is something that would need to be specified in OTHER_LDFLAGS ? I couldn't find a check box in the build tab that controlled this.
|
_______________________________________________
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