• 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: Re: Linkage error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Linkage error


  • Subject: Re: Re: Linkage error
  • From: "Marcus S. Zarra" <email@hidden>
  • Date: Thu, 17 Aug 2006 10:49:20 -0600

Thank you for the response.  Had a feeling I was missing something (or
doing something dumb).

For the archive, adding the security framework and a -lz (do not link
the library directly) to the other flags fixed it perfectly, just as
Jens suggested.

Marcus S. Zarra
Zarra Studios LLC
Simply Elegant Software for OS X
www.zarrastudios.com

On 8/17/06, Jens Ayton <email@hidden> wrote:
Marcus S. Zarra:
>
> I am trying to link in Unsanity's Smart Crash Reports into an
> application and having an issue.  During a debug build it seems to run
> fine, but during a release build I get the following errors:
>
> http://idisk.mac.com/mzarra-Public/LinkError.png
>
> I am not sure what I am doing wrong linking this in.  Can anyone
> enlighten me as to what I am missing?

You need to link in Security.framework and zlib.

Incidentally, the reason this only happens in a release build is that
you've got ZeroLink enabled. This is one of the lesser reasons why
ZeroLink is a bug, not a feature. Unless it's a really big project,
you'll be better off without it.


-- Jens Ayton

_______________________________________________
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


References: 
 >Linkage error (From: "Marcus S. Zarra" <email@hidden>)
 >Re: Linkage error (From: Jens Ayton <email@hidden>)

  • Prev by Date: Re: XCode/MMX: no automatic EMMS instruction
  • Next by Date: Xcode use 4 cores?
  • Previous by thread: Re: Linkage error
  • Next by thread: Xcode use 4 cores?
  • Index(es):
    • Date
    • Thread