More on X-Code problem...
More on X-Code problem...
- Subject: More on X-Code problem...
- From: John Draper <email@hidden>
- Date: Sun, 06 Feb 2005 21:25:08 -0800
Ok,
I FINALLY figured out what a Build Style is, and was able to switch it
to "Deployment" build,
but when I try and build it, I get the following error...
ld:
/Users/me/Documents/Forbes/Development/MyApp/build/MyApp.build/MyApp.build/Objects-normal/ppc/Controller.o
illegal reference to symbol: _MD5_Init defined in indirectly referenced
dynamic library /usr/lib/libcrypto.0.9.7.dylib
Note, in my Controller, I AM using MD5 stuff....
#import <openssl/md5.h>
And in one of my functions, I do this code...
MD5_CTX MD5Context;
// Init an MD5 Context.
MD5_Init(&MD5Context);
// MD5 the packet data.
MD5_Update(&MD5Context, packet, packetlength);
// MD5 the secret key
MD5_Update(&MD5Context, key, 16);
// Close the MD5
MD5_Final(MD5hash, &MD5Context);
Which has worked just as I would have expected, but when I try to do
Deployment build,
I get the above error..
Ok - so I said to myself, I just add the library... so I go and find
it, I copy it and add it to my
project, but this time, when I do, I get a _NSLOG undefined symbol.
Ok - so something might be corrupted - so just in case, I did a CLEAN
ALL TARGETS
and re-built it again, same problem...
Could someone please tell me whats wrong?
John
_______________________________________________
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