CTDB 1.0.70 missing header file.

William Jojo w.jojo at hvcc.edu
Wed Jan 28 13:35:13 GMT 2009


Building ctdb 1.0.70 on AIX 5.3, GCC 4.2.3:

Compiling server/ctdbd.c
In file included from ./include/includes.h:8,
                 from server/ctdbd.c:20:
./include/ctdb.h:532: error: field 'sa' has incomplete type
make: *** [server/ctdbd.o] Error 1
Return code was 2

build-lpp: Failed to make.


Patch is the following:

--- include/ctdb.h.orig 2009-01-28 08:23:42.000000000 -0500
+++ include/ctdb.h      2009-01-28 08:24:14.000000000 -0500
@@ -20,6 +20,7 @@
 #ifndef _CTDB_H
 #define _CTDB_H
 
+#include <sys/socket.h>
 #include <netinet/in.h>
 
 #define CTDB_IMMEDIATE_MIGRATION       0x00000001


Want to file a bug, but there is no CTDB option on the Bugzilla site.


Cheers,
Bill


More information about the samba-technical mailing list