On 2006-03-09 16:18:49 +0100, Luca Corti wrote:
gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -o deliver deliver.o duplicate.o imparse.o mail-send.o map.o sieve-cmu.o smtpclient.o -Wl,--export-dynamic libsieve/libsieve.a /root/luca/dovecot-1.0.beta3/src/lib-storage/register/libstorage-register.a /root/luca/dovecot-1.0.beta3/src/lib-storage/index/maildir/libstorage_maildir.a /root/luca/dovecot-1.0.beta3/src/lib-storage/index/mbox/libstorage_mbox.a /root/luca/dovecot-1.0.beta3/src/lib-storage/index/dbox/libstorage_dbox.a /root/luca/dovecot-1.0.beta3/src/lib-storage/index/libstorage_index.a /root/luca/dovecot-1.0.beta3/src/lib-index/libindex.a /root/luca/dovecot-1.0.beta3/src/lib-storage/libstorage.a /root/luca/dovecot-1.0.beta3/src/lib-storage/subscription-file/libstorage_subscription_file.a /root/luca/dovecot-1.0.beta3/src/lib-imap/libimap.a /root/luca/dovecot-1.0.beta3/src/lib-mail/libmail.a /root/luca/dovecot-1.0.beta3/src/lib-dict/libdict.a /root/luca/dovecot-1.0.beta3/src/lib-charset/libcharset.a /root/luca/dovecot-1.0.beta3/src/lib/liblib.a -ldl libsieve/libsieve.a(script.o)(.text+0x2e4): In function
sieve_script_parse': /root/luca/dovecot-lda/src/libsieve/script.c:141: undefined reference to
yylineno' libsieve/libsieve.a(script.o)(.text +0x2f8):/root/luca/dovecot-lda/src/libsieve/script.c:141: undefined reference toyylineno' libsieve/libsieve.a(sieve.o)(.text+0x1184): In function
sieveparse': /root/luca/dovecot-lda/src/libsieve/sieve.c:1311: undefined reference tosievelex' libsieve/libsieve.a(sieve.o)(.text+0x11bc): In function
sieve_parse': /root/luca/dovecot-lda/src/libsieve/sieve.y:551: undefined reference toyyrestart' libsieve/libsieve.a(sieve.o)(.text+0x1210): In function
sieveerror': /root/luca/dovecot-lda/src/libsieve/sieve.y:568: undefined reference toyylineno' libsieve/libsieve.a(sieve.o)(.text +0x1218):/root/luca/dovecot-lda/src/libsieve/sieve.y:568: undefined reference to
yylineno' libsieve/libsieve.a(addr.o)(.text+0x62c): In functionaddrparse': /root/luca/dovecot-lda/src/libsieve/addr.c:958: undefined reference to
addrlex' collect2: ld returned 1 exit status make[3]: *** [deliver] Error 1 make[3]: Leaving directory/root/luca/dovecot-lda/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory
/root/luca/dovecot-lda/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/luca/dovecot-lda' make: *** [all] Error 2
you miss some yacc library at link time.
darix
-- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org