Hi Keith,

On Wed, May 01, 2013 at 12:49:38PM +0100, Anderson Keith wrote:
> I've taken the snapshot haproxy-ss-20130429 and removed the include entries
> from the files above.  gcc spat out a couple of warnings (below) but it
> compiles and doesn't core dump when executed.  Initial testing with our
> configurations would show that it works as expected.

Great!

> Many thanks for your help
> 
> Keith
> 
> Vis:
> $ cd haproxy-ss-20130429 
> $ gmake TARGET=solaris CPU=ultrasparc USE_STATIC_PCRE=1 USE_OPENSSL=1 
> USE_ZLIB=yes
> 
> <SNIP>
> 
> gcc -Iinclude -Iebtree -Wall  -O6 -mcpu=v9 -mtune=ultrasparc -g 
> -fno-strict-aliasing -fomit-frame-pointer -DFD_SETSIZE=65536 -D_REENTRANT     
>  -DTPROXY -DCONFIG_HAP_CRYPT -DNEED_CRYPT_H -DUSE_GETADDRINFO -DUSE_ZLIB  
> -DENABLE_POLL -DUSE_OPENSSL -DUSE_PCRE -I/usr/local/include  
> -DCONFIG_HAPROXY_VERSION=\"1.5-dev18\" -DCONFIG_HAPROXY_DATE=\"2013/04/03\" 
> -c -o src/ssl_sock.o src/ssl_sock.c
> src/ssl_sock.c: In function `ssl_sock_infocbk':
> src/ssl_sock.c:92: warning: passing arg 1 of `SSL_get_ex_data' discards 
> qualifiers from pointer target type
> src/ssl_sock.c: In function `__ssl_sock_init':
> src/ssl_sock.c:3203: warning: implicit declaration of function 
> `SSL_COMP_get_compression_methods'
> src/ssl_sock.c:3203: warning: assignment makes pointer from integer without a 
> cast
> gcc -Iinclude -Iebtree -Wall  -O6 -mcpu=v9 -mtune=ultrasparc -g 
> -fno-strict-aliasing -fomit-frame-pointer -DFD_SETSIZE=65536 -D_REENTRANT     
>  -DTPROXY -DCONFIG_HAP_CRYPT -DNEED_CRYPT_H -DUSE_GETADDRINFO -DUSE_ZLIB  
> -DENABLE_POLL -DUSE_OPENSSL -DUSE_PCRE -I/usr/local/include  
> -DCONFIG_HAPROXY_VERSION=\"1.5-dev18\" -DCONFIG_HAPROXY_DATE=\"2013/04/03\" 
> -c -o src/shctx.o src/shctx.c
> src/shctx.c: In function `shctx_get_cb':
> src/shctx.c:460: warning: passing arg 2 of `d2i_SSL_SESSION' from 
> incompatible pointer type

I think you're on an old openssl version, I'm used to have the exact same
warnings when building with openssl-0.9.6.

Willy


Reply via email to