Env : * Solaris 10U3 * Sun Studio 12 * Samba 3.2.0pre2 My configure : ./configure --prefix=$INSTALL_BASE \ --with-static-modules=no \ --with-aio=yes \ --with-winbind=yes \ --localstatedir=/var/samba/ \ --with-privatedir=/etc/samba/private \ --with-piddir=/var/run \ --with-logfilebase=/var/samba/log \ --with-configdir=/etc/samba \ --with-lockdir=/var/samba/lock \ --with-pam \ --with-acl-support \ --with-quotas \ --with-included-popt \ --with-ads=yes \ --with-static-modules=idmap_rid,vfs_zfsacl compilation aborted : Compiling lib/talloc/talloc.c "./librpc/gen_ndr/srvsvc.h", line 217: warning: enumerator value overflows INT_MAX (2147483647) "./librpc/gen_ndr/srvsvc.h", line 220: warning: enumerator value overflows INT_MAX (2147483647) "./librpc/gen_ndr/srvsvc.h", line 223: warning: enumerator value overflows INT_MAX (2147483647) "./librpc/gen_ndr/srvsvc.h", line 227: warning: enumerator value overflows INT_MAX (2147483647) "./librpc/gen_ndr/wkssvc.h", line 10: warning: useless declaration "./librpc/gen_ndr/samr.h", line 633: warning: useless declaration "./librpc/gen_ndr/netlogon.h", line 191: warning: useless declaration "./librpc/gen_ndr/netlogon.h", line 193: warning: useless declaration "include/proto.h", line 5043: syntax error before or at: * "include/proto.h", line 5046: syntax error before or at: SMB4ACL_T "include/proto.h", line 5046: warning: undefined or missing type for: SMB4ACL_T "include/proto.h", line 5050: syntax error before or at: SMB4ACL_T "include/proto.h", line 5050: warning: undefined or missing type for: SMB4ACL_T "include/proto.h", line 5054: syntax error before or at: set_nfs4acl_native_fn_t "include/proto.h", line 5054: warning: undefined or missing type for: set_nfs4acl_native_fn_t "lib/talloc/talloc.c", line 88: warning: macro redefined: likely "lib/talloc/talloc.c", line 89: warning: macro redefined: unlikely cc: acomp failed for lib/talloc/talloc.c Extract from proto.h : int32 smb_get_naces(SMB4ACL_T *acl); Added : #include "modules/nfs4_acls.h" on top of proto.h
Fixed with cb91a47576e from William Jojo. Thanks, Volker