I can compile courier-authlib version 0.59.2 or lower just fine with vpopmail 5.4.17 but I cannot get newer versions to compile. I tried asking on the courier-imap list but they say "not our problem."
Here's the errors: -- authvchkpw.c: In function 'auth_vchkpw_login': authvchkpw.c:40: warning: empty declaration authvchkpw.c:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token In file included from authvchkpw.c:63: libhmac/hmac.h:15: error: storage class specified for parameter 'hmac_h_rcsid' libhmac/hmac.h:15: error: parameter 'hmac_h_rcsid' is initialized libhmac/hmac.h:50: warning: empty declaration libhmac/hmac.h:54: error: storage class specified for parameter 'hmac_md5' libhmac/hmac.h:54: error: storage class specified for parameter 'hmac_sha1' libhmac/hmac.h:54: error: storage class specified for parameter 'hmac_sha256' libhmac/hmac.h:61: error: storage class specified for parameter 'hmac_list' In file included from authvchkpw.c:64: cramlib.h:17: warning: empty declaration cramlib.h:19: error: storage class specified for parameter 'auth_cram_callback' cramlib.h:26: warning: empty declaration authvchkpw.c:71: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token authvchkpw.c:87: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token authvchkpw.c:106: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token authvchkpw.c:170: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token authvchkpw.c:177: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token authvchkpw.c:227: error: parameter 'authvchkpw_info' is initialized authvchkpw.c:229: error: 'auth_vchkpw' undeclared (first use in this function) authvchkpw.c:229: error: (Each undeclared identifier is reported only once authvchkpw.c:229: error: for each function it appears in.) authvchkpw.c:231: error: 'authvchkpwclose' undeclared (first use in this function) authvchkpw.c:232: error: 'auth_vchkpw_changepass' undeclared (first use in this function) authvchkpw.c:238: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token authvchkpw.c:240: error: old-style parameter declarations in prototyped function definition authvchkpw.c:240: error: expected '{' at end of input make[2]: *** [authvchkpw.lo] Error 1 make[2]: Leaving directory `/netsrc/courier-authlib-0.59.3.20070721' -- This is NOT just for the pre-release, before anyone asks. I tried it because they mentioned some authvchkpw fixes. -- -- Cheers, Steve