[Dovecot] dovecot-2.0-managesieve make fails @ '...libdovecot-login.so: undefined reference to `login_process_preinit''

PGNet Dev pgnet.dev+dovecot at gmail.com
Tue Oct 13 06:04:00 EEST 2009


building,

	dovecot-2.0,             HEAD:10054:5cb162da8708
	dovecot-2.0-sieve,       1051:1d194d46d6e6

both build fine.

@,

	dovecot-2.0-managesieve, 159:2236331aa0a3
	cd /usr/local/src/dovecot-2.0-managesieve/

	./configure \
	--with-dovecot=/usr/local/src/dovecot-2.0 \
	--with-dovecot-sieve=/usr/local/src/dovecot-2.0-sieve
	make

fails @,

...
gcc -DHAVE_CONFIG_H -I. -I../..  -I/usr/local/src/dovecot-2.0
-I/usr/local/src/dovecot-2.0/src/lib
-I/usr/local/src/dovecot-2.0/src/lib-auth
-I/usr/local/src/dovecot-2.0/src/lib-master
-I/usr/local/src/dovecot-2.0/src/login-common
-I../../src/lib-managesieve -I/usr/local/src/dovecot-2.0-sieve
-I/usr/local/src/dovecot-2.0-sieve/src/lib-sieve   -std=gnu99 -g -O2
-Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2
-I/usr/local/ssl/include  -MT managesieve-proxy.o -MD -MP -MF
.deps/managesieve-proxy.Tpo -c -o managesieve-proxy.o
managesieve-proxy.c
mv -f .deps/managesieve-proxy.Tpo .deps/managesieve-proxy.Po
/bin/sh ../../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 -Wstrict-aliasing=2
-I/usr/local/ssl/include    -o managesieve-login client.o
client-authenticate.o managesieve-proxy.o
/usr/local/src/dovecot-2.0-sieve/src/lib-sieve/libsieve.la
/usr/local/src/dovecot-2.0/src/login-common/libdovecot-login.la
../../src/lib-managesieve/libmanagesieve.a
../../src/lib-sievestorage/libsievestorage.a
/usr/local/src/dovecot-2.0/src/lib-dovecot/libdovecot.la -lrt
libtool: link: gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
-Wbad-function-cast -Wstrict-aliasing=2 -I/usr/local/ssl/include -o
.libs/managesieve-login client.o client-authenticate.o
managesieve-proxy.o
/usr/local/src/dovecot-2.0-sieve/src/lib-sieve/.libs/libsieve.a
/usr/local/src/dovecot-2.0/src/login-common/.libs/libdovecot-login.so
-L/usr/local/ssl/lib -lssl -lcrypto -lz
../../src/lib-managesieve/libmanagesieve.a
../../src/lib-sievestorage/libsievestorage.a
/usr/local/src/dovecot-2.0/src/lib-dovecot/.libs/libdovecot.so -ldl
-lrt -Wl,-rpath -Wl,/usr/local/lib/dovecot
/usr/local/src/dovecot-2.0/src/login-common/.libs/libdovecot-login.so:
undefined reference to `login_process_preinit'
collect2: ld returned 1 exit status
make[3]: *** [managesieve-login] Error 1
make[3]: Leaving directory
`/usr/local/src/dovecot-2.0-managesieve/src/managesieve-login'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/dovecot-2.0-managesieve/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/dovecot-2.0-managesieve'
make: *** [all] Error 2


More information about the dovecot mailing list