• 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 on "release" build -- undefined symbols
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linking error on "release" build -- undefined symbols


  • Subject: Re: Linking error on "release" build -- undefined symbols
  • From: Shawn Erickson <email@hidden>
  • Date: Sat, 12 May 2007 07:59:17 -0700


On May 12, 2007, at 7:47 AM, Smith, Steven (MCP) wrote:

Hello Folks,
I'm trying to build my first application in Cocoa (ppc with 10.4.9).
Under the "Debug" configuration
my program runs fine. Under the "Release" I get the following


Building target "PicPreview" of project "PicPreview" with configuration
"Release" -- (1 error)
Linking
/Users/Me/Projects/PicPreview/build/PicPreview.build/Release/ PicPreview.
build/Objects-normal/ppc/PicPireview (1 error)
Undefined symbols:
_MD5
_SHA1
[snip]
A) I don't know if this is the solution
A.1) If it IS the solution, can someone point me to the docs on "adding
a lib" to my project

You are missing symbols which means you aren't linking against all of the libraries you need and/or you missed implementing something (or mistyped its name).


In Xcode select Xcode Help from the Help menu. In the window look at the table of contents for the Xcode 2.3 User Guide and scroll down to the Linking section. Then read the Linking With System Framework and Linking to a Dynamic Library... sections. Also look at ZeroLink section to understand why your Debug build (by default) doesn't list the missing symbols.

-Shawn

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Linking error on "release" build -- undefined symbols (From: "Smith, Steven (MCP)" <email@hidden>)

  • Prev by Date: To C++ users trying to use Cocoa
  • Next by Date: Looking for a freelancer
  • Previous by thread: Linking error on "release" build -- undefined symbols
  • Next by thread: Re: Linking error on "release" build -- undefined symbols
  • Index(es):
    • Date
    • Thread