Hello,
on openSUSE leap 42.2
from source ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.4.49.tgz ./configure --enable-ipv6=no --enable-dynamic=yes --enable-debug=no --enable-modules=yes --enable-slapd --enable-modules --enable-overlays=mod --enable-mdb=yes --enable-meta=yes --enable-monitor=yes --enable-ldap=yes --enable-hdb=no --enable-bdb=no => no error
make depend => no error
make => lot of line and during actions these line :
--------------------------
...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.ccc -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....-------------------------- ad also on compilation/building of autogroup
-------------------------- 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.cmkdir .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) -------------------------- How can I solve these errors ? does I make something wrong in my process ?
thanks in advance for your reply .
Nicolas
--On Tuesday, February 11, 2020 8:43 AM +0000 nicolas renault nicolas_renault@yahoo.fr wrote:
How can I solve these errors ?
Those are not errors, they are warnings.
does I make something wrong in my process ?
No.
--Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com
Hi,
OK sorry for sound :)
Regards.
Nicolas Le mardi 11 février 2020 à 22:22:24 UTC+1, Quanah Gibson-Mount quanah@symas.com a écrit :
--On Tuesday, February 11, 2020 8:43 AM +0000 nicolas renault nicolas_renault@yahoo.fr wrote:
How can I solve these errors ?
Those are not errors, they are warnings.
does I make something wrong in my process ?
No.
--Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com
openldap-technical@openldap.org