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

Re: Zmailer Ldap Compile Error



On Thu, Nov 27, 2003 at 08:57:48AM +0300, Oleg Javoronkov wrote:
> 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      
> ???????    

Right...     For some reason my compilation cycles didn't trip on that.
The state storage is named   'lmap'

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