Bug 5355 - proto.h needs more nfs4 definitions
Summary: proto.h needs more nfs4 definitions
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.2
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.2.0
Hardware: All Solaris
: P3 normal
Target Milestone: ---
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-26 11:55 UTC by Nicolas Dorfsman (mail address dead)
Modified: 2008-06-13 05:43 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Dorfsman (mail address dead) 2008-03-26 11:55:07 UTC
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
Comment 1 Volker Lendecke 2008-06-13 05:43:56 UTC
Fixed with cb91a47576e from William Jojo.

Thanks,

Volker