Hello all!

I'm trying to config my Bareos (built on Raspbian) to store in a AWS S3 
bucket, but I don't know how to build bareos-storage-droplet. I'm trying to 
build Scality (https://github.com/scality/Droplet), but I'm getting the 
error below after run *make*.

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
>
>
> Does anybody know what should I do?

Tks a lot!

Rafael 

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/76f4b641-0955-4c60-9270-826126524af9%40googlegroups.com.

Reply via email to