sieve - compile error

Hajo Locke Hajo.Locke at gmx.de
Wed Jan 13 09:55:50 UTC 2016


Hello,

try to upgrade my dovecot 2.2.18 installation from sieve 0.4.6 to newest 
sieve 0.4.11
I got this error at packaging:

make[4]: Verzeichnis 
»/home/test/dovecot-2.2.18/pigeonhole/src/sieve-tools« wird betreten
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src/lib-sieve 
-I../../src/lib-sieve-tool -I./debug -I/home/test/dovecot-2.2.18 
-I/home/test/dovecot-2.2.18/src/lib 
-I/home/test/dovecot-2.2.18/src/lib-dict 
-I/home/test/dovecot-2.2.18/src/lib-dns 
-I/home/test/dovecot-2.2.18/src/lib-http 
-I/home/test/dovecot-2.2.18/src/lib-mail 
-I/home/test/dovecot-2.2.18/src/lib-imap 
-I/home/test/dovecot-2.2.18/src/lib-fs 
-I/home/test/dovecot-2.2.18/src/lib-charset 
-I/home/test/dovecot-2.2.18/src/lib-auth 
-I/home/test/dovecot-2.2.18/src/lib-master 
-I/home/test/dovecot-2.2.18/src/lib-ssl-iostream 
-I/home/test/dovecot-2.2.18/src/lib-compression 
-I/home/test/dovecot-2.2.18/src/lib-settings 
-I/home/test/dovecot-2.2.18/src/lib-test 
-I/home/test/dovecot-2.2.18/src/lib-sasl 
-I/home/test/dovecot-2.2.18/src/lib-stats 
-I/home/test/dovecot-2.2.18/src/lib-index 
-I/home/test/dovecot-2.2.18/src/lib-storage 
-I/home/test/dovecot-2.2.18/src/lib-storage/list 
-I/home/test/dovecot-2.2.18/src/lib-storage/index 
-I/home/test/dovecot-2.2.18/src/lib-storage/index/raw 
-I/home/test/dovecot-2.2.18/src/lib-imap-storage 
-I/home/test/dovecot-2.2.18/src/plugins/quota  -D_FORTIFY_SOURCE=2 
-std=gnu99 -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 
-Wformat -Werror=format-security -Wall -W -Wmissing-prototypes 
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 
-Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I../.. 
-MT sievec.o -MD -MP -MF .deps/sievec.Tpo -c -o sievec.o sievec.c
sievec.c: In function ‘main’:
sievec.c:48:20: error: ‘EXIT_SUCCESS’ undeclared (first use in this 
function)
   int exit_status = EXIT_SUCCESS;
                     ^
sievec.c:48:20: note: each undeclared identifier is reported only once 
for each function it appears in
sievec.c:150:18: error: ‘EXIT_FAILURE’ undeclared (first use in this 
function)
     exit_status = EXIT_FAILURE;
                   ^
make[4]: *** [sievec.o] Fehler 1
make[4]: Verzeichnis 
»/home/test/dovecot-2.2.18/pigeonhole/src/sieve-tools« wird verlassen
make[3]: *** [all-recursive] Fehler 1
make[3]: Verzeichnis »/home/test/dovecot-2.2.18/pigeonhole/src« wird 
verlassen
make[2]: *** [all-recursive] Fehler 1
make[2]: Verzeichnis »/home/test/dovecot-2.2.18/pigeonhole« wird verlassen
make[1]: *** [all] Fehler 2
make[1]: Verzeichnis »/home/test/dovecot-2.2.18/pigeonhole« wird verlassen
make: *** [build-stamp] Fehler 2
dpkg-buildpackage: Fehler: Fehler-Exitstatus von debian/rules build war 2

Is sieve bundled to dovecotversion? i try it with dovecot 2.2.18.
System is Ubuntu14, gcc 4.8.4

Thanks,
Hajo



More information about the dovecot mailing list