Re: Linking error when building release target (when no error building debug target)
Re: Linking error when building release target (when no error building debug target)
- Subject: Re: Linking error when building release target (when no error building debug target)
- From: Francis Derive <email@hidden>
- Date: Wed, 1 Aug 2007 17:24:51 +0200
Fritz,
Anybody will understand and appreciate your answer.
Thanks for this "fundamental" lesson ( will look for it to be in BIG
characters in the Xcode Documentation ).
Merci so much,
Francis.
On Aug 1, 2007, at 3:14 PM, Fritz Anderson wrote:
On 1 Aug 2007, at 7:06 AM, Francis Derive wrote:
That's it : building ( and running ) the debug target is fine, but
building the release target gives the error below.
[Build transcript with undefined symbols at link.]
The ZeroLink feature of Xcode attempts to reduce build times by
(among other things) not checking whether all the functions your
program uses are in fact defined. ZeroLink is used in the Debug
configuration.
The symbols you see listed in the build transcript — AESend, etc. —
were undefined in your Debug build, but ZeroLink allowed the run to
occur anyway. That's why you saw an error under Release (where
undefined symbols are caught), but not under Debug (where they are
not).
The thing to do is to make sure those symbols are known to the
linker. The missing symbols in your transcript all come from
Carbon. -framework Carbon.framework does not appear in your link
command. Include Carbon.framework in your project.
— F
_______________________________________________
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