[Dovecot] Compiling v1.3 on different OSes
Alan Ferrency
alan at pair.com
Tue Apr 7 00:31:41 EEST 2009
On Mon, 6 Apr 2009, Timo Sirainen wrote:
> Can you find these anywhere? Like:
>
> grep -r SEGV_MAPERR /usr/include
>
> Probably not. So this should help:
> http://hg.dovecot.org/dovecot-1.3/rev/286ff5114588
That fixed the compilation error. Now I have a link time error for libiconv:
libtool: link: gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -o .libs/dovecot-auth auth.o auth-cache.o auth-client-connection.o auth-master-connection.o auth-master-listener.o auth-request.o auth-request-handler.o auth-settings.o auth-stream.o auth-worker-client.o auth-worker-server.o db-checkpassword.o db-sql.o db-passwd-file.o main.o mech.o mech-anonymous.o mech-plain.o mech-login.o mech-cram-md5.o mech-digest-md5.o mech-gssapi.o mech-ntlm.o mech-otp.o mech-skey.o mech-rpa.o mech-apop.o mech-winbind.o otp-skey-common.o plain-common.o passdb.o passdb-blocking.o passdb-bsdauth.o passdb-cache.o passdb-checkpassword.o passdb-passwd.o passdb-passwd-file.o passdb-pam.o passdb-shadow.o passdb-sia.o passdb-vpopmail.o passdb-sql.o userdb.o userdb-blocking.o userdb-checkpassword.o userdb-nss.o userdb-passwd.o userdb-passwd-file.o userdb-prefetch.o userdb-static.o userdb-vpopmail.o userdb-sql.o db-ldap.o passdb-ldap.o userdb-ldap.o -Wl,--export-dynamic libpassword.a ../lib-ntlm/libntlm.a ../lib-otp/libotp.a ../lib-sql/.libs/libsql.a ../lib-dovecot/.libs/libdovecot.so -lcrypt -lpam -Wl,-rpath -Wl,/usr/local/lib/dovecot
../lib-dovecot/.libs/libdovecot.so: undefined reference to `libiconv_open'
../lib-dovecot/.libs/libdovecot.so: undefined reference to `libiconv_close'
../lib-dovecot/.libs/libdovecot.so: undefined reference to `libiconv'
My libiconv is in /usr/local/lib.
Alan Ferrency
pair Networks, Inc.
More information about the dovecot
mailing list