Hello,

You are trying to use an unsupported compiler xlc.  Bacula supports only gcc (or g++).  If you want to use xlc, you are free to do so, but you will need to ensure that the libraries are not included from two different directories, which is what is happening to you, and is clearly shown in the compiler output you supplied.

By the way, version 7.4.x is no longer supported by the project. 

Best regards,
Kern

On 2/25/19 11:23 PM, Jose Alberto wrote:
Result  ./configure  (only fd) :  

Configuration on Mon Feb 25 16:59:55 CST 2019:

   Host:                     powerpc-ibm-aix7.1.0.0 -- aix 1
   Bacula version:           Bacula 7.4.7 (16 March 2017)
   Source code location:     .
   Install binaries:         /etc/bacula/bin
   Install libraries:        /usr/lib
   Install config files:     /etc/bacula/bin
   Scripts directory:        /etc/bacula/bin
   Archive directory:        /tmp
   Working directory:        /etc/bacula/working
   PID directory:            /etc/bacula/bin/working
   Subsys directory:         /etc/bacula/bin/working
   Man directory:            ${datarootdir}/man
   Data directory:           /usr/share
   Plugin directory:         /usr/lib
   C Compiler:               /usr/vacpp/bin/xlc
   C++ Compiler:             /usr/vacpp/bin/xlC
   Compiler flags:            -g
   Linker flags:
   Libraries:                -lpthread  -lintl
   Statically Linked Tools:  no
   Statically Linked FD:     no
   Statically Linked SD:     no
   Statically Linked DIR:    no
   Statically Linked CONS:   no
   Database backends:        None
   Database port:
   Database name:            bacula
   Database user:            bacula
   Database SSL options:

   Job Output Email:         root@localhost
   Traceback Email:          root@localhost
   SMTP Host Address:        localhost

   Director Port:            9101
   File daemon Port:         9102
   Storage daemon Port:      9103

   Director User:
   Director Group:
   Storage Daemon User:
   Storage DaemonGroup:
   File Daemon User:
   File Daemon Group:

   Large file support:       no
   Bacula conio support:     yes -ltermcap
   readline support:         no
   TCP Wrappers support:     no
   TLS support:              no
   Encryption support:       no
   ZLIB support:             yes
   LZO support:              no
   enable-smartalloc:        yes
   enable-lockmgr:           no
   bat support:              no
   client-only:              yes
   build-dird:               no
   build-stored:             no
   Plugin support:           no
   AFS support:              no
   ACL support:              yes
   XATTR support:            yes
   systemd support:          no
   Batch insert enabled:     None

but  run make: 

==>Entering directory /DB/bacula-7.4.7/src
Target "all" is up to date.
==>Entering directory /DB/bacula-7.4.7/scripts
Target "all" is up to date.
==>Entering directory /DB/bacula-7.4.7/src/lib
Compiling attr.c
"/usr/vacpp/include/string.h", line 67.20: 1540-0403 (S) "strcpy(char *, const char *)" is already defined.
"/usr/include/string.h", line 418.17: 1540-0425 (I) "strcpy" is defined on line 418 of "/usr/include/string.h".
"/usr/vacpp/include/string.h", line 22.20: 1540-0424 (I) "strcpy" is declared on line 22 of "/usr/vacpp/include/string.h".
"/usr/include/string.h", line 47.18: 1540-0424 (I) "strcpy" is declared on line 47 of "/usr/include/string.h".
"/usr/include/string.h", line 212.26: 1540-0424 (I) "strcpy" is declared on line 212 of "/usr/include/string.h".
"/usr/vacpp/include/string.h", line 69.20: 1540-0403 (S) "strcmp(const char *, const char *)" is already defined.
"/usr/include/string.h", line 420.17: 1540-0425 (I) "strcmp" is defined on line 420 of "/usr/include/string.h".
"/usr/vacpp/include/string.h", line 23.20: 1540-0424 (I) "strcmp" is declared on line 23 of "/usr/vacpp/include/string.h".
h".
.
.
.idem idem 
.
.
.
"/usr/include/string.h", line 66.21: 1540-0424 (I) "index" is declared on line 66 of "/usr/include/string.h".
"/usr/include/string.h", line 317.26: 1540-0424 (I) "index" is declared on line 317 of "/usr/include/string.h".
"/usr/vacpp/include/string.h", line 144.25: 1540-0403 (S) "rindex(const char *, int)" is already defined.
"/usr/include/string.h", line 472.20: 1540-0425 (I) "rindex" is defined on line 472 of "/usr/include/string.h".
"/usr/vacpp/include/string.h", line 44.25: 1540-0424 (I) "rindex" is declared on line 44 of "/usr/vacpp/include/string.h".
"/usr/include/string.h", line 67.21: 1540-0424 (I) "rindex" is declared on line 67 of "/usr/include/string.h".
"/usr/include/string.h", line 318.26: 1540-0424 (I) "rindex" is declared on line 318 of "/usr/include/string.h".
make: 1254-004 The error code from the last command is 1.


Stop.


  ====== Error in /DB/bacula-7.4.7/src/lib ======


make: 1254-004 The error code from the last command is 1.


Stop.





--
#############################
#   Sistema Operativo: Debian      #
#        Caracas, Venezuela          #
#############################


_______________________________________________
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