[dovecot] Re: dovecot-0.99.6rc3 compilation problems on (Open|Free)BSD

Johan Fredin griffin at legonet.org
Mon Jan 13 23:42:37 EET 2003

On 13 Jan 2003, Timo Sirainen wrote:
> Thanks, I was just about to release the final version. It compiled only
> if iconv() existed in your system, otherwise it fallbacks to
> ASCII+UTF8-only support which I had left broken.

But, I do have libiconv (GNU libiconv from ports) installed. Got iconv.h
in /usr/local/include/. If I make /usr/include/iconv.h a symlink to that
one it works through that error. But instead it barfs again further down
the road :/.

[ ..snip.. ]
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/lib
-I../../src/lib-imap    -g -O2 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
-Wbad-function-cast -c ssl-proxy-openssl.c
ssl-proxy-openssl.c: In function `plain_block_input':
ssl-proxy-openssl.c:58: `IOFunc' undeclared (first use in this function)
ssl-proxy-openssl.c:58: (Each undeclared identifier is reported only once
ssl-proxy-openssl.c:58: for each function it appears in.)
ssl-proxy-openssl.c:58: syntax error before `plain_read'
ssl-proxy-openssl.c: In function `plain_write':
ssl-proxy-openssl.c:119: `IOFunc' undeclared (first use in this function)
ssl-proxy-openssl.c:119: syntax error before `plain_write'
ssl-proxy-openssl.c: At top level:
ssl-proxy-openssl.c:81: warning: `plain_read' defined but not used
*** Error code 1

Stop in /usr/home/griffin/dovecot-0.99.6rc3/src/login.
*** Error code 1

This is OpenBSD 3.2 with OpenSSL 0.9.7-beta3 30 Jul 2002.

/Regards, Johan

More information about the dovecot mailing list