[Gluster-devel] RHEL-5 Client build failed

Kaleb S. KEITHLEY kkeithle at redhat.com
Fri Oct 16 12:18:26 UTC 2015


On 10/16/2015 06:25 AM, Vijay Bellur wrote:
> On Friday 16 October 2015 12:52 PM, Milind Changire wrote:
>> Following commit to release-3.7 branch causes RHEL-5 Client build to
>> fail because there isn't any <openssl/ecdh.h> available on RHEL-5
>>
>> ca5b466d rpc/rpc-transport/socket/src/socket.h
>>   (Emmanuel Dreyfus       2015-07-30 14:02:43 +0200  22) #include
>> <openssl/ecdh.h>
>>
> 
> This is a conditional inclusion. Can you please check if ERR_R_ECDH_LIB
> is defined in RHEL 5?
>>

It is defined, but

...
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I/usr/include/uuid
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DGF_LINUX_HOST_OS
-I../../../../libglusterfs/src -DUSE_INSECURE_OPENSSL
-I../../../../libglusterfs/src -I../../../../rpc/rpc-lib/src/
-I../../../../rpc/xdr/src/ -Wall -g -O2 -g -O2 -MT socket.lo -MD -MP -MF
.deps/socket.Tpo -c socket.c  -fPIC -DPIC -o .libs/socket.o
In file included from socket.c:17:
socket.h:22:26: error: openssl/ecdh.h: No such file or directory
In file included from socket.c:30:
../../../../rpc/xdr/src/glusterfs3-xdr.h:19: warning: ignoring #pragma
GCC diagnostic
../../../../rpc/xdr/src/glusterfs3-xdr.h:20: warning: ignoring #pragma
GCC diagnostic
socket.c: In function 'socket_init':
socket.c:3999: error: 'SSL_OP_NO_TICKET' undeclared (first use in this
function)
socket.c:3999: error: (Each undeclared identifier is reported only once
socket.c:3999: error: for each function it appears in.)
socket.c:4000: error: 'SSL_OP_NO_COMPRESSION' undeclared (first use in
this function)
socket.c:4036: error: 'EC_KEY' undeclared (first use in this function)
socket.c:4036: error: 'ecdh' undeclared (first use in this function)
socket.c:4042: warning: implicit declaration of function
'EC_KEY_new_by_curve_name'
socket.c:4048: warning: implicit declaration of function 'EC_KEY_free'
make[5]: *** [socket.lo] Error 1
...




-- 

Kaleb


More information about the Gluster-devel mailing list