• 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: Link problem : undefined symbol
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Link problem : undefined symbol


  • Subject: Re: Link problem : undefined symbol
  • From: "Peter O'Gorman" <email@hidden>
  • Date: Wed, 08 Mar 2006 22:51:58 +0900

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin wrote:
| Hi,
|
| I'm trying to compile a Cocoa application in Xcode but I have the
| following error during the link process :
|
| /usr/bin/ld: Undefined symbols:
| _MD5
|
| Indeed, in one of my classes, I call the C "MD5" function as defined  in
| "openssl/md5.h".
|
| How do I solve this problem ?

You need to add the lib which contains the definition for MD5 to your
project. In this case, /usr/lib/libcrypto.dylib

Peter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)

iQCVAwUBRA7hfriDAg3OZTLPAQKSRgQAvlnr8gYyY/c8u1a/cCz85EnswBbIXkGf
rFCb7ORn2nXRTGYDOAzKNkBEzOZTHOS+SBOooJbLTGp6psB2FYWNW3uc13fkbuxQ
dYXmqEwtbGuJKTInbhOQe7gTm4SmnVQGpp2ZsArvomdt14ymM8sDBmV8zSmgDu6J
FuF3cMicxyU=
=pJCe
-----END PGP SIGNATURE-----
_______________________________________________
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: 
 >Link problem : undefined symbol (From: Martin <email@hidden>)

  • Prev by Date: Re: problem with shell script Build Phase
  • Next by Date: Re: Universal binary problem: ... cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
  • Previous by thread: Link problem : undefined symbol
  • Next by thread: Debugging GCC STL: Debugger break instead of abort?
  • Index(es):
    • Date
    • Thread