• 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
Resolving a link error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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:



(Dev)
libSMNurbs.a(U_globals.o):
...
000006c0 D _NERR
...

(Release)
libSMNurbs.a(U_globals.o):
...
00000000 D _NERR
...



and similarly for libCoreGeometry.a,



(Dev)
libCoreGeometry.a(SMLib.o):
...
00042980 D _NERR
...

(Release)
libCoreGeometry.a(SMLib.o):
...
00016108 D _NERR
...



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

  • Follow-Ups:
    • Re: Resolving a link error
      • From: Wim Lewis <email@hidden>
  • Prev by Date: Re: Xcode keeps changing my simulator from iPad 3.2 to iPhone 4.0
  • Next by Date: Re: Resolving a link error
  • Previous by thread: Re: I am missing my man pages. How do I "refresh" them ?
  • Next by thread: Re: Resolving a link error
  • Index(es):
    • Date
    • Thread