[prev in list] [next in list] [prev in thread] [next in thread]
List: qmail-ldap
Subject: qmail-ldap-control patch does not compile
From: Toni Mueller <support () oeko ! net>
Date: 2006-10-22 9:41:00
Message-ID: 20061022094100.7035.qmail () oak ! oeko ! net
[Download RAW message or body]
Hello,
today I decided to give the qmail-ldap-control patch a spin and created
a set of source files with these patches:
qmail-ldap-1.03-20060201.patch.gz
qmail-ldap-1.03-20060201-controls20060403b.bz2
Then I enabled SECUREBIND=-DSECUREBIND_ALL (amongst others) in the
Makefile and tried to compile with gcc 4.1.2 under Debian, and got
this:
control.c:62: error: static declaration of 'sasl_flags' follows non-static declaration
control.h:19: error: previous declaration of 'sasl_flags' was here
control.c: In function 'control_ldap_search':
control.c:408: warning: incompatible implicit declaration of built-in function 'strndup'
make: *** [control.o] Error 1
Searching for sasl_flags results in these occurrences:
$ grep -F sasl_flags *.c *.h
control.c:static unsigned sasl_flags = LDAP_SASL_AUTOMATIC;
control.c: sasl_flags = LDAP_SASL_QUIET;
qldap.c:unsigned sasl_flags = LDAP_SASL_AUTOMATIC;
qmail-ldapctrld.c:static unsigned sasl_flags = LDAP_SASL_AUTOMATIC;
control.h:extern unsigned sasl_flags;
The next step would be to find out whether these declarations were
intended to create 1, 2 or 3 different variables.
Best,
--Toni++
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic