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

Installation error



Hello,

I received many errors about sys_errlist when I make install OpenLDAP v.3.3.
After installation, I don't have the slapd.conf, slapd.at.conf, and
slapd.oc.conf files under my ETCDIR directory like the manual said they
would.

HELP please...  Thank you in advance

Most errors look like this below:
	"conflicting types for `sys_errlist'"
	/usr/include/stdio.h:557: previous declaration of `sys_errlist'



The complete installation logs are below... sorry if it's too long...
----------------------------------------------------------------------------
---------------

[root@abraxas ldap-3.3]# make install
making buildtools
  cd build; make
make[1]: Entering directory `/usr/local/src/ldap-3.3/build'
make[1]: Leaving directory `/usr/local/src/ldap-3.3/build'

cd include; make  install
make[1]: Entering directory `/usr/local/src/ldap-3.3/include'
mkdir -p /usr/local/include
install -c -m 644 ldap.h /usr/local/include
install -c -m 644 lber.h /usr/local/include
install -c -m 644 proto-lber.h /usr/local/include
install -c -m 644 proto-ldap.h /usr/local/include
install -c -m 644 disptmpl.h /usr/local/include
install -c -m 644 srchpref.h /usr/local/include
make[1]: Leaving directory `/usr/local/src/ldap-3.3/include'

cd libraries; make  install
make[1]: Entering directory `/usr/local/src/ldap-3.3/libraries'
making install in /usr/local/src/ldap-3.3/libraries

  cd libavl; make -w install
make[2]: Entering directory `/usr/local/src/ldap-3.3/libraries/libavl'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/usr/local/src/ldap-3.3/libraries/libavl'

  cd liblber; make -w install
make[2]: Entering directory `/usr/local/src/ldap-3.3/libraries/liblber'
mkdir -p /usr/local/lib
install -c -m 644 liblber.a /usr/local/lib
make[2]: Leaving directory `/usr/local/src/ldap-3.3/libraries/liblber'

  cd libldap; make -w install
make[2]: Entering directory `/usr/local/src/ldap-3.3/libraries/libldap'
mkdir -p /usr/local/lib
install -c -m 644 libldap.a /usr/local/lib
mkdir -p /usr/local/etc
mv -f /usr/local/etc/ldapfriendly /usr/local/etc/ldapfriendly-
install -c -m 644 ldapfriendly /usr/local/etc
mv -f /usr/local/etc/ldapfilter.conf /usr/local/etc/ldapfilter.conf-
install -c -m 644 ldapfilter.conf /usr/local/etc
mv -f /usr/local/etc/ldaptemplates.conf /usr/local/etc/ldaptemplates.conf-
install -c -m 644 ldaptemplates.conf /usr/local/etc
mv -f /usr/local/etc/ldapsearchprefs.conf
/usr/local/etc/ldapsearchprefs.conf-
install -c -m 644 ldapsearchprefs.conf /usr/local/etc
make[2]: Leaving directory `/usr/local/src/ldap-3.3/libraries/libldap'

  cd libldbm; make -w install
make[2]: Entering directory `/usr/local/src/ldap-3.3/libraries/libldbm'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/usr/local/src/ldap-3.3/libraries/libldbm'

  cd libldif; make -w install
make[2]: Entering directory `/usr/local/src/ldap-3.3/libraries/libldif'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/usr/local/src/ldap-3.3/libraries/libldif'

  cd liblthread; make -w install
make[2]: Entering directory `/usr/local/src/ldap-3.3/libraries/liblthread'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/usr/local/src/ldap-3.3/libraries/liblthread'

  cd macintosh; make -w install
make[2]: Entering directory `/usr/local/src/ldap-3.3/libraries/macintosh'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/usr/local/src/ldap-3.3/libraries/macintosh'

  cd msdos; make -w install
make[2]: Entering directory `/usr/local/src/ldap-3.3/libraries/msdos'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/usr/local/src/ldap-3.3/libraries/msdos'

  cd vms; make -w install
make[2]: Entering directory `/usr/local/src/ldap-3.3/libraries/vms'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/usr/local/src/ldap-3.3/libraries/vms'
make[1]: Leaving directory `/usr/local/src/ldap-3.3/libraries'

cd clients; make  install
make[1]: Entering directory `/usr/local/src/ldap-3.3/clients'
making install in /usr/local/src/ldap-3.3/clients

  cd fax500; make -w install
make[2]: Entering directory `/usr/local/src/ldap-3.3/clients/fax500'
gcc -I../../include -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS     -DLDAP_
LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/include   
   -c -o rp500.o rp500.c
