[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Zmailer Ldap Compile Error



Configure:
############################################################################### 

CFLAGS='-s -static' ./configure --prefix=/usr/local/zmailer \
--with-gcc \
--with-ldap-prefix=/usr/local/ldap \
--with-ldap-include-dir=/usr/local/ldap/include \
--with-ldap-library-dir=/usr/local/ldap/lib \
--with-ldap

Compile:
################################################################################ 


[root@sub zmailer-2.99.56]# make
cd libs && make  all
make[1]: Вход в каталог `/usr/src/zmailer-2.99.56/libs'
cd ../router/libdb;  make -w libzmdb.a
make[2]: Вход в каталог `/usr/src/zmailer-2.99.56/router/libdb'
gcc -Wall -s -static  -DHAVE_CONFIG_H -I../.. -I../../include 
-I./../../include -I./../../libsh -I/usr/local/ldap/include    -c -o 
ldap.o ldap.c
ldap.c: In function `open_lmap_':
ldap.c:62: `ldap' undeclared (first use in this function)
ldap.c:62: (Each undeclared identifier is reported only once
ldap.c:62: for each function it appears in.)
make[2]: *** [ldap.o] Ошибка 1
make[2]: Выход из каталог `/usr/src/zmailer-2.99.56/router/libdb'
make[1]: *** [libzmdb.a] Ошибка 2
make[1]: Выход из каталог `/usr/src/zmailer-2.99.56/libs'
make: *** [libs/libtag] Ошибка 2

################################################################################### 


vi router/libdb/ldap.c Line 62 :


                   ldap_set_option( ldap->ld,   OR  lmap->ld      
???????    


-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi