Hello list members.
I'm trying to build bacula-fd 9.0.3 from sources on AIX 7.1 with GCC
compiler ver. 4.7.3 from perzl.org.
I configured with
(root@aix-testing) /tmp/bacula-9.0.3> ./configure --enable-client-only
--disable-acl
and after the usual output I run
(root@aix-testing) /tmp/bacula-9.0.3> make bacula-fd
and I arrive to this warning and error:
Compiling xacl.c
xacl.c: In member function 'bRC_XACL XACL::generic_backup_xattr(JCR*,
FF_PKT*)':
xacl.c:884:44: warning: comparison between signed and unsigned integer
expressions [-Wsign-compare]
xacl.c: In function 'void* new_xacl()':
xacl.c:1325:15: error: expected type-specifier before 'XACL_AIX'
xacl.c:1325:15: error: expected ';' before 'XACL_AIX'
xacl.c:1325:24: error: 'XACL_AIX' was not declared in this scope
make: The error code from the last command is 1.
Stop.
====== Error in /tmp/bacula-9.0.3/src/filed ======
make: The error code from the last command is 1.
Stop.
As I understand it, the warning doesn't stop the building, it is the error
afterwards that does. Problem is there is a symbol missing and when I open
src/filed/xacl.c I read this:
[...]
+1309 // #include "xacl_aix.h"
+1310
+1311 /*
+1312 * Creating the corrent instance of the XACL for a supported OS
+1313 */
+1314 void *new_xacl()
+1315 {
+1316 #if defined(HAVE_DARWIN_OS)
+1317 return new XACL_OSX();
+1318 #elif defined(HAVE_LINUX_OS)
+1319 return new XACL_Linux();
+1320 #elif defined(HAVE_FREEBSD_OS)
+1321 return new XACL_FreeBSD();
+1322 #elif defined(HAVE_HURD_OS)
+1323 return new XACL_Hurd();
+1324 #elif defined(HAVE_AIX_OS)
+1325 return new XACL_AIX();
+1326 #elif defined(HAVE_IRIX_OS)
+1327 return new XACL_IRIX();
+1328 #elif defined(HAVE_OSF1_OS)
+1329 return new XACL_OSF1();
+1330 #elif defined(HAVE_SUN_OS)
+1331 return new XACL_Solaris();
+1332 #else
+1333 return NULL;
+1334 #endif
+1335 };
So the include line for AIX (1309) is commented out and also the file it
refers to does not exist in the bacula source tree. I have red the list
archives to no avail as to finding a solution.
So I ask, where do I get the missing files xacl_aix.*?
Thanks in advance.
Kind regards.
--
El presente correo y cualquier posible archivo adjunto están dirigidos
únicamente al destinatario del mensaje y contiene información que puede ser
confidencial. Si Ud. no es el destinatario correcto por favor notifique al
remitente respondiendo anexando este mensaje y elimine inmediatamente el e-mail
y los posibles archivos adjuntos al mismo de su sistema. Está prohibida
cualquier utilización, difusión o copia de este e-mail por cualquier persona o
entidad que no sean las específicas destinatarias del mensaje. OSE no acepta
ninguna responsabilidad con respecto a cualquier comunicación que haya sido
emitida incumpliendo nuestra Política de Seguridad de la Información y la Ley
de Protección de Datos y Acción de Habeas Data Nº 18.331.
This e-mail and any attachment are confidential and are intended solely for the
addressee(s). If you are not intended recipient please inform the sender
immediately, answering this e-mail and delete it as well as the attached files.
Any use, circulation or copy of this e-mail by any person or entity that is not
the specific addressee(s) is prohibited. OSE is not responsible for any
communication emitted without respecting our Information Security Policy and
the Data Protection Act and Habeas Data Action No. 18.331.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users