rm -f rpversion.c
(u=${USER-root} v=`cat ../../build/version` d=`pwd` h=`hostname` \
t=`date`; sed -e "s|%WHEN%|${t}|" \
-e "s|%WHOANDWHERE%|${u}@${h}:${d}|" \
-e "s|%VERSION%|${v}|" \
< Versionrp.c > rpversion.c)
gcc -I../../include -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS     -DLDAP_
LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/include   
   -c -o rpversion.o rpversion.c
gcc   -o rp500 faxtotpc.o rp500.o rpversion.o \
        -L../../libraries -lldap -llber
gcc -I../../include -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS     -DLDAP_
LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/include   
   -c -o main.o main.c
rm -f fax5version.c
(u=${USER-root} v=`cat ../../build/version` d=`pwd` h=`hostname` \
 t=`date`; sed -e "s|%WHEN%|${t}|" \
-e "s|%WHOANDWHERE%|${u}@${h}:${d}|" \
-e "s|%VERSION%|${v}|" \
< Version.c > fax5version.c )
gcc -I../../include -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS     -DLDAP_
LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/include   
   -c -o fax5version.o fax5version.c
gcc   -o fax500 main.o fax5version.o faxtotpc.o \
        -L../../libraries -lldap -llber
mkdir -p /usr/local/etc /usr/local/bin
install -c -m 755 rp500 /usr/local/etc
sed -e 's%ETCDIR%/usr/local/etc%' xrpcomp > /tmp/xrpcomp.tmp
install -c -m 755 /tmp/xrpcomp.tmp /usr/local/bin/xrpcomp
rm -f /tmp/xrpcomp.tmp
install -c -m 755 fax500 /usr/local/etc
make[2]: Leaving directory `/usr/local/src/ldap-3.3/clients/fax500'

  cd finger; make -w install
make[2]: Entering directory `/usr/local/src/ldap-3.3/clients/finger'
gcc -I../../include -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS     -DLDAP_
LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/include   
   -c -o main.o main.c
rm -f version.c
(u=${USER-root} v=`cat ../../build/version` d=`pwd` h=`hostname` \
 t=`date`; sed -e "s|%WHEN%|${t}|" \
-e "s|%WHOANDWHERE%|${u}@${h}:${d}|" \
-e "s|%VERSION%|${v}|" \
< Version.c > version.c)
gcc -I../../include -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS     -DLDAP_
LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/include   
   -c -o version.o version.c
gcc   -o in.xfingerd main.o version.o \
        -L../../libraries -lldap -llber
mkdir -p /usr/local/etc
install -c -m 755 in.xfingerd /usr/local/etc
make[2]: Leaving directory `/usr/local/src/ldap-3.3/clients/finger'

  cd gopher; make -w install
make[2]: Entering directory `/usr/local/src/ldap-3.3/clients/gopher'
gcc -I../../include -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS     -DLDAP_
LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/include   
   -c -o go500.o go500.c
rm -f goversion.c
(u=${USER-root} v=`cat ../../build/version` d=`pwd` h=`hostname` \
t=`date`; sed -e "s|%WHEN%|${t}|" \
-e "s|%WHOANDWHERE%|${u}@${h}:${d}|" \
-e "s|%VERSION%|${v}|" \
< Version.c > goversion.c)
gcc -I../../include -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS     -DLDAP_
LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/include   
   -c -o goversion.o goversion.c
gcc   -o go500 go500.o detach.o goversion.o
setproctitle.o -L../../libraries -lldap -llber
gcc -I../../include -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS     -DLDAP_
LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/include   
   -c -o go500gw.o go500gw.c
rm -f gwversion.c
(u=${USER-root} v=`cat ../../build/version` d=`pwd` h=`hostname` \
t=`date`; sed -e "s|%WHEN%|${t}|" \
-e "s|%WHOANDWHERE%|${u}@${h}:${d}|" \
-e "s|%VERSION%|${v}|" \
< Versiongw.c > gwversion.c)
gcc -I../../include -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS     -DLDAP_
LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/include   
   -c -o gwversion.o gwversion.c
gcc   -o go500gw go500gw.o detach.o gwversion.o
setproctitle.o -L../../libraries -lldap -llber
mkdir -p /usr/local/etc
install -c -m 755 go500 /usr/local/etc
install -c -m 755 go500gw /usr/local/etc
mv -f /usr/local/etc/go500gw.help /usr/local/etc/go500gw.help-
install -c -m 644 go500gw.help /usr/local/etc
make[2]: Leaving directory `/usr/local/src/ldap-3.3/clients/gopher'

  cd mail500; make -w install
make[2]: Entering directory `/usr/local/src/ldap-3.3/clients/mail500'
gcc -I../../include -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS     -DLDAP_
LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/include   
   -c -o main.o main.c
