Hello,
I have a problem. When I do 'make' it gives the following error:
gcc -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations
-Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -o dovecot-auth
auth-cache.o au
th-client-connection.o auth-master-connection.o auth-module.o db-ldap.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-ntlm.o mech-rpa.o mech-apop.o passdb.o
passdb-
bsdauth.o passdb-cache.o passdb-ldap.o passdb-passwd.o
passdb-passwd-file.o pass
db-pam.o passdb-checkpassword.o passdb-shadow.o passdb-vpopmail.o
passdb-sql.o u
serdb.o userdb-ldap.o userdb-passwd.o userdb-passwd-file.o
userdb-static.o userd
b-vpopmail.o userdb-sql.o -Wl,--export-dynamic libpassword.a
../lib-settings/li
bsettings.a ../lib-ntlm/libntlm.a ../lib-sql/libsql.a ../lib/liblib.a
-L/usr/lib
/mysql /usr/lib/mysql/libmysqlclient.a -lcrypt -lnsl -lm -lc -lnss_files
-lnss_d
ns -lresolv -lz -ldl
/usr/lib/mysql/libmysqlclient.a(sha1.o)(.text+0x60): In function
`sha1_result':
: multiple definition of `sha1_result'
../lib/liblib.a(sha1.o)(.text+0x7f4):/usr/local/src/dovecot/dovecot-1.0-stable/s
rc/lib/sha1.c:233: first defined here
/usr/bin/ld: Warning: size of symbol `sha1_result' changed from 158 in
../lib/li
blib.a(sha1.o) to 126 in ../lib/liblib.a(sha1.o)
collect2: ld returned 1 exit status
make[3]: *** [dovecot-auth] Error 1
make[3]: Leaving directory
`/usr/local/src/dovecot/dovecot-1.0-stable/src/auth'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/dovecot/dovecot-1.0-stable/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/dovecot/dovecot-1.0-stable'
make: *** [all] Error 2
What is wrong? And how can I fix this?
thanks,
Alex