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

Q: problem compiling dynamic SQL of OpenLDAP 2.0.7



I tried to compile OpenLDAP 2.0.7 with SQL as a dynamic module.
But I get the following error message:

  cd back-sql; make  all
make[1]: Entering directory
`/local/1/Source-Archive/mirrors/CompilationDir/openldap-2.0.7/servers/slapd/back-sql'

/bin/sh
/root/Source-Archive/mirrors/CompilationDir/openldap-2.0.7/libtool
--only-shared --mode=compile gcc -I/opt/unixODBC-1.8.13/include
-I../../../include        -I../../../include -I.. -I./..      -c init.c
gcc -I/opt/unixODBC-1.8.13/include -I../../../include -I../../../include
-I.. -I./.. -c init.c  -fPIC -DPIC -o init.lo
init.c: In function `backsql_LTX_init_module':
init.c:29: `backbacksql_initialize' undeclared (first use in this
function)
init.c:29: (Each undeclared identifier is reported only once
init.c:29: for each function it appears in.)
make[1]: *** [init.lo] Error 1
make[1]: Leaving directory
`/local/1/Source-Archive/mirrors/CompilationDir/openldap-2.0.7/servers/slapd/back-sql'



There is only a function sql_back_initialize() inside init.c. Maybe this
one has to be entered here?

--
Heiko Nardmann (Dipl.-Ing.), h.nardmann@secunet.de, Software Development

secunet Security Networks AG - Sicherheit in Netzwerken
(www.secunet.de),
Weidenauer Str. 223-225, D-57076 Siegen
Tel. : +49 271 48950-13, Fax  : +49 271 48950-50