Error building Scality for Raspbian

18 views
Skip to first unread message

Rafael Castellar das Neves

unread,
Sep 17, 2019, 8:26:40 AM9/17/19
to SCOP
Hi all!

I'm trying to build Saclity droplet in my Raspbian but I'm getting the following error when I run make. Does anybody know what am I doing wrong?

Tks in advance:

make
make  all-recursive
make[1]: Entering directory '/home/ipin/tmp/Droplet'
Making all in libdroplet
make[2]: Entering directory '/home/ipin/tmp/Droplet/libdroplet'
  CC       src/profile.lo
src/profile.c:58:36: error: ‘SSLv3_method’ undeclared here (not in a function)
   { .name = SSL_TXT_SSLV3,   .fn = SSLv3_method   },
                                    ^~~~~~~~~~~~
src/profile.c:62:3: warning: ‘TLSv1_method’ is deprecated [-Wdeprecated-declarations]
   { .name = SSL_TXT_TLSV1,   .fn = TLSv1_method   },
   ^
In file included from /usr/include/openssl/e_os2.h:13:0,
                 from /usr/include/openssl/ssl.h:45,
                 from ../libdroplet/include/droplet.h:49,
                 from ../libdroplet/include/dropletp.h:40,
                 from src/profile.c:34:
/usr/include/openssl/ssl.h:1627:1: note: declared here
 DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_method(void)) /* TLSv1.0 */
 ^
src/profile.c:65:3: warning: ‘TLSv1_1_method’ is deprecated [-Wdeprecated-declarations]
   { .name = SSL_TXT_TLSV1_1, .fn = TLSv1_1_method },
   ^
In file included from /usr/include/openssl/e_os2.h:13:0,
                 from /usr/include/openssl/ssl.h:45,
                 from ../libdroplet/include/droplet.h:49,
                 from ../libdroplet/include/dropletp.h:40,
                 from src/profile.c:34:
/usr/include/openssl/ssl.h:1633:1: note: declared here
 DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_method(void)) /* TLSv1.1 */
 ^
src/profile.c:68:3: warning: ‘TLSv1_2_method’ is deprecated [-Wdeprecated-declarations]
   { .name = SSL_TXT_TLSV1_2, .fn = TLSv1_2_method },
   ^
In file included from /usr/include/openssl/e_os2.h:13:0,
                 from /usr/include/openssl/ssl.h:45,
                 from ../libdroplet/include/droplet.h:49,
                 from ../libdroplet/include/dropletp.h:40,
                 from src/profile.c:34:
/usr/include/openssl/ssl.h:1639:1: note: declared here
 DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_method(void)) /* TLSv1.2 */
 ^
src/profile.c: In function ‘ssl_verify_cert’:
src/profile.c:814:47: error: dereferencing pointer to incomplete type ‘X509_STORE_CTX {aka struct x509_store_ctx_st}’
   X509_NAME_oneline(X509_get_subject_name(cert->cert), buffer, sizeof(buffer));
                                               ^~
src/profile.c:814:47: error: request for member ‘cert’ in something not a structure or union
src/profile.c:814:43: warning: passing argument 1 of ‘X509_get_subject_name’ from incompatible pointer type [-Wincompatible-pointer-types]
   X509_NAME_oneline(X509_get_subject_name(cert->cert), buffer, sizeof(buffer));
                                           ^~~~
In file included from /usr/include/openssl/ssl.h:50:0,
                 from ../libdroplet/include/droplet.h:49,
                 from ../libdroplet/include/dropletp.h:40,
                 from src/profile.c:34:
/usr/include/openssl/x509.h:623:12: note: expected ‘const X509 * {aka const struct x509_st *}’ but argument is of type ‘struct ssl_method_authorized *’
 X509_NAME *X509_get_subject_name(const X509 *a);
            ^~~~~~~~~~~~~~~~~~~~~
src/profile.c:817:46: error: request for member ‘cert’ in something not a structure or union
   X509_NAME_oneline(X509_get_issuer_name(cert->cert), buffer, sizeof(buffer));
                                              ^~
src/profile.c:817:42: warning: passing argument 1 of ‘X509_get_issuer_name’ from incompatible pointer type [-Wincompatible-pointer-types]
   X509_NAME_oneline(X509_get_issuer_name(cert->cert), buffer, sizeof(buffer));
                                          ^~~~
In file included from /usr/include/openssl/ssl.h:50:0,
                 from ../libdroplet/include/droplet.h:49,
                 from ../libdroplet/include/dropletp.h:40,
                 from src/profile.c:34:
/usr/include/openssl/x509.h:621:12: note: expected ‘const X509 * {aka const struct x509_st *}’ but argument is of type ‘struct ssl_method_authorized *’
 X509_NAME *X509_get_issuer_name(const X509 *a);
            ^~~~~~~~~~~~~~~~~~~~
At top level:
src/profile.c:807:1: warning: ‘ssl_verify_cert’ defined but not used [-Wunused-function]
 ssl_verify_cert(X509_STORE_CTX *cert, void *arg)
 ^~~~~~~~~~~~~~~
Makefile:993: recipe for target 'src/profile.lo' failed
make[2]: *** [src/profile.lo] Error 1
make[2]: Leaving directory '/home/ipin/tmp/Droplet/libdroplet'
Makefile:473: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/ipin/tmp/Droplet'
Makefile:380: recipe for target 'all' failed
make: *** [all] Error 2


Reply all
Reply to author
Forward
0 new messages