RC1 build fails on Ubuntu 12.04 error with LDAP_MOD_REPLACE
steve at steve-ss.com
Fri Sep 14 12:08:10 MDT 2012
On 09/14/2012 07:57 PM, Andrew Bartlett wrote:
> On Fri, 2012-09-14 at 19:43 +0200, steve wrote:
>> samba --version
>> Version 4.1.0pre1-GIT-9158423
>> Make distclean
>> git clean -xdf
>> git pull
>> [2565/3957] Compiling source3/passdb/pdb_ldap_util.c
>> ../source3/passdb/pdb_ldap_util.c:36:7: warning: ‘struct smbldap_state’
>> declared inside parameter list [enabled by default]
>> ../source3/passdb/pdb_ldap_util.c:36:7: warning: its scope is only this
>> definition or declaration, which is probably not what you want [enabled
>> by default]
>> ../source3/passdb/pdb_ldap_util.c: In function
>> ../source3/passdb/pdb_ldap_util.c:85:3: error: implicit declaration of
>> function ‘smbldap_set_mod’ [-Werror=implicit-function-declaration]
>> ../source3/passdb/pdb_ldap_util.c:85:27: error: ‘LDAP_MOD_REPLACE’
>> undeclared (first use in this function)
> If one of you could please read the mailing list before posting it would
> save a lot of time.
> Andrew Bartlett
Yes, I take your point. We are thick, stupid trolls who should not even
be on the list. In fact we're not trolls and we are here to try to help
others less fortunate than ourselves.
We have read the mailing list and can find no reference to said.
Please simply tell us what to do to lose the error. Thank you.
More information about the samba-technical