• 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
Re: Undefined symbols insanity after upgrading to Xcode 2.1...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Undefined symbols insanity after upgrading to Xcode 2.1...


  • Subject: Re: Undefined symbols insanity after upgrading to Xcode 2.1...
  • From: Dave Thorup <email@hidden>
  • Date: Tue, 26 Jul 2005 10:40:16 -0400

On Jul 25, 2005, at 4:29 PM, Dave Thorup wrote:

OK, I've just upgraded all of our library projects to Xcode 2.1 and now I'm trying to get an application that uses those libraries to run. The problem is that now I'm running into undefined symbols and I can't figure out why. I'm using Xcode 2.1 and building with GCC 3.3 for everything. The following symbols for three methods are undefined:

__ZThn4_N17CStratoFilterBase12StratoNotifyEPK17IStratoDataSourcelPv
__ZThn4_N17CStratoFilterBase21StratoAddedDataSourceEPK17IStratoDataSou rce
__ZThn4_N17CStratoFilterBase23StratoRemovedDataSourceEPK17IStratoDataS ource

Well, I at least found a workaround. The only thing I changed when I upgraded our projects to Xcode 2.1 was some of the optimization settings. It seems that the culprit was changing the optimization level from -Os (fastest, smallest) to -O3 (fastest). But why would that effect which symbols are exported?


Anyway, at least I can build and run the application now without any link errors. And it seems to be working correctly.
_____________________________


Dave Thorup
Software Engineer
email@hidden

http://www.kuwan.net
Defaults Manager - The premier editor for Mac OS X's User Defaults / Preferences database.



_______________________________________________ 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: Undefined symbols insanity after upgrading to Xcode 2.1...
      • From: Eric Albert <email@hidden>
References: 
 >Undefined symbols insanity after upgrading to Xcode 2.1... (From: Dave Thorup <email@hidden>)

  • Prev by Date: Re: Problem with dynamic_cast & exceptions using GCC 4?
  • Next by Date: Re: multi-character character constant and CFString
  • Previous by thread: Undefined symbols insanity after upgrading to Xcode 2.1...
  • Next by thread: Re: Undefined symbols insanity after upgrading to Xcode 2.1...
  • Index(es):
    • Date
    • Thread