On Apr 30, 2015, at 10:21 PM, Quanah Gibson-Mount <quanah(a)zimbra.com> wrote:
If you know how to build OpenLDAP manually, and would like to
participate in testing the next set of code for the 2.4.41 release, please do so.
Generally, get the code for RE24:
<
http://www.openldap.org/devel/gitweb.cgi?p=openldap.git;a=snapshot;h=refs...
Configure & build.
Execute the test suite (via make test) after it is built.
It builds find on EL7 x86_64 and tests succeed.
Build does not work on EL6 x86_64. Exits during make for sasl. I could not figure out what
is wrong. Last lines are below.
If I run the configure script with --with-cyrus-sasl=no, make runs through without
errors.
sasl.c: In function ‘slap_auxprop_lookup’:
sasl.c:320: warning: ‘return’ with a value, in function returning void
sasl.c: In function ‘slap_sasl_init’:
sasl.c:1115: error: ‘sasl_callback_ft’ undeclared (first use in this function)
sasl.c:1115: error: (Each undeclared identifier is reported only once
sasl.c:1115: error: for each function it appears in.)
sasl.c: In function ‘slap_sasl_open’:
sasl.c:1260: error: ‘sasl_callback_ft’ undeclared (first use in this function)
sasl.c:1260: error: invalid operands to binary & (have ‘struct sasl_callback_t *’ and
‘int (*)(void *, int, const char *)’)
sasl.c:1260: warning: assignment from incompatible pointer type
sasl.c:1264: error: invalid operands to binary & (have ‘struct sasl_callback_t *’ and
‘int (*)(struct sasl_conn_t *, void *, char *, unsigned int, char *, unsigned int, const
char *, unsigned int, struct propctx *)’)
sasl.c:1264: warning: assignment from incompatible pointer type
sasl.c:1268: error: invalid operands to binary & (have ‘struct sasl_callback_t *’ and
‘int (*)(struct sasl_conn_t *, void *, const char *, unsigned int, unsigned int, const
char *, char *, unsigned int, unsigned int *)’)
sasl.c:1268: warning: assignment from incompatible pointer type
make[2]: *** [sasl.o] Error 1
make[2]: Leaving directory
`/home/marco/openldap-OPENLDAP_REL_ENG_2_4-98f70f1/servers/slapd'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory
`/home/marco/openldap-OPENLDAP_REL_ENG_2_4-98f70f1/servers'
make: *** [all-common] Error 1
Thanks
Marco