Stephen wrote:
> Date: Mon, 17 Nov 2008 10:13:05 +0100
> From: [EMAIL PROTECTED]
> To: openssl-users@openssl.org
> Subject: Re: Which version of 0.9.9 is stable enough to use?
> 
> * Vishnu Param wrote on Mon, Nov 17, 2008 at 16:12 +0800:
> > > > s3_enc.c:(.text+0xaeb): undefined reference to `COMP_CTX_new'
> >
> > I am sure I am pointing to the 0.9.9 libraries/headers, because I
> > wouldn't get these errors if I wasn't.
> 
> I think what you were supposed to ensure is that you have the
> right headers; maybe you have system-wide installed older
> in -isystem.
> 
> > Invoking: GCC C Linker
> > 
> > gcc -static -L/home/zero/test/lib -o"SSLclient"  ./client.o
> > -lcrypto -lpthread -lssl
> 
> -static with glibc? I think at least resolver remains using
> dynamic linking...
> 
> > dso_dlfcn.c:(.text+0x2d): undefined reference to `dlopen'
> 
> ... and this module also seem to use dynamic linking.
> 
> -ldl
> 
> (for the others I don't know)
> 
> oki,
> 
> Steffen

I removed static, and put in -ldl, I still get the errors :

Invoking: GCC C Linker
gcc -L/home/zero/test/lib -o"SSLclient"  ./client.o   -lcrypto -ldl -lpthread 
-lssl
/home/zero/test/lib/libssl.a(t1_lib.o): In function `tls1_process_ticket':
t1_lib.c:(.text+0x64e): undefined reference to `EVP_aes_128_cbc'
/home/zero/test/lib/libssl.a(t1_enc.o): In function `tls1_change_cipher_state':
t1_enc.c:(.text+0x1271): undefined reference to `COMP_CTX_free'
t1_enc.c:(.text+0x128a): undefined reference to `COMP_CTX_new'
t1_enc.c:(.text+0x1348): undefined reference to `COMP_CTX_free'
t1_enc.c:(.text+0x1361): undefined reference to `COMP_CTX_new'
/home/zero/test/lib/libssl.a(ssl_lib.o): In function `ssl_clear_cipher_ctx':
ssl_lib.c:(.text+0xfaa): undefined reference to `COMP_CTX_free'
ssl_lib.c:(.text+0xfc6): undefined reference to `COMP_CTX_free'
/home/zero/test/lib/libssl.a(ssl_lib.o): In function 
`SSL_CTX_load_verify_locations':

And of course, a whole load more undefined references. Any ideas? Please, any 
help is appreciated.

Thanks,
Vishnu.

_________________________________________________________________
Easily edit your photos like a pro with Photo Gallery.
http://get.live.com/photogallery/overview

Reply via email to