Please help compile project

Joined
Jul 2, 2008
Messages
5
Reaction score
0
Points
1
Hello all

I have a problems with compile open source project in Mac (Cord project). I am compiled AppPortal project successful, but has problem with compile RDP project - its project where i am try extract code with Cord in RDP framework.

When i am compile RDP project i has errors:

cd /Projects/RDP
/Developer/usr/bin/gcc-4.0 -arch i386 -dynamiclib -isysroot /Developer/SDKs/MacOSX10.5.sdk -L/Projects/RDP/build/Debug -F/Projects/RDP/build/Debug -F/Projects/RDP -F/Projects/RDP/Source -F/Projects/RDP/Source -F/Projects/RDP/Source -filelist /Projects/RDP/build/RDP.build/Debug/RDP.build/Objects-normal/i386/RDP.LinkFileList -install_name /Users/anatoliychernish/Library/Frameworks/RDP.framework/Versions/A/RDP -mmacosx-version-min=10.5 -framework Cocoa -framework Carbon -framework AppKit -framework ApplicationServices -framework Security -Wl,-single_module -o /Projects/RDP/build/Debug/RDP.framework/Versions/A/RDP
Undefined symbols:
"_RSA_public_encrypt", referenced from:
_sec_process_crypt_info in secure.o
"_OBJ_nid2obj", referenced from:
_sec_parse_x509_key in secure.o
"_BN_free", referenced from:
_sec_rsa_encrypt in secure.o
_sec_rsa_encrypt in secure.o
_sec_rsa_encrypt in secure.o
"_MD5_Final", referenced from:
_sec_hash_48 in secure.o
_sec_hash_16 in secure.o
_sec_sign in secure.o
_sec_update in secure.o
"_MD5_Update", referenced from:
_sec_hash_48 in secure.o
_sec_hash_48 in secure.o
_sec_hash_16 in secure.o
_sec_hash_16 in secure.o
_sec_hash_16 in secure.o
_sec_sign in secure.o
_sec_sign in secure.o
_sec_sign in secure.o
_sec_update in secure.o
_sec_update in secure.o
_sec_update in secure.o
"_BN_init", referenced from:
_sec_rsa_encrypt in secure.o
_sec_rsa_encrypt in secure.o
_sec_rsa_encrypt in secure.o
_sec_rsa_encrypt in secure.o
"_X509_get_pubkey", referenced from:
_sec_parse_x509_key in secure.o
"_OBJ_obj2nid", referenced from:
_sec_parse_x509_key in secure.o
"_BN_bn2bin", referenced from:
_sec_rsa_encrypt in secure.o
"_BN_bin2bn", referenced from:
_sec_rsa_encrypt in secure.o
_sec_rsa_encrypt in secure.o
_sec_rsa_encrypt in secure.o
"_MD5_Init", referenced from:
_sec_hash_48 in secure.o
_sec_hash_16 in secure.o
_sec_sign in secure.o
_sec_update in secure.o
"_d2i_X509", referenced from:
_sec_parse_crypt_info in secure.o
_sec_parse_crypt_info in secure.o
_sec_parse_crypt_info in secure.o
"_RC4", referenced from:
_licence_process_demand in licence.o
_licence_process_authreq in licence.o
_licence_process_authreq in licence.o
_licence_process_issue in licence.o
_sec_update in secure.o
_sec_encrypt in secure.o
_sec_decrypt in secure.o
"_SHA1_Final", referenced from:
_sec_hash_48 in secure.o
_sec_sign in secure.o
_sec_update in secure.o
"_BN_mod_exp", referenced from:
_sec_rsa_encrypt in secure.o
"_BN_clear_free", referenced from:
_sec_rsa_encrypt in secure.o
"_RC4_set_key", referenced from:
_licence_process_demand in licence.o
_licence_process_authreq in licence.o
_licence_process_authreq in licence.o
_licence_process_issue in licence.o
_sec_generate_keys in secure.o
_sec_generate_keys in secure.o
_sec_update in secure.o
_sec_encrypt in secure.o
_sec_decrypt in secure.o
"_BN_CTX_new", referenced from:
_sec_rsa_encrypt in secure.o
"_vImageConvert_RGB565toARGB8888", referenced from:
-[RDCBitmap initWithBitmapData:size:view:] in RDCBitmap.o
"_SHA1_Update", referenced from:
_sec_hash_48 in secure.o
_sec_hash_48 in secure.o
_sec_hash_48 in secure.o
_sec_hash_48 in secure.o
_sec_sign in secure.o
_sec_sign in secure.o
_sec_sign in secure.o
_sec_sign in secure.o
_sec_update in secure.o
_sec_update in secure.o
_sec_update in secure.o
"_SHA1_Init", referenced from:
_sec_hash_48 in secure.o
_sec_sign in secure.o
_sec_update in secure.o
"_BN_CTX_free", referenced from:
_sec_rsa_encrypt in secure.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
"_RSA_public_encrypt", referenced from:
_sec_process_crypt_info in secure.o
"_OBJ_nid2obj", referenced from:
_sec_parse_x509_key in secure.o
"_BN_free", referenced from:
_sec_rsa_encrypt in secure.o

I know its linked errors, i am included all needed libraries, but still. So how solved this problem. Help

Thanks,
Anatoliy

View attachment RDP.zip

View attachment AppPortal.zip
 
OP
C
Joined
Jul 2, 2008
Messages
5
Reaction score
0
Points
1
Hello all

I am solved this problems. Its crazy bug.

Need add options to GCC:
OTHER_LDFLAG = -lcrypto

Thanks,
Anatoliy
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top