[Dovecot] cvs build broken in auth/db-mysql.c?

Tom Brown tom at thecap.org
Sun Oct 10 18:50:49 EEST 2004


After running
 ./configure --with-ldap --with-ssl=openssl --with-pgsql --with-mysql --without-cyrus-sasl2  --sysconfdir=/etc
(Settings taken from the debian/rules of debian package version 0.99.11-3)
of the cvs HEAD or test46 I get the following error during make:

db-mysql.o(.text+0x116): In function `db_mysql_query':
/tmp/dovecot-1.0-test46/src/auth/db-mysql.c:82: undefined reference to `mysql_conn_open'

The following trivial change seems to let the build finish:

RCS file: /home/cvs/dovecot/src/auth/db-mysql.c,v
retrieving revision 1.11
diff -r1.11 db-mysql.c
82c82
<                       if (!mysql_conn_open(conn))
---
>                       if (!db_mysql_connect(conn))


This little error snuck in between -r1.10 and -r1.11 of src/auth/db-mysql.c .


Tom

-- 
28 70 20 71 2C 65 29 61 9C B1 36 3D D4 69 CE 62 4A 22 8B 0E DC 3E
mailto:mail at thecap.org
http://thecap.org/


More information about the dovecot mailing list