rm -f version.c
(u=${USER-root} v=`cat ../../build/version` d=`pwd` h=`hostname` \
t=`date`; sed -e "s|%WHEN%|${t}|" \
-e "s|%WHOANDWHERE%|${u}@${h}:${d}|" \
-e "s|%VERSION%|${v}|" \
< Version.c > version.c)
gcc -I../../include -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS     -DLDAP_
LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/include   
   -c -o version.o version.c
gcc   -o mail500 main.o version.o -L../../libraries -lldap -llber
mkdir -p /usr/local/etc
install -c -m 755 mail500 /usr/local/etc
make[2]: Leaving directory `/usr/local/src/ldap-3.3/clients/mail500'

  cd rcpt500; make -w install
make[2]: Entering directory `/usr/local/src/ldap-3.3/clients/rcpt500'
gcc -I../../include -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS     -DLDAP_
LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/include   
   -c -o main.o main.c
gcc -I../../include -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS     -DLDAP_
LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/include   
   -c -o help.o help.c
gcc -I../../include -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS     -DLDAP_
LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/include   
   -c -o query.o query.c
rm -f version.c
(u=${USER-root} v=`cat ../../build/version` d=`pwd` h=`hostname` \
t=`date`; sed -e "s|%WHEN%|${t}|" \
-e "s|%WHOANDWHERE%|${u}@${h}:${d}|" \
-e "s|%VERSION%|${v}|" \
< Version.c > version.c)
gcc -I../../include -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS     -DLDAP_
LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/include   
   -c -o version.o version.c
gcc   -o rcpt500 main.o cmds.o help.o query.o
version.o -L../../libraries -lldap -llber
mkdir -p /usr/local/etc
install -c -m 755 rcpt500 /usr/local/etc
install -c -m 644 rcpt500.help /usr/local/etc
make[2]: Leaving directory `/usr/local/src/ldap-3.3/clients/rcpt500'

  cd tools; make -w install
make[2]: Entering directory `/usr/local/src/ldap-3.3/clients/tools'
gcc -I../../include -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS     -DLDAP_
LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/include   
   -c -o ldapsearch.o ldapsearch.c
rm -f ldsversion.c
(u=${USER-root} v=`cat ../../build/version` d=`pwd` h=`hostname` \
t=`date`; sed -e "s|%WHEN%|${t}|" \
-e "s|%WHOANDWHERE%|${u}@${h}:${d}|" \
-e "s|%VERSION%|${v}|" \
< Versionlds.c > ldsversion.c)
gcc -I../../include -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS     -DLDAP_
LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/include   
   -c -o ldsversion.o ldsversion.c
gcc   -o ldapsearch ldapsearch.o ldsversion.o \
        -L../../libraries -lldap -llber -lldif
gcc -I../../include -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS     -DLDAP_
LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/include   
   -c -o ldapmodify.o ldapmodify.c
rm -f ldmversion.c
(u=${USER-root} v=`cat ../../build/version` d=`pwd` h=`hostname` \
t=`date`; sed -e "s|%WHEN%|${t}|" \
-e "s|%WHOANDWHERE%|${u}@${h}:${d}|" \
-e "s|%VERSION%|${v}|" \
< Versionldm.c > ldmversion.c)
gcc -I../../include -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS     -DLDAP_
LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/include   
   -c -o ldmversion.o ldmversion.c
gcc   -o ldapmodify ldapmodify.o ldmversion.o \
        -L../../libraries -lldap -llber -lldif
gcc -I../../include -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS     -DLDAP_
LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/include   
   -c -o ldapdelete.o ldapdelete.c
rm -f lddversion.c
(u=${USER-root} v=`cat ../../build/version` d=`pwd` h=`hostname` \
t=`date`; sed -e "s|%WHEN%|${t}|" \
-e "s|%WHOANDWHERE%|${u}@${h}:${d}|" \
-e "s|%VERSION%|${v}|" \
< Versionldd.c > lddversion.c)
gcc -I../../include -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS     -DLDAP_
LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/include   
   -c -o lddversion.o lddversion.c
gcc   -o ldapdelete ldapdelete.o
lddversion.o -L../../libraries -lldap -llber -lldif
gcc -I../../include -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS     -DLDAP_
LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/include   
   -c -o ldapmodrdn.o ldapmodrdn.c
