[Dovecot] failed compiling dovecot 2.1.16 under solaris
Jürgen Obermann
Juergen.Obermann at hrz.uni-giessen.de
Tue Apr 9 18:29:40 EEST 2013
Hello,
compiling doevoct-2.1.16 with sun-compiler under solaris 10 gave me the
following error
source='quota-status.c' object='quota-status.o' libtool=no \
DEPDIR=.deps depmode=none /bin/bash ../../../depcomp \
cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib
-I../../../src/lib-master -I../../../src/lib-dict
-I../../../src/lib-index -I../../../src/lib-mail
-I../../../src/lib-storage -I../../../src/lib-storage/index
-I../../../src/lib-storage/index/maildir -I../../../src/doveadm
-I/usr/local/include -fast -xarch=v8plusa -I/usr/sfw/include -c
quota-status.c
"../../../src/lib-storage/mailbox-list.h", line 13: warning: useless
declaration
"quota-status.c", line 200: undefined symbol: optarg
"quota-status.c", line 200: warning: improper pointer/integer
combination: arg #1
cc: acomp failed for quota-status.c
I could solve this problem with
*** ./src/plugins/quota/quota-status.c.orig Thu Apr 4 22:58:30
2013
--- ./src/plugins/quota/quota-status.c Tue Apr 9 16:08:12 2013
***************
*** 11,16 ****
--- 11,17 ----
#include "mail-storage-service.h"
#include "quota-private.h"
#include "quota-plugin.h"
+ #include <stdlib.h>
enum quota_protocol {
QUOTA_PROTOCOL_UNKNOWN = 0,
but I don't know if this is the correct way to fix it.
Greetings,
Jürgen
--
Jürgen Obermann
Hochschulrechenzentrum der
Justus-Liebig-Universität Gießen
Heinrich-Buff-Ring 44
Tel. 0641-9913054
More information about the dovecot
mailing list