• 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: md5 for Cocoa / Linker problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: md5 for Cocoa / Linker problems


  • Subject: Re: md5 for Cocoa / Linker problems
  • From: Nick Zitzmann <email@hidden>
  • Date: Thu, 1 Jul 2004 22:47:56 -0600

On Jul 1, 2004, at 7:08 PM, Michael Becker wrote:

Basically I am simply wanting to retrieve a string's md5-value. I have searched the list for md5 and found that people keep suggesting the openssl/md5.h library. However, when I include (or rather import) it in my file and set the projects linker option to -lcrypto (I do this in the project's info dialog, "General" -> "Linking" -> "Other Linker flags"), I get about 1,400 warnings, mainly about double defines etc.
Therefore my questions:

a) What am I doing wrong?

Your project might be double-linking the target to the library. If you included the library in your project list, then you must not include a separate linker command to link to the library, since Xcode will link the target to the libraries enabled in the target's list.

I would recommend removing the linker flag, and if you haven't done so already, add libcrypto to the target. That has worked many times for me.

Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >md5 for Cocoa / Linker problems (From: Michael Becker <email@hidden>)

  • Prev by Date: Another Question: Mixing Objective-C and C++ in Xcode
  • Next by Date: Re: iTunes-like player buttons
  • Previous by thread: md5 for Cocoa / Linker problems
  • Next by thread: Re: md5 for Cocoa / Linker problems
  • Index(es):
    • Date
    • Thread