Bug 8296 - Underlinking error in Samba 4 Alpha 16.
Summary: Underlinking error in Samba 4 Alpha 16.
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: Build (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Andrew Tridgell
QA Contact: samba4-qa@samba.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-08 06:22 UTC by Zombie Ryushu
Modified: 2011-07-08 10:01 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 Zombie Ryushu 2011-07-08 06:22:14 UTC
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.
Comment 1 Andrew Bartlett 2011-07-08 10:01:10 UTC
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).