×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    442

    Undefined symbol: EVP_sha256

    Hi

    I am getting error Undefined symbol: EVP_sha256 at compile time.

    I Include following lib files.
    LIBRARY libz.lib
    LIBRARY ssl.lib
    LIBRARY libssl.lib
    LIBRARY crypto.lib
    LIBRARY libcrypto.lib

    Am I missing anything?

    Please help me.

    Regards,
    SymbianTH

  2. #2
    Super Contributor
    Join Date
    Jan 2007
    Location
    Bhubaneswar, India
    Posts
    1,189

    Re: Undefined symbol: EVP_sha256

    may be you are missing some other .lib file. can you give more details about your error.
    -------------------------------------
    Thanks & Regards
    Ram
    Symbian OS 9.2/9.3,S60 3rd FP1/FP2,Carbide.c++v2.0

  3. #3
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    442

    Re: Undefined symbol: EVP_sha256

    Quote Originally Posted by RB_Sahu View Post
    may be you are missing some other .lib file. can you give more details about your error.
    Hi

    Actually I download openssl-0.9.8l source code.
    After open openssl-0.9.8l folder/inlude/ and copy "openssl" folder and
    Paste and overwrite in epoc32/include/stdapis/openssl folder in S60 FP1 SDK.

    so that I am able to solve lots of error, but now try to solve this one problem.

    Regards,
    SymbianTH

  4. #4
    Registered User
    Join Date
    Jun 2007
    Location
    Mumbai, India
    Posts
    1,998

    Re: Undefined symbol: EVP_sha256

    Quote Originally Posted by SymbianTH View Post
    Hi

    Actually I download openssl-0.9.8l source code.
    After open openssl-0.9.8l folder/inlude/ and copy "openssl" folder and
    Paste and overwrite in epoc32/include/stdapis/openssl folder in S60 FP1 SDK.

    so that I am able to solve lots of error, but now try to solve this one problem.

    Regards,
    SymbianTH

    You should never overwrite any SDK files, if you don't know what exactly you are doing. The project might compile on the emulator but will not work on device.

  5. #5
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    442

    Re: Undefined symbol: EVP_sha256

    Quote Originally Posted by kamalakshan View Post
    You should never overwrite any SDK files, if you don't know what exactly you are doing. The project might compile on the emulator but will not work on device.
    Yes

    I know that so first I took backup of that folder and after I was overwrite that folder for test that I am able to build or not. So I am able to solve .cpp and .h files errors but do not able to compile.

    Because I have not updated libssl.lib file.

    Anybody knows that where I will find out?

    Regards,
    SymbianTH

  6. #6
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: Undefined symbol: EVP_sha256

    Use the header files etc supplies with the open C/C++ sdk rather otherwise you will have to rebuild the openssl libraries for Symbian which is a non trivial task.
    Download Symbian OS now! [url]http://developer.symbian.org[/url]

  7. #7
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    442

    Re: Undefined symbol: EVP_sha256

    Quote Originally Posted by Paul.Todd View Post
    Use the header files etc supplies with the open C/C++ sdk rather otherwise you will have to rebuild the openssl libraries for Symbian which is a non trivial task.
    Hi

    I download RTMPDump2.1 code and try to build in Symbian S60 FP1.

    RTMPDump project have a "handshake.h" file and this file use "Evp_sha256", So I am getting problem over here when I try to compile.

    If I change with Evp_sha instead of Evp_sha256 than I am able to compile successfully, but
    getting problem in "rtmp.c" see following code. Always return -1

    struct timeval tv;
    memset(&tv, 0, sizeof(tv));
    tv.tv_sec = r->Link.timeout;
    ret = (m_socket, SOL_SOCKET, SO_RCVTIMEO, (char *)&tv, sizeof(tv))

    If you have any solution than tell me please, If you want than I upload RTMPDump2.1.zip file.

    Regards,
    SymbianTH

  8. #8
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: Undefined symbol: EVP_sha256

    I assume you installed the open c/c++ plugin?
    Download Symbian OS now! [url]http://developer.symbian.org[/url]

  9. #9
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    442

    Re: Undefined symbol: EVP_sha256

    Quote Originally Posted by Paul.Todd View Post
    I assume you installed the open c/c++ plugin?
    Yes I installed OpenC/C++ plugin.

    Regards,
    SymbianTH

Similar Threads

  1. Undefined symbol - Compiling HelloWorld
    By synackSA in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 6
    Last Post: 2009-04-08, 11:02
  2. Head Set Status
    By arunmdevan in forum Symbian C++
    Replies: 15
    Last Post: 2009-02-28, 04:30
  3. [moved] HELP! Phone Debug (GCCE)
    By joseph.m in forum Symbian C++
    Replies: 18
    Last Post: 2008-07-14, 10:42
  4. mwldsym2.exe: Undefined symbol in Carbide.C++ 1.3
    By ValentinK in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 4
    Last Post: 2008-03-14, 15:23
  5. illegal use of abstract class error...
    By kannabiran.krish in forum Symbian C++
    Replies: 7
    Last Post: 2007-08-17, 10:11

Posting Permissions

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