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

2.0.11 make fails on RH71



I succesfully configured OpenLDAP:

--snip--
env CPPFLAGS="-I/usr/kerberos/include" LDFLAGS="-L/usr/kerberos/lib" \
./configure --with-cyrus-sasl --with-kerberos=k5 --with-tls --enable-kbind \
--enable-kpasswd --enable-spasswd --enable-modules --enable-aci \
--enable-wrappers --with-ldbm-api=gdbm --enable-shell
--snip--


and then ran `make depend` and after that `make` which produces this error:

--snip--
make[2]: Leaving directory `/usr/src/openldap-2.0.11/clients/tools'
 
  Entering subdirectory ud
make[2]: Entering directory `/usr/src/openldap-2.0.11/clients/ud'
cc -g -O2 -I../../include        -I../../include   -I/usr/kerberos/include    
-c -o main.o main.c
cc -g -O2 -I../../include        -I../../include   -I/usr/kerberos/include    
-c -o find.o find.c
cc -g -O2 -I../../include        -I../../include   -I/usr/kerberos/include    
-c -o mod.o mod.c
cc -g -O2 -I../../include        -I../../include   -I/usr/kerberos/include    
-c -o print.o print.c
cc -g -O2 -I../../include        -I../../include   -I/usr/kerberos/include    
-c -o auth.o auth.c
In file included from auth.c:37:
ud.h:269: conflicting types for `des_string_to_key'
/usr/kerberos/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 `/usr/src/openldap-2.0.11/clients/ud'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/usr/src/openldap-2.0.11/clients'
make: *** [all-common] Error 1
--snip--


Any ideas what's going wrong? I suppose something with kerberos (which the
standard installation from RH71 CD).

Regards,
Peter