rm -f ldrversion.c
(u=${USER-root} v=`cat ../../build/version` d=`pwd` h=`hostname` \
t=`date`; sed -e "s|%WHEN%|${t}|" \
-e "s|%WHOANDWHERE%|${u}@${h}:${d}|" \
-e "s|%VERSION%|${v}|" \
< Versionldr.c > ldrversion.c)
gcc -I../../include -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS     -DLDAP_
LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/include   
   -c -o ldrversion.o ldrversion.c
gcc   -o ldapmodrdn ldapmodrdn.o
ldrversion.o -L../../libraries -lldap -llber -lldif
rm -f ldapadd
ln ldapmodify ldapadd
mkdir -p /usr/local/bin
install -c -m 755 ldapsearch /usr/local/bin
install -c -m 755 ldapmodify /usr/local/bin
install -c -m 755 ldapdelete /usr/local/bin
install -c -m 755 ldapmodrdn /usr/local/bin
rm -f /usr/local/bin/ldapadd
ln /usr/local/bin/ldapmodify /usr/local/bin/ldapadd
make[2]: Leaving directory `/usr/local/src/ldap-3.3/clients/tools'

  cd ud; make -w install
make[2]: Entering directory `/usr/local/src/ldap-3.3/clients/ud'
gcc -I../../include  -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS     -DLDAP
_LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/include  
-DDEBUG -DCONFIG_FILE=\"/usr/local/etc/ud.conf\" -DLDAP_FRIENDLY_MAP_FILE=\"
/usr/local/etc/ldapfriendly\"     -c -o main.o main.c
main.c: In function `initialize_client':
main.c:672: storage size of `win' isn't known
main.c:678: `TIOCGWINSZ' undeclared (first use in this function)
main.c:678: (Each undeclared identifier is reported only once
main.c:678: for each function it appears in.)
main.c: In function `chwinsz':
main.c:713: storage size of `win' isn't known
main.c:716: `TIOCGWINSZ' undeclared (first use in this function)
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/usr/local/src/ldap-3.3/clients/ud'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/local/src/ldap-3.3/clients'

cd servers; make  install
make[1]: Entering directory `/usr/local/src/ldap-3.3/servers'
making install in /usr/local/src/ldap-3.3/servers
  cd ldapd; make -w install
make[2]: Entering directory `/usr/local/src/ldap-3.3/servers/ldapd'
uncomment the HAVEISODE=yes line in the Make-common file to build and
install ldapd
make[2]: Leaving directory `/usr/local/src/ldap-3.3/servers/ldapd'
  cd slapd; make -w install
make[2]: Entering directory `/usr/local/src/ldap-3.3/servers/slapd'

make[3]: Entering directory `/usr/local/src/ldap-3.3/servers/slapd'

  cd back-ldbm; make -w all
make[4]: Entering directory
`/usr/local/src/ldap-3.3/servers/slapd/back-ldbm'
make[5]: Entering directory
`/usr/local/src/ldap-3.3/servers/slapd/back-ldbm'
gcc -I. -I.. -I../../../include   -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRA
LS     -DLDAP_LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/g
dbm/include       -c -o idl.o idl.c
gcc -I. -I.. -I../../../include   -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRA
LS     -DLDAP_LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/g
dbm/include       -c -o dbcache.o dbcache.c
dbcache.c:18: conflicting types for `sys_errlist'
/usr/include/stdio.h:557: previous declaration of `sys_errlist'
make[5]: *** [dbcache.o] Error 1
make[5]: Leaving directory `/usr/local/src/ldap-3.3/servers/slapd/back-ldbm'
make[4]: [all] Error 2 (ignored)
make[4]: Leaving directory `/usr/local/src/ldap-3.3/servers/slapd/back-ldbm'

  cd back-passwd; make -w all
make[4]: Entering directory
`/usr/local/src/ldap-3.3/servers/slapd/back-passwd'
make[5]: Entering directory
`/usr/local/src/ldap-3.3/servers/slapd/back-passwd'
make[5]: `libback-passwd.a' is up to date.
make[5]: Leaving directory
`/usr/local/src/ldap-3.3/servers/slapd/back-passwd'
make[4]: Leaving directory
`/usr/local/src/ldap-3.3/servers/slapd/back-passwd'

  cd back-shell; make -w all
