[Dovecot] Dovecot-LDA & OpenBSD

Björn Ketelaars bjorn.ketelaars at hydroxide.nl
Tue Sep 6 09:08:29 EEST 2005


I’m having a bit of a problem with compiling dovecot-lda on OpenBSD. I
used information from wiki.dovecot.org but this, unfortunately, resulted
in some errors.

Am I missing something?

make  all-recursive
Making all in src
Making all in libsieve
if gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/mnt/files/dovecot-1.0-test80/src/lib
-I/mnt/files/dovecot-1.0-test80/src/lib-mail
-I/mnt/files/dovecot-1.0-test80/src/lib-storage
-I/mnt/files/dovecot-1.0-test80/src/lib-storage/index/mbox
-DSYSCONFDIR=\""/usr/local/etc"\"    -std=gnu99 -g -O2 -Wall -W
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT deliver.o -MD -MP -MF
".deps/deliver.Tpo" -c -o deliver.o deliver.c;  then mv -f
".deps/deliver.Tpo" ".deps/deliver.Po"; else rm -f ".deps/deliver.Tpo";
exit 1; fi In file included from common.h:4,
                  from deliver.c:5:
/mnt/files/dovecot-1.0-test80/src/lib/lib.h:6:22: config.h: No such file
or directory In file included from
/mnt/files/dovecot-1.0-test80/src/lib/lib.h:23,
                  from common.h:4,
                  from deliver.c:5:
/mnt/files/dovecot-1.0-test80/src/lib/compat.h:17:4: #error uoff_t size
not set In file included from
/mnt/files/dovecot-1.0-test80/src/lib/lib.h:23,
                  from common.h:4,
                  from deliver.c:5:
/mnt/files/dovecot-1.0-test80/src/lib/compat.h:37: error: conflicting
types for `socklen_t'
/usr/include/sys/types.h:95: error: previous declaration of `socklen_t'
In file included from common.h:5,
                  from deliver.c:5:
/mnt/files/dovecot-1.0-test80/src/lib-storage/mail-storage.h:428: error:
syntax error before "mail_get_virtual_size"
/mnt/files/dovecot-1.0-test80/src/lib-storage/mail-storage.h:428:
warning: type defaults to `int' in declaration of `mail_get_virtual_size'
/mnt/files/dovecot-1.0-test80/src/lib-storage/mail-storage.h:428:
warning: data definition has no type or storage class
/mnt/files/dovecot-1.0-test80/src/lib-storage/mail-storage.h:431: error:
syntax error before "mail_get_physical_size"
/mnt/files/dovecot-1.0-test80/src/lib-storage/mail-storage.h:431:
warning: type defaults to `int' in declaration of `mail_get_physical_size'
/mnt/files/dovecot-1.0-test80/src/lib-storage/mail-storage.h:431:
warning: data definition has no type or storage class In file included
from deliver.c:13:
/mnt/files/dovecot-1.0-test80/src/lib/istream.h:5: error: syntax error
before "uoff_t"
/mnt/files/dovecot-1.0-test80/src/lib/istream.h:20: error: syntax error
before "uoff_t"
/mnt/files/dovecot-1.0-test80/src/lib/istream.h:25: error: syntax error
before "uoff_t"
/mnt/files/dovecot-1.0-test80/src/lib/istream.h:51: error: syntax error
before "uoff_t"
/mnt/files/dovecot-1.0-test80/src/lib/istream.h:54: error: syntax error
before "uoff_t"
In file included from deliver.c:15:
/mnt/files/dovecot-1.0-test80/src/lib/ostream.h:7: error: syntax error
before "uoff_t"
/mnt/files/dovecot-1.0-test80/src/lib/ostream.h:57: error: syntax error
before "uoff_t"
*** Error code 1

Stop in /mnt/files/dovecot-lda-0.1/src.
*** Error code 1

Stop in /mnt/files/dovecot-lda-0.1/src (line 384 of Makefile).
*** Error code 1

Stop in /mnt/files/dovecot-lda-0.1 (line 283 of Makefile).
*** Error code 1

Stop in /mnt/files/dovecot-lda-0.1 (line 188 of Makefile).



-- 
Insanity in individuals is something rare - but in groups, parties,
nations and epochs, it is the rule.



More information about the dovecot mailing list