tpop3d-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tpop3d-discuss] tpop3d v1.4.1pre4


From: Prune
Subject: Re: [tpop3d-discuss] tpop3d v1.4.1pre4
Date: Mon, 25 Feb 2002 15:21:19 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2


Michael Klatsky wrote:

Compiling on Solaris 8 (sparc):

Configure options:
./configure \
--enable-mbox-maildir \
--enable-cclient-fcntl \
--enable-auth-pam=no \
--enable-auth-ldap \
--with-openldap-root=/usr/local

Make results give:

gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/local/include  -Wall
-Wstrict-prototypes -g -O2 -c auth_ldap.c
auth_ldap.c:340:9: warning: pasting "." and "mailbox" does not give a
valid preprocessing token
auth_ldap.c:340:9: warning: pasting "." and "mailbox" does not give a
valid preprocessing token
auth_ldap.c:341:9: warning: pasting "." and "mboxtype" does not give a
valid preprocessing token
auth_ldap.c:341:9: warning: pasting "." and "mboxtype" does not give a
valid preprocessing token
auth_ldap.c:342:9: warning: pasting "." and "user" does not give a valid
preprocessing token
auth_ldap.c:342:9: warning: pasting "." and "user" does not give a valid
preprocessing token
auth_ldap.c:343:9: warning: pasting "." and "group" does not give a
valid preprocessing token
auth_ldap.c:343:9: warning: pasting "." and "group" does not give a
valid preprocessing token

<SNIP>

gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/local/include  -Wall
-Wstrict-prototypes -g -O2 -c logging.c
logging.c:33: `LOG_AUTHPRIV' undeclared here (not in a function)
logging.c:33: initializer element is not constant
logging.c:33: (near initialization for `facil[1].fac')
logging.c:33: initializer element is not constant
logging.c:33: (near initialization for `facil[1]')
logging.c:34: initializer element is not constant
logging.c:34: (near initialization for `facil[2]')
logging.c:35: initializer element is not constant
logging.c:35: (near initialization for `facil[3]')

<....and more under logging>

Any ideas? I notice this is similar to an issue that was posted related
to a compile under Mandrake.


Thanks in advance!


the problem comes from the code line 336 :

#define GOT_ATTR(a)     if (ldapinfo.attr.##a && !a) { \
log_print(LOG_ERR, _("auth_ldap_new_user_pass: did not find required attribute `%s' for %s%s%s"), \ ldapinfo.attr.##a, local_part, domain ? "@" : "", domain ? domain : ""); \
                           goto fail; \
                       }
       GOT_ATTR(mailbox);


chris : what does the "##a" exactly ?
if you replace "##a" by "a", the error disepear....

for the other error, check the previous mail from chris.

Cheers,

Prune





reply via email to

[Prev in Thread] Current Thread [Next in Thread]