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

(ITS#3391) compile error if back-ldap build as module

Full_Name: Dieter Kluenter
Version: HEAD
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

When today's HEAD is build with module support it get following error

../../../build/mkversion -v "2.X" back_ldap > version.c
/bin/sh /home/dieter/ldap/libtool  --mode=compile cc -g -O2 -I../../../include  
     -I../../../include -I.. -I./..  -I/
usr/local/BerkeleyDB.4.3/include   -DSLAPD_IMPORT -c init.c
mkdir .libs
cc -g -O2 -I../../../include -I../../../include -I.. -I./..
-I/usr/local/BerkeleyDB.4.3/include -DSLAPD_IMPORT -c init.c 
 -fPIC -DPIC -o .libs/init.lo
init.c: In function `init_module':
init.c:43: error: `ldap_back_initialize' undeclared (first use in this
init.c:43: error: (Each undeclared identifier is reported only once
init.c:43: error: for each function it appears in.)
init.c: At top level:
init.c:61: error: `ldap_back_initialize' used prior to declaration
make[3]: *** [init.lo] Fehler 1
make[3]: Leaving directory `/home/dieter/ldap/servers/slapd/back-ldap'
make[2]: *** [back-ldap] Fehler 2
make[2]: Leaving directory `/home/dieter/ldap/servers/slapd'
make[1]: *** [all-common] Fehler 1
make[1]: Leaving directory `/home/dieter/ldap/servers'
make: *** [all-common] Fehler 1