Samba4 - Current git tree will not compile

Taylor, Jonn jonnt at taylortelephone.com
Fri Jan 28 13:14:10 MST 2011


You are correct. Did a make distclean and it complies fine

Thanks,
Jonn

On 01/28/2011 01:34 PM, Jelmer Vernooij wrote:
> On Fri, 2011-01-28 at 13:27 -0600, Taylor, Jonn wrote:
>> I tried to compile the current git tree for samba 4. It fails on
>> CentOS5.5, Debian 5 and 6.
>>
>> Jonn
>>
>> [2354/2404] Linking default/source4/smbd/samba
>> default/source4/librpc/libndr.so: undefined reference to
>> `nt_errstr at SAMBA_4.0.0ALPHA15_GIT_61F7D7C'
>> default/source4/librpc/libndr.so: undefined reference to
>> `ndr_map_error2ntstatus at SAMBA_4.0.0ALPHA15_GIT_61F7D7C'
>> default/source4/librpc/libndr.so: undefined reference to
>> `win_errstr at SAMBA_4.0.0ALPHA15_GIT_61F7D7C'
>> collect2: ld returned 1 exit status
>> Waf: Leaving directory `/usr/src/samba-master/source4/bin'
>> Build failed:  -> task failed (err #1):
>>     {task: cc_link
>> samba_server_gensec_4.o,popt_common_5.o,ntptr_simple_ldb_1.o,ntptr_base_2.o,ntptr_interface_2.o,server_7.o,forward_3.o,reply_3.o,dcesrv_auth_3.o,pidfile_5.o
>> -> samba}
>> make: *** [all] Error 
> It works fine here and on e.g. autobuild. Did you do a full make clean
> or perhaps even a fresh git clone ?
>
> Cheers,
>
> Jelmer
>


More information about the samba-technical mailing list