Problem Building Samba 4.1.0 with CTDB 2.4 on AIX with IBM XL C 11
John P Janosik
jpjanosi at us.ibm.com
Tue Oct 22 13:53:05 MDT 2013
I get the following error when running configure:
Cluster support not available: ctdb_private.h is required for cluster
support
/usr/src/samba-4.1.0/source3/wscript:1668: error: Cluster support not
found, but --with-cluster-support was specified
config.log says:
[1/2] Compiling test.c
"/usr/smb_cluster/include/ctdb_client.h", line 484.33: 1506-046 (S) Syntax
error.
['cc', '-I/usr/afsws/include', '-I', '/usr/smb_cluster/include',
'-I/usr/src/samba-4.1.0/source3', '-I/usr/src/samba-4.1.0/lib/talloc',
'-I/usr/src/samba-4.1.0/lib/tdb/include', '-I/usr/src/samba-4.1.0/lib',
'-I/usr/src/samba-4.1.0/lib/replace', '-I/usr/src/samba-4.1.0/include',
'-I/usr/src/samba-4.1.0/source4/include',
'-I/usr/src/samba-4.1.0/source4/lib', '-I/usr/src/samba-4.1.0/source4',
'-I/usr/src/samba-4.1.0/include/public', '-I/usr/local/include',
'-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_ALL_SOURCE=1',
'-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o',
'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc
test.c -> test_1.o}'not found
The problem seems to be the C++ style comments in ctdb_client.h:
struct ctdb_control_tcp {
struct sockaddr_in src; // samba uses this
struct sockaddr_in dest;// samba uses this
};
Is there some setting I should be doing for configure so that the comments
are allowed, or should I open a bug against the CTDB header file?
Thanks,
John Janosik
jpjanosi at us.ibm.com
More information about the samba-technical
mailing list