[PATCH] Fix the build (linking nfs4acl_xattr vfs module)

Andrew Bartlett abartlet at samba.org
Mon May 13 15:26:24 MDT 2013


On Mon, 2013-05-13 at 18:52 +0200, Andreas Schneider wrote:
> Hi,
> 
> I have an issue linking the vfs_nfs4acl_xattr module. It doesn't find the ndr 
> functions.
> 
> default/source3/modules/vfs_nfs4acl_xattr_36.o: In function 
> `nfs4acl_blob2acl':
> /home/asn/workspace/projects/samba/master/bin/../source3/modules/vfs_nfs4acl_xattr.c:46: 
> undefined reference to `ndr_pull_nfs4acl'
> default/source3/modules/vfs_nfs4acl_xattr_36.o: In function 
> `nfs4acl_acl2blob':
> /home/asn/workspace/projects/samba/master/bin/../source3/modules/vfs_nfs4acl_xattr.c:62: 
> undefined reference to `ndr_push_nfs4acl'
> 
> The attached patch fixes it for me.

I don't think it's quite right, we should add a dependency on
NDR_NFS4ACL instead.

See attached (it also allows us to move this file around, and to have
correct dependency reduction when something else depends on that file). 

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-build-Add-missing-dep-from-vfs_nfs4acl_xattr-to-NDR_.patch
Type: text/x-patch
Size: 885 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130514/8c7dad52/attachment.bin>


More information about the samba-technical mailing list