I have a confirmed underlinking error in Samba 4.0 Alpha 16. [2952/3272] Linking default/source3/modules/libvfs-linux-xfs-sgid.so default/source3/modules/vfs_linux_xfs_sgid_58.o: In function `linux_xfs_sgid_mkdir': vfs_linux_xfs_sgid.c:(.text+0xa3): undefined reference to `smb_vfs_call_mkdir' vfs_linux_xfs_sgid.c:(.text+0xbf): undefined reference to `parent_dirname' vfs_linux_xfs_sgid.c:(.text+0x17f): undefined reference to `smb_vfs_call_stat' vfs_linux_xfs_sgid.c:(.text+0x253): undefined reference to `smb_vfs_call_stat' vfs_linux_xfs_sgid.c:(.text+0x2bf): undefined reference to `become_root' vfs_linux_xfs_sgid.c:(.text+0x2ce): undefined reference to `smb_vfs_call_chmod' vfs_linux_xfs_sgid.c:(.text+0x2d5): undefined reference to `unbecome_root' default/source3/modules/vfs_linux_xfs_sgid_58.o: In function `init_samba_module': vfs_linux_xfs_sgid.c:(.text+0x3d8): undefined reference to `smb_register_vfs' collect2: ld returned 1 exit status Waf: Leaving directory `/home/ryushu/svn/samba4/BUILD/samba-4.0.0alpha16/bin' Build failed: -> task failed (err #1): {task: cc_link vfs_linux_xfs_sgid_58.o -> libvfs-linux-xfs-sgid.so} make: *** [all] Error 1 I run Mandriva 2010.2, I think this has been fixed in GIT, but I'd like to get a patch I can apply to Alpha 16 directly, and see what else happens.
If this has been fixed in GIT, then I suggest you simply update to a current GIT tree. Most of the changes between then and now have been build changes, so there is no value in isolating them further. In particular, I believe the underlying issue here has been fixed (-Wl,-no-undefined being brought in from ldb).