make[4]: Entering directory
`/usr/local/src/ldap-3.3/servers/slapd/back-shell'
make[5]: Entering directory
`/usr/local/src/ldap-3.3/servers/slapd/back-shell'
make[5]: `libback-shell.a' is up to date.
make[5]: Leaving directory
`/usr/local/src/ldap-3.3/servers/slapd/back-shell'
make[4]: Leaving directory
`/usr/local/src/ldap-3.3/servers/slapd/back-shell'

make[4]: Entering directory `/usr/local/src/ldap-3.3/servers/slapd'
make[4]: `libbackends.a' is up to date.
make[4]: Leaving directory `/usr/local/src/ldap-3.3/servers/slapd'
make[3]: Leaving directory `/usr/local/src/ldap-3.3/servers/slapd'
make[3]: Entering directory `/usr/local/src/ldap-3.3/servers/slapd'
gcc -I. -I../../include   -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS     -
DLDAP_LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/incl
ude            -c -o main.o main.c
gcc -I. -I../../include   -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS     -
DLDAP_LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/incl
ude            -c -o daemon.o daemon.c
daemon.c:30: conflicting types for `sys_errlist'
/usr/include/stdio.h:557: previous declaration of `sys_errlist'
make[3]: *** [daemon.o] Error 1
make[3]: Leaving directory `/usr/local/src/ldap-3.3/servers/slapd'
make[3]: Entering directory `/usr/local/src/ldap-3.3/servers/slapd/tools'
uncomment the HAVEISODE=yes line in the Make-common file to build edb2ldif
gcc -I. -I../../../include  -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS    
 -DLDAP_LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/in
clude            -c -o ../result.o ../result.c
../result.c:16: conflicting types for `sys_errlist'
/usr/include/stdio.h:557: previous declaration of `sys_errlist'
make[3]: *** [../result.o] Error 1
make[3]: Leaving directory `/usr/local/src/ldap-3.3/servers/slapd/tools'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/ldap-3.3/servers/slapd'
  cd slurpd; make -w install
make[2]: Entering directory `/usr/local/src/ldap-3.3/servers/slurpd'
gcc -I. -I../../include   -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS     -
DLDAP_LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/incl
ude            -c -o admin.o admin.c
gcc -I. -I../../include   -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS     -
DLDAP_LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/incl
ude            -c -o args.o args.c
gcc -I. -I../../include   -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS     -
DLDAP_LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/incl
ude            -c -o config.o config.c
gcc -I. -I../../include   -Dlinux -DLDAP_DEBUG        -DLDAP_REFERRALS     -
DLDAP_LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_GDBM -I/usr/local/gdbm/incl
ude            -c -o fm.o fm.c
fm.c:58: conflicting types for `sys_errlist'
/usr/include/stdio.h:557: previous declaration of `sys_errlist'
make[2]: *** [fm.o] Error 1
make[2]: Leaving directory `/usr/local/src/ldap-3.3/servers/slurpd'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/local/src/ldap-3.3/servers'

cd doc; make  install
make[1]: Entering directory `/usr/local/src/ldap-3.3/doc'
making install in /usr/local/src/ldap-3.3/doc

  cd guides; make -w install
make[2]: Entering directory `/usr/local/src/ldap-3.3/doc/guides'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/usr/local/src/ldap-3.3/doc/guides'

  cd man; make -w install
make[2]: Entering directory `/usr/local/src/ldap-3.3/doc/man'
making install in /usr/local/src/ldap-3.3/doc/man

  cd man1; make -w install
make[3]: Entering directory `/usr/local/src/ldap-3.3/doc/man/man1'
mkdir -p /usr/local/man/man1
installing /usr/local/man/man1/ldapdelete.1
installing /usr/local/man/man1/ldapmodify.1
installing /usr/local/man/man1/ldapadd.1 as link to ldapmodify.1
installing /usr/local/man/man1/ldapmodrdn.1
installing /usr/local/man/man1/ldapsearch.1
installing /usr/local/man/man1/ud.1
make[3]: Leaving directory `/usr/local/src/ldap-3.3/doc/man/man1'

  cd man3; make -w install
