[Dovecot] Test51 compile problems

Greg Deputy greg at blastzone.com
Mon Nov 1 20:11:01 EET 2004


> IMHO this is mysql library problem. It shouldn't reserve such a  
> commonly used function name for itself, and I'm sure Dovecot 
> isn't the  
> only software using it. Someone should report it to Mysql 
> people to get  
> it fixed..
> 
> A kludgy workaround would be to change all occurrences of 
> sha1_result  
> to something else, like xx_sha1_result:
> 
> auth/password-scheme.c: sha1_result(&ctx, ssha_digest);
> auth/password-scheme.c: sha1_result(&ctx, sha1_digest); 
> lib/sha1.c:sha1_result(struct sha1_ctxt *ctxt, void *digest0)
> lib/sha1.c:     sha1_result(&ctx, result);
> lib/sha1.h:extern void sha1_result(struct sha1_ctxt *, void *);
> lib/sha1.h:#define SHA1Final(x, y)              sha1_result((y), (x))


So are others having the same problem and just kludging the function
name, or is there a different version of mysql that plays nicer?

Thanks for any help.





More information about the dovecot mailing list