Make sure that the OpenSSL includes that your program is compiled with
are the ones from the 0.9.9 snapshot you built, not the ones from
/usr/include or /usr/include/openssl.

-Kyle H

On Sun, Nov 16, 2008 at 12:11 PM, Vishnu Param <[EMAIL PROTECTED]> wrote:
> Ger Hobbelt wrote
>> To allow others to help you resolve matters you cannot resolve
>> yourself, you should provide more info about the errors that you get
>> (and on which platform, i.e. OS, compiler, RTL, etc.) at least. "It
>> does not compile" does not give us any useful info.
>>
>> So you have three ways to go ahead:
>>
>> 1- wait for the OpenSSL team to publish an official stable release
>> containing the ECC technology you wish to use.
>>
>> 2- 'rollback' through the snapshots to find one which compiles on
>> *your* system, now.
>>
>> 3- post your results on this mailing list in a request for assistance,
>> so you can receive help.
>
> Hi Mr Hobbelt,
>
> I have followed your advice, and tried compiling the latest snapshot of
> 0.9.9. It finishes compiling, and even installs on my system. My system is
> Ubuntu 8.04. These are the steps i took to compile OpenSSL :
>
> ./config --prefix=/home/zero/test --openssldir=/home/zero/test/openssl
> no-shared
> make
> make test
> make install
>
>
> However, when I link my program to the static library, I get these errors :
>
> /home/zero/test/lib/libssl.a(s3_enc.o): In function
> `ssl3_change_cipher_state':
> s3_enc.c:(.text+0xa38): undefined reference to `COMP_CTX_free'
> s3_enc.c:(.text+0xa4e): undefined reference to `COMP_CTX_new'
> s3_enc.c:(.text+0xa9e): undefined reference to `EVP_CIPHER_CTX_cleanup'
> s3_enc.c:(.text+0xad5): undefined reference to `COMP_CTX_free'
> s3_enc.c:(.text+0xaeb): undefined reference to `COMP_CTX_new'
>
> I get these in addition to a whole load of other "undefined references". So,
> to make sure I was doing the compilation steps properly, I tried again with
> 0.9.8i. No luck either, it seems I still get the same problem. Seems like I
> am doing something wrong in my compilation steps. Can anyone point me in the
> right direction?
>
> Thanks,
> Vishnu
>
> ________________________________
> Share your beautiful moments with Photo Gallery. Windows Live Photo Gallery
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to