make[3]: Entering directory `/usr/local/src/ldap-3.3/doc/man/man3'
mkdir -p /usr/local/man/man3
installing /usr/local/man/man3/cldap_close.3
installing /usr/local/man/man3/cldap_open.3
installing /usr/local/man/man3/cldap_search_s.3
installing /usr/local/man/man3/cldap_setretryinfo.3
installing /usr/local/man/man3/lber-decode.3
installing /usr/local/man/man3/lber-encode.3
installing /usr/local/man/man3/ldap.3
installing /usr/local/man/man3/cldap.3 as link to ldap.3
installing /usr/local/man/man3/ldap_abandon.3
installing /usr/local/man/man3/ldap_add.3
installing /usr/local/man/man3/ldap_add_s.3 as link to ldap_add.3
installing /usr/local/man/man3/ldap_bind.3
installing /usr/local/man/man3/ldap_bind_s.3 as link to ldap_bind.3
installing /usr/local/man/man3/ldap_simple_bind.3 as link to ldap_bind.3
installing /usr/local/man/man3/ldap_simple_bind_s.3 as link to ldap_bind.3
installing /usr/local/man/man3/ldap_kerberos_bind_s.3 as link to ldap_bind.3
installing /usr/local/man/man3/ldap_kerberos_bind1.3 as link to ldap_bind.3
installing /usr/local/man/man3/ldap_kerberos_bind1_s.3 as link to
ldap_bind.3
installing /usr/local/man/man3/ldap_kerberos_bind2.3 as link to ldap_bind.3
installing /usr/local/man/man3/ldap_kerberos_bind2_s.3 as link to
ldap_bind.3
installing /usr/local/man/man3/ldap_unbind.3 as link to ldap_bind.3
installing /usr/local/man/man3/ldap_unbind_s.3 as link to ldap_bind.3
installing /usr/local/man/man3/ldap_set_rebind_proc.3 as link to ldap_bind.3
installing /usr/local/man/man3/ldap_cache.3
installing /usr/local/man/man3/ldap_enable_cache.3 as link to ldap_cache.3
installing /usr/local/man/man3/ldap_disable_cache.3 as link to ldap_cache.3
installing /usr/local/man/man3/ldap_destroy_cache.3 as link to ldap_cache.3
installing /usr/local/man/man3/ldap_flush_cache.3 as link to ldap_cache.3
installing /usr/local/man/man3/ldap_uncache_entry.3 as link to ldap_cache.3
installing /usr/local/man/man3/ldap_uncache_request.3 as link to
ldap_cache.3
installing /usr/local/man/man3/ldap_set_cache_options.3 as link to
ldap_cache.3
installing /usr/local/man/man3/ldap_charset.3
installing /usr/local/man/man3/ldap_set_string_translators.3 as link to
ldap_charset.3
installing /usr/local/man/man3/ldap_enable_translation.3 as link to
ldap_charset.3
installing /usr/local/man/man3/ldap_translate_from_t61.3 as link to
ldap_charset.3
installing /usr/local/man/man3/ldap_translate_to_t61.3 as link to
ldap_charset.3
installing /usr/local/man/man3/ldap_t61_to_8859.3 as link to ldap_charset.3
installing /usr/local/man/man3/ldap_8859_to_t61.3 as link to ldap_charset.3
installing /usr/local/man/man3/ldap_compare.3
installing /usr/local/man/man3/ldap_compare_s.3 as link to ldap_compare.3
installing /usr/local/man/man3/ldap_delete.3
installing /usr/local/man/man3/ldap_delete_s.3 as link to ldap_delete.3
installing /usr/local/man/man3/ldap_disptmpl.3
installing /usr/local/man/man3/ldap_init_templates.3 as link to
ldap_disptmpl.3
installing /usr/local/man/man3/ldap_init_templates_buf.3 as link to
ldap_disptmpl.3
installing /usr/local/man/man3/ldap_free_templates.3 as link to
ldap_disptmpl.3
installing /usr/local/man/man3/ldap_first_disptmpl.3 as link to
ldap_disptmpl.3
installing /usr/local/man/man3/ldap_next_disptmpl.3 as link to
ldap_disptmpl.3
installing /usr/local/man/man3/ldap_oc2template.3 as link to ldap_disptmpl.3
installing /usr/local/man/man3/ldap_tmplattrs.3 as link to ldap_disptmpl.3
installing /usr/local/man/man3/ldap_first_tmplrow.3 as link to
ldap_disptmpl.3
installing /usr/local/man/man3/ldap_next_tmplrow.3 as link to
ldap_disptmpl.3
installing /usr/local/man/man3/ldap_first_tmplcol.3 as link to
ldap_disptmpl.3
installing /usr/local/man/man3/ldap_next_tmplcol.3 as link to
ldap_disptmpl.3
installing /usr/local/man/man3/ldap_entry2text.3
installing /usr/local/man/man3/ldap_entry2text_search.3 as link to
ldap_entry2text.3
installing /usr/local/man/man3/ldap_vals2text.3 as link to ldap_entry2text.3
installing /usr/local/man/man3/ldap_entry2html.3 as link to
ldap_entry2text.3
installing /usr/local/man/man3/ldap_entry2html_search.3 as link to
ldap_entry2text.3
installing /usr/local/man/man3/ldap_vals2html.3 as link to ldap_entry2text.3
installing /usr/local/man/man3/ldap_error.3
installing /usr/local/man/man3/ldap_perror.3 as link to ldap_error.3
installing /usr/local/man/man3/ld_errno.3 as link to ldap_error.3
installing /usr/local/man/man3/ldap_result2error.3 as link to ldap_error.3
installing /usr/local/man/man3/ldap_errlist.3 as link to ldap_error.3
installing /usr/local/man/man3/ldap_err2string.3 as link to ldap_error.3
installing /usr/local/man/man3/ldap_first_attribute.3
installing /usr/local/man/man3/ldap_next_attribute.3 as link to
ldap_first_attribute.3
installing /usr/local/man/man3/ldap_first_entry.3
installing /usr/local/man/man3/ldap_next_entry.3 as link to
ldap_first_entry.3
installing /usr/local/man/man3/ldap_count_entries.3 as link to
ldap_first_entry.3
installing /usr/local/man/man3/ldap_friendly.3
installing /usr/local/man/man3/ldap_friendly_name.3 as link to
ldap_friendly.3
installing /usr/local/man/man3/ldap_free_friendlymap.3 as link to
ldap_friendly.3
installing /usr/local/man/man3/ldap_get_dn.3
installing /usr/local/man/man3/ldap_explode_dn.3 as link to ldap_get_dn.3
installing /usr/local/man/man3/ldap_explode_dns.3 as link to ldap_get_dn.3
installing /usr/local/man/man3/ldap_dn2ufn.3 as link to ldap_get_dn.3
installing /usr/local/man/man3/ldap_is_dns_dn.3 as link to ldap_get_dn.3
installing /usr/local/man/man3/ldap_get_values.3
installing /usr/local/man/man3/ldap_get_values_len.3 as link to
ldap_get_values.3
installing /usr/local/man/man3/ldap_value_free.3 as link to
ldap_get_values.3
installing /usr/local/man/man3/ldap_value_free_len.3 as link to
ldap_get_values.3
installing /usr/local/man/man3/ldap_count_values.3 as link to
ldap_get_values.3
installing /usr/local/man/man3/ldap_count_values_len.3 as link to
ldap_get_values.3
installing /usr/local/man/man3/ldap_getfilter.3
installing /usr/local/man/man3/ldap_init_getfilter.3 as link to
ldap_getfilter.3
installing /usr/local/man/man3/ldap_init_getfilter_buf.3 as link to
ldap_getfilter.3
installing /usr/local/man/man3/ldap_getfilter_free.3 as link to
ldap_getfilter.3
installing /usr/local/man/man3/ldap_getfirstfilter.3 as link to
ldap_getfilter.3
installing /usr/local/man/man3/ldap_getnextfilter.3 as link to
ldap_getfilter.3
installing /usr/local/man/man3/ldap_setfilteraffixes.3 as link to
ldap_getfilter.3
installing /usr/local/man/man3/ldap_build_filter.3 as link to
ldap_getfilter.3
installing /usr/local/man/man3/ldap_modify.3
installing /usr/local/man/man3/ldap_modify_s.3 as link to ldap_modify.3
installing /usr/local/man/man3/ldap_mods_free.3 as link to ldap_modify.3
installing /usr/local/man/man3/ldap_modrdn.3
installing /usr/local/man/man3/ldap_modrdn_s as link to ldap_modrdn.3
installing /usr/local/man/man3/ldap_modrdn2 as link to ldap_modrdn.3
installing /usr/local/man/man3/ldap_modrdn2_s as link to ldap_modrdn.3
installing /usr/local/man/man3/ldap_open.3
installing /usr/local/man/man3/ldap_init.3 as link to ldap_open.3
installing /usr/local/man/man3/ldap_result.3
installing /usr/local/man/man3/ldap_msgfree.3 as link to ldap_result.3
installing /usr/local/man/man3/ldap_search.3
installing /usr/local/man/man3/ldap_search_s.3 as link to ldap_search.3
installing /usr/local/man/man3/ldap_search_st.3 as link to ldap_search.3
installing /usr/local/man/man3/ldap_searchprefs.3
installing /usr/local/man/man3/ldap_init_searchprefs.3 as link to
ldap_searchprefs.3
installing /usr/local/man/man3/ldap_init_searchprefs_buf.3 as link to
ldap_searchprefs.3
installing /usr/local/man/man3/ldap_free_searchprefs.3 as link to
ldap_searchprefs.3
installing /usr/local/man/man3/ldap_first_searchobj.3 as link to
ldap_searchprefs.3
installing /usr/local/man/man3/ldap_next_searchobj.3 as link to
ldap_searchprefs.3
installing /usr/local/man/man3/ldap_sort.3
installing /usr/local/man/man3/ldap_sort_entries.3 as link to ldap_sort.3
installing /usr/local/man/man3/ldap_sort_values.3 as link to ldap_sort.3
installing /usr/local/man/man3/ldap_sort_strcasecmp.3 as link to ldap_sort.3
installing /usr/local/man/man3/ldap_ufn.3
installing /usr/local/man/man3/ldap_ufn_search_s.3 as link to ldap_ufn.3
installing /usr/local/man/man3/ldap_ufn_search_c.3 as link to ldap_ufn.3
installing /usr/local/man/man3/ldap_ufn_search_ct.3 as link to ldap_ufn.3
installing /usr/local/man/man3/ldap_ufn_setprefix.3 as link to ldap_ufn.3
installing /usr/local/man/man3/ldap_ufn_setfilter.3 as link to ldap_ufn.3
installing /usr/local/man/man3/ldap_ufn_timeout.3 as link to ldap_ufn.3
installing /usr/local/man/man3/ldap_url.3
installing /usr/local/man/man3/ldap_is_ldap_url.3 as link to ldap_url.3
installing /usr/local/man/man3/ldap_url_parse.3 as link to ldap_url.3
installing /usr/local/man/man3/ldap_free_urldesc.3 as link to ldap_url.3
installing /usr/local/man/man3/ldap_url_search.3 as link to ldap_url.3
installing /usr/local/man/man3/ldap_url_search_s.3 as link to ldap_url.3
installing /usr/local/man/man3/ldap_url_search_st.3 as link to ldap_url.3
installing /usr/local/man/man3/regex.3
make[3]: Leaving directory `/usr/local/src/ldap-3.3/doc/man/man3'

  cd man5; make -w install
