Re: Undefined symbols insanity after upgrading to Xcode 2.1...
Re: Undefined symbols insanity after upgrading to Xcode 2.1...
- Subject: Re: Undefined symbols insanity after upgrading to Xcode 2.1...
- From: Eric Albert <email@hidden>
- Date: Tue, 26 Jul 2005 11:29:52 -0700
On Jul 26, 2005, at 7:40 AM, Dave Thorup wrote: 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_N17CStratoFilterBase21StratoAddedDataSourceEPK17IStratoDataSource __ZThn4_N17CStratoFilterBase23StratoRemovedDataSourceEPK17IStratoDataSource
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?
Changing optimization settings changes which functions get inlined. Is it possible that those functions were getting inlined and therefore didn't exist to be exported?
-Eric
|
_______________________________________________
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