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

Build error ud kerberosIV/des.h



HI!

Disclaimer: I'm a SASL and Kerberos newbie!

I'm trying to build a OpenLDAP 2.0.4 test server with Kerberos and
SASL stuff. I installed the krb5-1.2.1 and cyrus-sasl-1.5.24
package.

./configure \
  --prefix=/usr/local/openldap2 \
  --enable-kpasswd \
  --enable-kbind \
  --with-cyrus-sasl \
  --with-kerberos \
  --with-readline \
  --with-threads \
  --with-tls \
  --disable-ipv6 \
  --enable-spasswd \
  --enable-phonetic \
  --enable-aci

finds all necessary stuff. The build of servers/ works also.
Building clients/ works except clients/ud/ fails (see below).

make[2]: Entering directory
`/home/michael/src/openldap-2.0.4/clients/ud'
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/openldap-2.0.4/clients/ud'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory
`/home/michael/src/openldap-2.0.4/clients'
make: *** [all-common] Error 1

How can I disable building ud? I don't need it. I just need the
server and standard tools and be able to make install without ud/.

Ciao, Michael.