make[3]: Entering directory `/usr/local/src/ldap-3.3/doc/man/man5'
mkdir -p /usr/local/man/man5
installing /usr/local/man/man5/ldapfilter.conf.5
installing /usr/local/man/man5/ldapfriendly.5
installing /usr/local/man/man5/ldapsearchprefs.conf.5
installing /usr/local/man/man5/ldaptemplates.conf.5
installing /usr/local/man/man5/ldif.5
installing /usr/local/man/man5/slapd.conf.5
installing /usr/local/man/man5/slapd.replog.5
installing /usr/local/man/man5/ud.conf.5
make[3]: Leaving directory `/usr/local/src/ldap-3.3/doc/man/man5'

  cd man8; make -w install
make[3]: Entering directory `/usr/local/src/ldap-3.3/doc/man/man8'
mkdir -p /usr/local/man/man8
installing /usr/local/man/man8/centipede.8
installing /usr/local/man/man8/chlog2replog.8
installing /usr/local/man/man8/edb2ldif.8
installing /usr/local/man/man8/go500.8
installing /usr/local/man/man8/go500gw.8
installing /usr/local/man/man8/in.xfingerd.8
installing /usr/local/man/man8/ldapd.8
installing /usr/local/man/man8/ldbmcat.8
installing /usr/local/man/man8/ldif.8
installing /usr/local/man/man8/ldif2ldbm.8
installing /usr/local/man/man8/ldif2index.8 as link to ldif2ldbm.8
installing /usr/local/man/man8/ldif2id2entry.8 as link to ldif2ldbm.8
installing /usr/local/man/man8/ldif2id2children.8 as link to ldif2ldbm.8
installing /usr/local/man/man8/mail500.8
installing /usr/local/man/man8/fax500.8 as link to mail500.8
installing /usr/local/man/man8/rcpt500.8
installing /usr/local/man/man8/slapd.8
installing /usr/local/man/man8/slurpd.8
make[3]: Leaving directory `/usr/local/src/ldap-3.3/doc/man/man8'
make[2]: Leaving directory `/usr/local/src/ldap-3.3/doc/man'

  cd rfc; make -w install
make[2]: Entering directory `/usr/local/src/ldap-3.3/doc/rfc'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/usr/local/src/ldap-3.3/doc/rfc'
make[1]: Leaving directory `/usr/local/src/ldap-3.3/doc'