Thanks Jörg!
I tried it now, run ./autogen.sh, ./configure and on make got this error.
It seems to be something related to SSL, don't know:
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/conn.lo
>
> CC src/converters.lo
>
> CC src/value.lo
>
> CC src/dict.lo
>
> CC src/droplet.lo
>
> src/droplet.c: In function ‘dpl_free’:
>
> src/droplet.c:145:3: warning: ‘ERR_remove_state’ is deprecated
>> [-Wdeprecated-declarations]
>
> ERR_remove_state(0);
>
> ^~~~~~~~~~~~~~~~
>
> 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/droplet.c:34:
>
> /usr/include/openssl/err.h:249:1: note: declared here
>
> DEPRECATEDIN_1_0_0(void ERR_remove_state(unsigned long pid))
>
> ^
>
> CC src/httprequest.lo
>
> src/httprequest.c: In function ‘dpl_add_range_to_headers_internal’:
>
> src/httprequest.c:91:39: warning: format ‘%lu’ expects argument of type
>> ‘long unsigned int’, but argument 4 has type ‘uint64_t {aka const long long
>> unsigned int}’ [-Wformat=]
>
> snprintf(str, sizeof (str), "-%lu", range->end);
>
> ^
>
> src/httprequest.c:96:38: warning: format ‘%lu’ expects argument of type
>> ‘long unsigned int’, but argument 4 has type ‘uint64_t {aka const long long
>> unsigned int}’ [-Wformat=]
>
> snprintf(str, sizeof (str), "%lu-", range->start);
>
> ^
>
> src/httprequest.c:101:38: warning: format ‘%lu’ expects argument of type
>> ‘long unsigned int’, but argument 4 has type ‘uint64_t {aka const long long
>> unsigned int}’ [-Wformat=]
>
> snprintf(str, sizeof (str), "%lu-%lu", range->start, range->end);
>
> ^
>
> src/httprequest.c:101:42: warning: format ‘%lu’ expects argument of type
>> ‘long unsigned int’, but argument 5 has type ‘uint64_t {aka const long long
>> unsigned int}’ [-Wformat=]
>
> snprintf(str, sizeof (str), "%lu-%lu", range->start, range->end);
>
> ^
>
> CC src/httpreply.lo
>
> CC src/pricing.lo
>
> 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
>
>
>
Em segunda-feira, 16 de setembro de 2019 21:55:09 UTC-3, Rafael Castellar
das Neves escreveu:
>
> 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/4c211721-6c11-47fa-abcb-5e7bc7e32d18%40googlegroups.com.