[imapproxy-info] imapproxy on Fedora Core 5 (openssl 0.9.8a)

Jakob Hirsch jh at plonk.de
Wed Mar 22 21:01:34 EST 2006


Hi,

just upgraded and found that imapproxy fails to compile:

> make
> gcc   -g -O2 -I. -I./include -c -o src/icc.o src/icc.c
> gcc   -g -O2 -I. -I./include -c -o src/main.o src/main.c
> gcc   -g -O2 -I. -I./include -c -o src/imapcommon.o src/imapcommon.c
> src/imapcommon.c: In function 'Get_Server_conn':
> src/imapcommon.c:377: error: 'MD5_DIGEST_LENGTH' undeclared (first use in this function)
> src/imapcommon.c:377: error: (Each undeclared identifier is reported only once
> src/imapcommon.c:377: error: for each function it appears in.)
> make: *** [src/imapcommon.o] Error 1
> [root at ymmv up-imapproxy-1.2.5rc1]# grep MD5_DIGEST_LENGTH *
> [root at ymmv up-imapproxy-1.2.5rc1]# grep MD5_DIGEST_LENGTH -r .
> ./src/imapcommon.c:    char md5pw[MD5_DIGEST_LENGTH];

Problem is that md5.h is not longer included by evp.h (which is included
by src/imapcommon.c), so MD5_DIGEST_LENGTH is not defined.
"#include <openssl/md5.h>" in src/imapcommon.c fixed it for me.


Regards,
Jakob


More information about the imapproxy-info mailing list