Make fails on RC 1 Centos 6.3

Ricky Nance ricky.nance at weaubleau.k12.mo.us
Fri Sep 14 05:24:34 MDT 2012


Before you install that do a git clean -xfd then ./configure && make &&
make install as far as I know openldap-devel shouldn't be required, though
I have been known to be wrong on occasion :).

Ricky
On Sep 14, 2012 6:12 AM, "Alexander Bokovoy" <ab at samba.org> wrote:

> On Fri, Sep 14, 2012 at 12:58 PM, Per Qvindesland <perqvind at gmail.com>
> wrote:
> > Hi List
> >
> > I am trying to run make on RC 1 on a Centos 6.3 but it fails with the
> > following output:
> >
> > 2478/3780] Compiling source3/passdb/pdb_ldap_util.c
> > ../source3/passdb/pdb_ldap_util.c:36: warning: ‘struct smbldap_state’
> > declared inside parameter list
> > ../source3/passdb/pdb_ldap_util.c:36: warning: its scope is only this
> > definition or declaration, which is probably not what you want
> > ../source3/passdb/pdb_ldap_util.c: In function
> > ‘add_new_domain_account_policies’:
> > ../source3/passdb/pdb_ldap_util.c:85: error: ‘LDAP_MOD_REPLACE’
> undeclared
> > (first use in this function)
> > ../source3/passdb/pdb_ldap_util.c:85: error: (Each undeclared identifier
> is
> > reported only once
> > ../source3/passdb/pdb_ldap_util.c:85: error: for each function it appears
> > in.)
> > ../source3/passdb/pdb_ldap_util.c:91: error: ‘LDAP_SUCCESS’ undeclared
> > (first use in this function)
> > ../source3/passdb/pdb_ldap_util.c:93: error: dereferencing pointer to
> > incomplete type
> > ../source3/passdb/pdb_ldap_util.c:93: error: ‘LDAP_OPT_ERROR_STRING’
> > undeclared (first use in this function)
> > ../source3/passdb/pdb_ldap_util.c: At top level:
> > ../source3/passdb/pdb_ldap_util.c:118: warning: ‘struct smbldap_state’
> > declared inside parameter list
> > ../source3/passdb/pdb_ldap_util.c: In function ‘add_new_domain_info’:
> > ../source3/passdb/pdb_ldap_util.c:152: error: ‘LDAP_SUCCESS’ undeclared
> > (first use in this function)
> > ../source3/passdb/pdb_ldap_util.c:156: error: dereferencing pointer to
> > incomplete type
> > ../source3/passdb/pdb_ldap_util.c:190: error: ‘LDAP_MOD_ADD’ undeclared
> > (first use in this function)
> > ../source3/passdb/pdb_ldap_util.c:232: error: dereferencing pointer to
> > incomplete type
> > ../source3/passdb/pdb_ldap_util.c:233: error: ‘LDAP_OPT_ERROR_STRING’
> > undeclared (first use in this function)
> > ../source3/passdb/pdb_ldap_util.c: At top level:
> > ../source3/passdb/pdb_ldap_util.c:255: warning: ‘struct smbldap_state’
> > declared inside parameter list
> > ../source3/passdb/pdb_ldap_util.c: In function
> ‘smbldap_search_domain_info’:
> > ../source3/passdb/pdb_ldap_util.c:286: error: ‘LDAP_SUCCESS’ undeclared
> > (first use in this function)
> > ../source3/passdb/pdb_ldap_util.c:294: error: dereferencing pointer to
> > incomplete type
> > ../source3/passdb/pdb_ldap_util.c:310: warning: passing argument 1 of
> > ‘add_new_domain_info’ from incompatible pointer type
> > ../source3/passdb/pdb_ldap_util.c:117: note: expected ‘struct
> smbldap_state
> > *’ but argument is of type ‘struct smbldap_state *’
> > ../source3/passdb/pdb_ldap_util.c:317: warning: passing argument 1 of
> > ‘add_new_domain_account_policies’ from incompatible pointer type
> > ../source3/passdb/pdb_ldap_util.c:35: note: expected ‘struct
> smbldap_state
> > *’ but argument is of type ‘struct smbldap_state *’
> > Waf: Leaving directory `/root/samba-master/bin'
> > Build failed:  -> task failed (err #1):
> > {task: cc pdb_ldap_util.c -> pdb_ldap_util_33.o}
> > make: *** [all] Error 1
> >
> > Configures reports that everything is a ok but make is not a happy bunny.
> >
> > Is there a workaround for this?
> Looks like you don't have openldap-devel installed.
>
>
> --
> / Alexander Bokovoy
>


More information about the samba-technical mailing list