[Bugs] [Bug 1258883] New: build: compile error on RHEL5

bugzilla at redhat.com bugzilla at redhat.com
Tue Sep 1 12:59:15 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1258883

            Bug ID: 1258883
           Summary: build: compile error on RHEL5
           Product: GlusterFS
           Version: 3.7.4
         Component: rpc
          Keywords: Triaged
          Assignee: bugs at gluster.org
          Reporter: kkeithle at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com,
                    jdarcy at redhat.com, manu at netbsd.org
        Depends On: 1258594



HEAD of master branch also doesn't compile on RHEL5

...
Making all in rpc-transport
Making all in socket
Making all in src
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 -include
../../../../config.h -I../../../../libglusterfs/src
-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:25:
../../../../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:3985:2: error: #error Old and insecure OpenSSL, use
-DUSE_INSECURE_OPENSSL to use it anyway
socket.c: In function 'socket_init':
socket.c:3994: error: 'SSL_OP_NO_TICKET' undeclared (first use in this
function)
socket.c:3994: error: (Each undeclared identifier is reported only once
socket.c:3994: error: for each function it appears in.)
socket.c:3995: error: 'SSL_OP_NO_COMPRESSION' undeclared (first use in this
function)
socket.c:4031: error: 'EC_KEY' undeclared (first use in this function)
socket.c:4031: error: 'ecdh' undeclared (first use in this function)
socket.c:4037: warning: implicit declaration of function
'EC_KEY_new_by_curve_name'
socket.c:4043: warning: implicit declaration of function 'EC_KEY_free'
make[5]: *** [socket.lo] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


+++ This bug was initially created as a clone of Bug #1258594 +++

Description of problem:

This change looks rather different from the change it is alleged to be a
backport of on the master branch. I.e. #include <openssl/x509v3.h> versus
#include <openssl/ecdh.h>


...
Making all in rpc-transport
Making all in socket
Making all in src
  CC     socket.lo
  CC     name.lo
In file included from name.c:23:
socket.h:22:26: error: openssl/ecdh.h: No such file or directory
In file included from socket.c:17:
socket.h:22:26: error: openssl/ecdh.h: No such file or directory
make[5]: *** [name.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
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:3990:2: error: #error Old and insecure OpenSSL, use
-DUSE_INSECURE_OPENSSL to use it anyway
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
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.6603 (%build)

















Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1258594
[Bug 1258594] build: compile error on RHEL5
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list