[Dovecot] dovecot-1.0-test65 + mysql build problem (sha1_result)

Michael Goth mg at cho.de
Thu Mar 31 20:17:47 EEST 2005


Hello all!

When trying to build dovecot-1.0-test65 with mysql support I get the
following error:

...
/usr/local/mysql/lib/libmysqlclient.a(sha1.o)(.text+0x5c): In function
`sha1_result':
: multiple definition of `sha1_result'
../lib/liblib.a(sha1.o)(.text+0x830):/usr/local/src/dovecot/dovecot-1.0-test65/src/lib/sha1.c:242: first defined here
/usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../../i586-suse-linux/bin/ld: Warning: size of symbol `sha1_result' changed from 158 in ../lib/liblib.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-test65/src/auth'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/usr/local/src/dovecot/dovecot-1.0-test65/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/dovecot/dovecot-1.0-test65'
make: *** [all] Error 2

The version of mysql I'm using is 4.1.10a. Could this mean that dovecot
uses a function ('sha1_result') that already exists in libmysqlclient.a?

If not, can someone perhaps point me into the right direction where to
look for the error? I can provide more details about my setup, if
needed, of course.

Regards,

Michael





More information about the dovecot mailing list