[Samba] Compiling issues latest samba4

David van der Staak david at dvdstaak.nl
Sat Dec 10 04:03:28 MST 2011


Hey all,

I'm having some difficulties compiling the latest samba4 from git. It 
all goes fine untill the linking. I've copy pasted the error i'm getting 
below.
I've cleaned it, removed and redownloaded it, tried with both developer 
configure and normal configure and it all seems to get stuck on the same 
spot.

Thanks for any pointers.

[3516/3794] Linking default/source3/modules/libvfs-recycle.so
[3517/3794] abi_check: bin/default/source3/libsmbclient.so
[3518/3794] Linking default/librpc/tools/ndrdump
/usr/local/samba/lib/libndr-standard.so: undefined reference to 
`ndr_print_dom_sid0 at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libndr-standard.so: undefined reference to 
`ndr_print_kerb_EncTypes at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libndr-standard.so: undefined reference to 
`ndr_print_security_secinfo at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libndr-krb5pac.so: undefined reference to 
`ndr_push_dom_sid2 at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libsamba-util.so: undefined reference to 
`rep_strlcpy at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libsamba-util.so: undefined reference to 
`swrap_connect at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libndr.so: undefined reference to 
`nt_errstr at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libndr-standard.so: undefined reference to 
`ndr_pull_kerb_EncTypes at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libndr-standard.so: undefined reference to 
`ndr_pull_security_secinfo at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libndr-standard.so: undefined reference to 
`ndr_pull_sec_desc_buf at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libndr-standard.so: undefined reference to 
`ndr_push_kerb_EncTypes at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libsamba-util.so: undefined reference to 
`uwrap_geteuid at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libsamba-util.so: undefined reference to 
`swrap_getsockname at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libndr-krb5pac.so: undefined reference to 
`ndr_print_dom_sid2 at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libsamba-hostconfig.so: undefined reference to 
`lp_find_security at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libndr-standard.so: undefined reference to 
`ndr_pull_dom_sid at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libsamba-util.so: undefined reference to 
`swrap_getsockopt at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libndr-standard.so: undefined reference to 
`ndr_print_security_descriptor at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libsamba-util.so: undefined reference to 
`uwrap_getgid at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libndr-standard.so: undefined reference to 
`ndr_push_dom_sid0 at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libndr-standard.so: undefined reference to 
`ndr_print_sec_desc_buf at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libsamba-util.so: undefined reference to 
`swrap_setsockopt at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libsamba-hostconfig.so: undefined reference to 
`lp_find_server_role at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libndr-standard.so: undefined reference to 
`ndr_print_dom_sid at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libndr-standard.so: undefined reference to 
`ndr_push_security_secinfo at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libndr-standard.so: undefined reference to 
`ndr_push_dom_sid at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libsamba-util.so: undefined reference to 
`swrap_close at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libndr.so: undefined reference to 
`win_errstr at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libsamba-util.so: undefined reference to 
`uwrap_getuid at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libndr-standard.so: undefined reference to 
`ndr_push_security_acl at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libsamba-util.so: undefined reference to 
`uwrap_getegid at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libndr-krb5pac.so: undefined reference to 
`ndr_pull_dom_sid2 at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libndr-standard.so: undefined reference to 
`ndr_push_sec_desc_buf at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libndr-standard.so: undefined reference to 
`ndr_push_security_descriptor at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libndr-standard.so: undefined reference to 
`ndr_push_security_descriptor_type at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libndr-standard.so: undefined reference to 
`ndr_size_dom_sid0 at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libndr-standard.so: undefined reference to 
`ndr_pull_dom_sid0 at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libsamba-util.so: undefined reference to 
`uwrap_enabled at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libndr-standard.so: undefined reference to 
`ndr_pull_security_descriptor at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
/usr/local/samba/lib/libndr-standard.so: undefined reference to 
`ndr_push_security_descriptor_revision at SAMBA_4.0.0ALPHA18_GIT_092F1B9'
collect2: ld returned 1 exit status
Waf: Leaving directory `/src/samba-master/bin'
Build failed:  -> task failed (err #1):
         {task: cc_link popt_common_5.o,ndrdump_1.o -> ndrdump}


More information about the samba mailing list