Hello,

I recommend that you try with Bacula version 9.6.4, because I have recently built and tested the s3 driver.  It does require an updated libs3 (see release notes) and to build the libs3 I seem to recall that you need to install curl-dev and some other dev library.  It should tell you during the build.

Best regards,

Kern

On 5/30/20 7:31 PM, r0...@nxlplyx.com wrote:
Hi,

I have given up trying to get the S3 module to compile  on Ubuntu
20.04.   No suggestions have worked thus far.

I switched operating systems and am trying to compile the S3 module on
Debian 10.

The missing curl.h error disappeared I was getting in Ubuntu.

Unfortunately the following now occurs.  Does anyone have any suggestions?

---------------------------

$ make deb
build/obj/request.do: Compiling dynamic object
src/request.c: In function ‘request_curl_code_to_status’:
src/request.c:1709:5: error: duplicate case value
      case CURLE_SSL_CACERT:
      ^~~~
src/request.c:1705:5: note: previously used here
      case CURLE_PEER_FAILED_VERIFICATION:
      ^~~~
src/request.c: In function ‘sort_and_urlencode_query_string’:
src/request.c:865:9: error: ‘strncat’ specified bound 1 equals source
length [-Werror=stringop-overflow=]
          strncat(result, "&", 1);
          ^~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [GNUmakefile:223: build/obj/request.do] Error 1

---------------------------

Al.







_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to