cd overlays; make -w static
make[3]: Entering directory '/root/openldap_compilation/openldap-2.4.49/servers/slapd/overlays'
cc -g -O2 -I../../../include -I../../../include -I.. -I./.. -c -o statover.o statover.c
cc -g -O2 -I../../../include -I../../../include -I.. -I./.. -c -o overlays.o overlays.c
rm -f version.c
../../../build/mkversion -v "2.4.49" ../liboverlays.a > version.c
/bin/sh ../../../libtool --tag=disable-static --mode=compile cc -g -O2 -I../../../include -I../../../include -I.. -I./.. -DSLAPD_IMPORT -c version.c
mkdir .libs
cc -g -O2 -I../../../include -I../../../include -I.. -I./.. -DSLAPD_IMPORT -c version.c -fPIC -DPIC -o .libs/version.o
ar rs ../liboverlays.a statover.o overlays.o
ar: creating ../liboverlays.a
make[3]: Leaving directory '/root/openldap_compilation/openldap-2.4.49/servers/slapd/overlays'
../../build/mkversion -v "2.4.49" -s -n Versionstr slapd > version.c
cc -g -O2 -I../../include -I. -I./slapi -I. -I../../include -c -o main.o main.c
cc -g -O2 -I../../include -I. -I./slapi -I. -I../../include -c -o globals.o globals.c
cc -g -O2 -I../../include -I. -I./slapi -I. -I../../include -c -o bconfig.o bconfig.c
bconfig.c: In function ‘config_rename_one’:
bconfig.c:4496:2: warning: passing argument 3 of ‘ldap_bv2rdn’ from incompatible pointer type [enabled by default]
rc = ldap_bv2rdn( &e->e_name, &rDN, &text, LDAP_DN_FORMAT_LDAP );
^
In file included from slap.h:51:0,
from bconfig.c:30:
../../include/ldap.h:1709:1: note: expected ‘char **’ but argument is of type ‘const char **’
ldap_bv2rdn LDAP_P((
^
bconfig.c: In function ‘config_build_entry’:
bconfig.c:6514:2: warning: passing argument 3 of ‘ldap_bv2rdn’ from incompatible pointer type [enabled by default]
rc = ldap_bv2rdn( rdn, &rDN, &text, LDAP_DN_FORMAT_LDAP );
^
In file included from slap.h:51:0,
from bconfig.c:30:
../../include/ldap.h:1709:1: note: expected ‘char **’ but argument is of type ‘const char **’
ldap_bv2rdn LDAP_P((
^
cc -g -O2 -I../../include -I. -I./slapi -I. -I../../include -c -o config.o config.c
cc -g -O2 -I../../include -I. -I./slapi -I. -I../../include -c -o daemon.o daemon.c
cc -g -O2 -I../../include -I. -I./slapi -I. -I../../include -c -o connection.o connection.c
cc -g -O2 -I../../include -I. -I./slapi -I. -I../../include -c -o search.o search.c
cc -g -O2 -I../../include -I. -I./slapi -I. -I../../include -c -o filter.o filter.c
cc -g -O2 -I../../include -I. -I./slapi -I. -I../../include -c -o add.o add.c
cc -g -O2 -I../../include -I. -I./slapi -I. -I../../include -c -o cr.o cr.c
....
openldap-2.4.49/contrib/slapd-modules/autogroup # make
../../../libtool --mode=compile gcc -g -O2 -Wall -I../../../include -I../../../include -I../../../servers/slapd -c autogroup.c
mkdir .libs
gcc -g -O2 -Wall -I../../../include -I../../../include -I../../../servers/slapd -c autogroup.c -fPIC -DPIC -o .libs/autogroup.o
autogroup.c: In function ‘autogroup_delete_entry’:
autogroup.c:963:27: warning: variable ‘age_prev’ set but not used [-Wunused-but-set-variable]
autogroup_entry_t *age, *age_prev, *age_next;
^
autogroup.c: In function ‘ag_cfgen’:
autogroup.c:1940:5: warning: too many arguments for format [-Wformat-extra-args]
c->argv[ 2 ] );
^
autogroup.c:1940:5: warning: too many arguments for format [-Wformat-extra-args]
gcc -g -O2 -Wall -I../../../include -I../../../include -I../../../servers/slapd -c autogroup.c -o autogroup.o >/dev/null 2>&1
../../../libtool --mode=link gcc -g -O2 -Wall -version-info 0:0:0 \
-rpath /usr/local/libexec/openldap -module -o autogroup.la autogroup.lo ../../../libraries/libldap_r/libldap_r.la ../../../libraries/liblber/liblber.la
cc -shared .libs/autogroup.o -Wl,--rpath -Wl,/root/openldap_compilation/openldap-2.4.49/libraries/libldap_r/.libs -Wl,--rpath -Wl,/root/openldap_compilation/openldap-2.4.49/libraries/liblber/.libs -L/root/openldap_compilation/openldap-2.4.49/libraries/liblber/.libs ../../../libraries/libldap_r/.libs/libldap_r.so ../../../libraries/liblber/.libs/liblber.so -Wl,-soname -Wl,autogroup.so.0 -o .libs/autogroup.so.0.0.0
(cd .libs && rm -f autogroup.so.0 && ln -s autogroup.so.0.0.0 autogroup.so.0)
(cd .libs && rm -f autogroup.so && ln -s autogroup.so.0.0.0 autogroup.so)
ar cru .libs/autogroup.a autogroup.o
ranlib .libs/autogroup.a
creating autogroup.la
(cd .libs && rm -f autogroup.la && ln -s ../autogroup.la autogroup.la)
--------------------------
thanks in advance for your reply .