Hauke Fath wrote:
On NetBSD 2.0, I get
[hf@bounce] ~/src/dovecot-0.99.12 > make make all-recursive Making all in src Making all in lib gcc -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -c alarm-hup.c In file included from lib.h:20, from alarm-hup.c:26: compat.h:17:4: #error uoff_t size not set In file included from compat.h:63, from lib.h:20, from alarm-hup.c:26: /usr/include/sys/socket.h:83: error: conflicting types for
socklen_t' compat.h:37: error: previous declaration of
socklen_t' In file included from lib.h:20, from alarm-hup.c:26: compat.h:85: error: redefinition of `struct iovec' *** Error code 1Stop. make: stopped in /home/hf/src/dovecot-0.99.12/src/lib *** Error code 1
The config.log is at http://www.spg.tu-darmstadt.de/~hf/dovecot-0.99.12-config.log.gz .
It seems that this is due to a GNU make-ism introduced at line 289 of src/lib/Makefile.in:
-include $(DEP_FILES)
Either use gmake, or hope that Timo (or someone else) produces a patch to work with BSD make once again :)
Robin