4 messages in net.sourceforge.lists.courier-usersRe: [courier-users] current authlib c...
FromSent OnAttachments
Noel (Sourceforge)Aug 23, 2007 8:51 pm 
Noel (Sourceforge)Aug 24, 2007 7:19 pm 
Noel (Sourceforge)Aug 28, 2007 4:00 pm.diff
Noel (Sourceforge)Aug 28, 2007 4:06 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] current authlib compile failureActions...
From:Noel (Sourceforge) (noe@users.sourceforge.net)
Date:Aug 24, 2007 7:19:02 pm
List:net.sourceforge.lists.courier-users

it appears to be the cram stuff added to authvchkpw.c

If I use the 0.59.2 copy in 0.59.3 authlib compiles and works

-----Forwarded Message-----

Date: Fri, 24 Aug 2007 13:51:40 +1000

Hi ,

We have compiled without a problem all previous versions of courier-authlib, we can not compile 0.59.3 , fresh recompile of 0.59.2 succeeds, so it should not be related to anything else on the system, but related software is, vpopmail 5.4.20, courier-imap-4.1.3, slackware 12.0, 2.6.22.5 kernel

./configure --without-authpam --without-authldap --without-authpgsql --without-authmysql --without-authcustom --with-authdaemon --with-authvchkpw

(./configure does not fail)

The make error bails here:

Compiling authpwd.c Compiling preauthpwd.c Linking libauthpwd.la Compiling authshadow.c Compiling preauthshadow.c Linking libauthshadow.la Compiling authvchkpw.c authvchkpw.c: In function 'auth_vchkpw': authvchkpw.c:86: warning: implicit declaration of function 'auth_vchkpw_login' authvchkpw.c: At top level: authvchkpw.c:103: error: static declaration of 'auth_vchkpw_login' follows non-static declaration authvchkpw.c:86: error: previous implicit declaration of 'auth_vchkpw_login' was here authvchkpw.c: In function 'auth_vchkpw_changepass': authvchkpw.c:184: warning: passing argument 1 of 'parse_email' discards qualifiers from pointer target type make[2]: *** [authvchkpw.lo] Error 1 make[2]: Leaving directory `/tmp/courier-authlib-0.59.3' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/courier-authlib-0.59.3' make: *** [all] Error 2

Full config log is available at wasteland.ausics.net/config.log (86kb) for a few days if it helps...

TIA for any ideas... Noel