• 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: Linking error when building release target (when no error building debug target)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Fritz Anderson <email@hidden>
  • Date: Wed, 1 Aug 2007 08:14:24 -0500

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


  • Follow-Ups:
    • Re: Linking error when building release target (when no error building debug target)
      • From: Francis Derive <email@hidden>
References: 
 >Linking error when building release target (when no error building debug target) (From: Francis Derive <email@hidden>)

  • Prev by Date: Re: Xcode-users Digest, Vol 4, Issue 370
  • Next by Date: Re: Broken Pipe
  • Previous by thread: Linking error when building release target (when no error building debug target)
  • Next by thread: Re: Linking error when building release target (when no error building debug target)
  • Index(es):
    • Date
    • Thread