[Dovecot] dovecot-sieve-1.0 (hg) does not build

Bernhard Schmidt berni at birkenwald.de
Tue May 29 14:23:28 EEST 2007


Hi,

the dovecot-sieve plugin from the hg repository
(http://hg.dovecot.org/dovecot-sieve-1.0/) does not build against
current dovecot-1.0 repository. 

/bin/bash ../../libtool --tag=CC --mode=link gcc  -std=gnu99 -g -O2
-Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast  -DENABLE_REGEX   -o
sievec  sievec.o map.o imparse.o libsieve.la
/usr/src/dovecot-1.0/src/lib/liblib.a 
gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
-Wbad-function-cast -DENABLE_REGEX -o sievec sievec.o map.o imparse.o
/.libs/libsieve.a /usr/src/dovecot-1.0/src/lib/liblib.a
/.libs/libsieve.a(script.o): In function `sieve_script_parse':
/usr/src/dovecot-sieve-1.0/src/libsieve/script.c:140: undefined
reference to `yylineno'
/.libs/libsieve.a(sieve.o): In function `sieveerror':
/usr/src/dovecot-sieve-1.0/src/libsieve/sieve.y:568: undefined reference
to `yylineno'
/.libs/libsieve.a(sieve.o): In function `sieveparse':
/usr/src/dovecot-sieve-1.0/src/libsieve/sieve.c:1644: undefined
reference to `sievelex'
/.libs/libsieve.a(sieve.o): In function `sieve_parse':
/usr/src/dovecot-sieve-1.0/src/libsieve/sieve.y:551: undefined reference
to `yyrestart'
/.libs/libsieve.a(addr.o): In function `addrparse':
/usr/src/dovecot-sieve-1.0/src/libsieve/addr.c:1289: undefined reference
to `addrlex'
collect2: ld returned 1 exit status
make[3]: *** [sievec] Error 1
make[3]: Leaving directory `/usr/src/dovecot-sieve-1.0/src/libsieve'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/dovecot-sieve-1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/dovecot-sieve-1.0'
make: *** [all] Error 2

dovecot-sieve-1.0.1.tar.gz builds fine. 1.0.1 is from January 2007, the
last changes in the hg repository are three months ago, but none of them
look like they would be causing this issue. Also there is no r_1_0_1
tag.

It looks to me like 1.0.1 is something quite different to the
hg-repository, right? Does the latter compile against anything at the
moment?

Thanks,
Bernhard



More information about the dovecot mailing list