Samba4 build error in 'lazy_initialize_passdb'

steve steve at steve-ss.com
Tue Jun 19 03:54:25 MDT 2012


On 19/06/12 11:24, Bjoern Baumbach wrote:
>
> On 06/19/2012 11:13 AM, steve wrote:
>> Git from 10:00 CET this morning:
>> openSUSE 12.1
>>
>> [3466/3811] Linking default/source3/libpdb.so
>> default/source3/passdb/pdb_interface_27.o: In function
>> `lazy_initialize_passdb':
>> /home/steve/samba-master/bin/../source3/passdb/pdb_interface.c:51:
>> undefined reference to `pdb_ads_init'
>> collect2: ld returned 1 exit status
>> Waf: Leaving directory `/home/steve/samba-master/bin'
>> Build failed:  ->  task failed (err #1):
>>      {task: cc_link
>> pdb_tdb_1.o,server_mutex_33.o,pdb_get_set_27.o,passdb_27.o,util_wellknown_27.o,util_builtin_27.o,pdb_compat_27.o,util_unixsids_27.o,lookup_sid_27.o,login_cache_27.o,account_pol_27.o,privileges_27.o,util_nscd_27.o,winbind_util_27.o,pdb_util_27.o,pdb_interface_27.o,pdb_ldap_schema_27.o,pdb_secrets_27.o,pdb_unixid_27.o,pdb_wbc_sam_4.o,idmap_6.o,pdb_samba4_5.o,pdb_ldap_2.o,pdb_nds_2.o,pdb_ipa_2.o,pdb_ldap_util_2.o,mapping_25.o,mapping_tdb_25.o,pdb_smbpasswd_3.o
>> ->  libpdb.so}
>> make: *** [all] Error 1
>>
>> Could someone have a quick look?
>
> Hi Steve, please cleanup your git checkout and try to rebuild again.
>
> Git log shows the following:
>
> commit 9c715da1cbc256b9ae9298618c92807592607c9b
> Author: Andrew Bartlett<abartlet at samba.org>
> Date:   Sun Jun 3 10:54:06 2012 +1000
>
>      s3-passdb: Remove pdb_ads
>
>
> Björn

Hi Björn
Thanks.

I tried:
make distclean
but failed. I had to get root to remove the bin folder under 
samba-master before it would complete successfully.

It's now built fine.

Is this the correct way to proceed after checkout?

Cheers,
Steve


More information about the samba-technical mailing list