Error compiling pigeonhole managesieve 0.4.24

davide marchi davide.marchi at
Fri Aug 10 10:45:14 EEST 2018

Hi i have a problem compiling as mantioned on object of this mail: i'm
changing dovecot on my debian 6 from version 2.2.32 to 2.2.36 and
pigeonhole from 0.4.20 to 0.4.24
this is output of dovecot -n for listing versions installed

dovecot -n
# 2.2.32 (dfbe293d4): /usr/local/etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.20 (7cd71ba)
# OS: Linux 2.6.32-5-amd64 x86_64 Debian 6.0.10
 i have downloaded packages from site and compiling from source

so far so good
for pigeonhole this is the configure command that i always use

./configure CFLAGS=-O3
but when i run make this is the error that i came accross:

/bin/bash ../../libtool  --tag=CC   --mode=link gcc  -std=gnu99 -O3 -Wall
-W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime
-Wstrict-aliasing=2  -I../..  -export-dynamic  -o sievec sievec.o
../../src/lib-sieve/ ../../src/lib-sieve-tool/ -ldovecot-storage  -ldovecot-lda -L/usr/local/lib/dovecot
-ldovecot -lrt
libtool: link: gcc -std=gnu99 -O3 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
-Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I../.. -o
.libs/sievec sievec.o -Wl,--export-dynamic
/usr/local/lib/dovecot/ -L/usr/local/lib/dovecot
/usr/local/lib/dovecot/ -lrt -Wl,-rpath
../../src/lib-sieve/.libs/ undefined reference to
collect2: ld returned 1 exit status
make[3]: *** [sievec] Error 1
make[3]: Leaving directory
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/download/dovecot-2.2-pigeonhole-0.4.24/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/download/dovecot-2.2-pigeonhole-0.4.24'
make: *** [all] Error 2

What's wrong ? Thanks in advance on helping me
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the dovecot mailing list