[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: OPENLDAP_REL_ENG_2 -> 2.0.8



Another one (with Kerberos enabled):

cc -I/usr/local/sasl/include -I/usr/local/krb5/include -O2 -g
-I../../include        -I../../include   -I/usr/local/sasl/include
-I/usr/local/krb5/include -O2 -g     -c -o auth.o auth.c
In file included from auth.c:37:
ud.h:269: conflicting types for `des_string_to_key'
/usr/local/krb5/include/kerberosIV/des.h:142: previous declaration
of `des_string_to_key'
auth.c: In function `krbgetpass':
auth.c:368: warning: passing arg 2 of `des_string_to_key' from
incompatible pointer type
make[2]: *** [auth.o] Error 1
make[2]: Leaving directory
`/home/michael/src/openldap2-dev/ldap/clients/ud'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory
`/home/michael/src/openldap2-dev/ldap/clients'
make: *** [all-common] Error 1

My compilation script is as follows (and works with OpenLDAP 2.0.7):

export "CFLAGS=-I/usr/local/sasl/include -I/usr/local/krb5/include
-O2 -g"
export "LDFLAGS=-L/usr/local/sasl/lib -L/usr/local/krb5/lib"
export "CPPFLAGS=$CFLAGS"
./configure \
  --prefix=/usr/local/openldap2 \
  --enable-kpasswd \
  --enable-kbind \
  --with-cyrus-sasl \
  --with-kerberos \
  --with-readline \
  --with-threads \
  --with-tls \
  --disable-ipv6 \
  --enable-ldap \
  --enable-spasswd \
  --enable-phonetic \
  --enable-aci
make depend && make && make test

Ciao, Michael.