Hi,

I am attempting to compile Bacula 9.6.3 on Ubuntu 18.04, but am getting
the following errors.  Can anyone help out?

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

$ make

..

..

make[1]: Leaving directory
'/home/user1/dirNFS/sw/bacula_9.6.3/bacula-9.6.3/src/findlib'
==>Entering directory
/home/user1/dirNFS/sw/bacula_9.6.3/bacula-9.6.3/src/filed
make[1]: Entering directory
'/home/user1/dirNFS/sw/bacula_9.6.3/bacula-9.6.3/src/filed'
Compiling filed.c
Compiling authenticate.c
Compiling backup.c
Compiling crypto.c
Compiling win_efs.c
Compiling estimate.c
Compiling fdcollect.c
Compiling fd_plugins.c
Compiling accurate.c
Compiling filed_conf.c
Compiling heartbeat.c
Compiling hello.c
Compiling job.c
Compiling fd_snapshot.c
Compiling restore.c
Compiling status.c
Compiling suspend.c
Compiling verify.c
Compiling verify_vol.c
Compiling bacl.c
bacl.c: In member function ‘bRC_BACL BACL::restore_acl(JCR*, int, char*,
u_int32_t)’:
bacl.c:431:15: error: ‘STREAM_BACL_AFS_TEXT’ was not declared in this scope
          case STREAM_BACL_AFS_TEXT:
               ^~~~~~~~~~~~~~~~~~~~
bacl.c:431:15: note: suggested alternative: ‘STREAM_XACL_AFS_TEXT’
          case STREAM_BACL_AFS_TEXT:
               ^~~~~~~~~~~~~~~~~~~~
               STREAM_XACL_AFS_TEXT
bacl.c: In member function ‘bRC_BACL BACL::afs_backup_acl(JCR*, FF_PKT*)’:
bacl.c:694:19: error: ‘BUFSIZE’ was not declared in this scope
    vip.out_size = BUFSIZE;
                   ^~~~~~~
bacl.c:694:19: note: suggested alternative: ‘BUFSIZ’
    vip.out_size = BUFSIZE;
                   ^~~~~~~
                   BUFSIZ
bacl.c:705:32: error: ‘STREAM_BACL_AFS_TEXT’ was not declared in this scope
    return send_acl_stream(jcr, STREAM_BACL_AFS_TEXT);
                                ^~~~~~~~~~~~~~~~~~~~
bacl.c:705:32: note: suggested alternative: ‘STREAM_XACL_AFS_TEXT’
    return send_acl_stream(jcr, STREAM_BACL_AFS_TEXT);
                                ^~~~~~~~~~~~~~~~~~~~
                                STREAM_XACL_AFS_TEXT
bacl.c: In member function ‘bRC_BACL BACL::afs_restore_acl(JCR*, int)’:
bacl.c:724:23: error: ‘ff_pkt’ was not declared in this scope
    if (jcr == NULL || ff_pkt == NULL){
                       ^~~~~~
bacl.c:724:23: note: suggested alternative: ‘io_pkt’
    if (jcr == NULL || ff_pkt == NULL){
                       ^~~~~~
                       io_pkt
Makefile:177: recipe for target 'bacl.o' failed
make[1]: *** [bacl.o] Error 1
make[1]: Leaving directory
'/home/user1/dirNFS/sw/bacula_9.6.3/bacula-9.6.3/src/filed'


  ====== Error in
/home/user1/dirNFS/sw/bacula_9.6.3/bacula-9.6.3/src/filed ======


Makefile:148: recipe for target 'all' failed
make: *** [all] Error 1


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

Reply via email to