Results 1 to 2 of 2
  1. #1


    Member Since
    Jul 02, 2008
    Posts
    5
    Please help compile project
    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
    Attached Files Attached Files

  2. #2


    Member Since
    Jul 02, 2008
    Posts
    5
    Hello all

    I am solved this problems. Its crazy bug.

    Need add options to GCC:
    OTHER_LDFLAG = -lcrypto

    Thanks,
    Anatoliy

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How do I compile source code on a mac Im trying to compile hydra 7.1.src.tar.gz on a
    By programmaster in forum OS X - Development and Darwin
    Replies: 5
    Last Post: 11-15-2011, 10:16 AM
  2. How to compile openssh
    By abl7635 in forum OS X - Development and Darwin
    Replies: 2
    Last Post: 09-08-2010, 11:54 PM
  3. Project Planning and Project Management Software
    By dslynch in forum OS X - Apps and Games
    Replies: 3
    Last Post: 12-16-2008, 02:48 PM
  4. could some one compile something for me
    By heavensent in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 07-06-2007, 03:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •