On Sun, Jan 06, 2008, e0317 wrote:

>  
>  
> hi,I am a new to Openssl .Today I wrote a programme with openssl and 
> compliled in fc4.this is my command
> "gcc -o crl crl.c -I/usr/local/openssl/include  -Wall 
> -L/usr/local/openssl/lib  -lssl -lcrypto"
> libssl and libcrypto are also in the right place but ' undefined reference to 
> RSA_generate_key_ex' occured
>  
> /tmp/ccoRcOnQ.o(.text+0x5c): In function `main':
> crl.c: undefined reference to `RSA_generate_key_ex`'
>  
> i don't know why.Can you help me ?thank you very much
>

You probably are linking against an older version of OpenSSL. That function
was only in OpenSSL 0.9.8 and later.

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to