I'm currently running a pre 1.0 version of dovecot. Months back I tried to compile beta6, couldn't due to some mysql client libraries issues, and gave up. I'm now trying again with rc6. This is on a fedora core2 box, with postfix 2.3 and mysql 5.0. The error I'm getting when I run make is below. Any help would be greatly appreciated, thanks! I'd really like to get up to a more recent version. ..... /usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt _Q25yaSSL10BulkCipher+0x8): undefined reference to `__pure_virtual' /usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt _Q25yaSSL10BulkCipher+0xc): more undefined references to `__pure_virtual' follow /usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q 28TaoCrypt14RSA_PrivateKey+0x12e): In function `TaoCrypt::RSA_PrivateKey::~RSA_PrivateKey(void)': : undefined reference to `__builtin_delete' /usr/local/mysql/lib/libmysqlclient.a(log.o)(.text+0x30): In function `yaSSL::Log::~Log(void)': : undefined reference to `__builtin_delete' /usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonc e.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0xc): undefined reference to `__pure_virtual' /usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonc e.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x10): undefined reference to `__pure_virtual' /usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonc e.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x14): undefined reference to `__pure_virtual' /usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonc e.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x18): undefined reference to `__pure_virtual' /usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonc e.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x3c): undefined reference to `__pure_virtual' /usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonc e.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x40): more undefined references to `__pure_virtual' follow /usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-file.o)(.text+0x88): In function `TaoCrypt::FileSource::~FileSource(void)': : undefined reference to `__builtin_delete' /usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-file.o)(.text+0x28c): In function `TaoCrypt::FileSink::~FileSink(void)': : undefined reference to `__builtin_delete' collect2: ld returned 1 exit status make[3]: *** [dovecot-auth] Error 1 make[3]: Leaving directory `/root/dovecot-1.0.rc6/src/auth' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/dovecot-1.0.rc6/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/dovecot-1.0.rc6' make: *** [all] Error 2
Rob Frohne
2006-Aug-14 20:42 UTC
[Dovecot] Dovecot compile errors on OS X, 10.4.7 with rc6
Hi Timo, et. al., I can't compile dovecot rc6. I get the following errors. These are the first compile errors I have ever encountered on any version of dovecot, and I've been using it for more than a year. Making all in quota if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/lib -I../../../src/lib-dict -I../../../src/lib-index -I../../../src/lib-mail -I../../../src/lib-storage -I../../../src/lib-storage/index -I../../../src/lib-storage/index/maildir -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -I/sw/include -MT quota-fs.lo -MD -MP -MF ".deps/quota-fs.Tpo" -c -o quota-fs.lo quota-fs.c; \ then mv -f ".deps/quota-fs.Tpo" ".deps/quota-fs.Plo"; else rm -f ".deps/quota-fs.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/lib -I../../../src/lib-dict -I../../../src/lib-index -I../../../src/lib-mail -I../../../src/lib-storage -I../../../src/lib-storage/index -I../../../src/lib-storage/index/maildir -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -I/sw/include -MT quota-fs.lo -MD -MP -MF .deps/quota-fs.Tpo -c quota-fs.c -fno-common -DPIC -o .libs/quota-fs.o quota-fs.c: In function 'fs_quota_get_resource': quota-fs.c:219: warning: passing argument 1 of 'quotactl' makes pointer from integer without a cast quota-fs.c:219: warning: passing argument 2 of 'quotactl' makes integer from pointer without a cast quota-fs.c:234: error: 'struct dqblk' has no member named 'dqb_curblocks' make[4]: *** [quota-fs.lo] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 [cubex-old:local/src/dovecot-1.0.rc6] frohro% Thanks for all your good work! Rob -- Rob Frohne, Ph.D., P.E. E.F. Cross School of Engineering Walla Walla College 100 SW 4th Street College Place, WA 99324 (509) 527-2075 http://www.wwc.edu/~frohro -------------- next part -------------- A non-text attachment was scrubbed... Name: frohro.vcf Type: text/x-vcard Size: 318 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20060814/c0c8bc1f/attachment-0002.vcf>
On Fri, 2006-08-11 at 21:49 -0700, Greg Deputy wrote:> I'm currently running a pre 1.0 version of dovecot. Months back I tried to > compile beta6, couldn't due to some mysql client libraries issues, and gave > up. I'm now trying again with rc6. > > This is on a fedora core2 box, with postfix 2.3 and mysql 5.0. The error > I'm getting when I run make is below. Any help would be greatly > appreciated, thanks! I'd really like to get up to a more recent version. > > ..... > /usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt > _Q25yaSSL10BulkCipher+0x8): undefined reference to `__pure_virtual' > /usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt > _Q25yaSSL10BulkCipher+0xc): more undefined references to `__pure_virtual' > follow > /usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q > 28TaoCrypt14RSA_PrivateKey+0x12e): In function > `TaoCrypt::RSA_PrivateKey::~RSA_PrivateKey(void)': > : undefined reference to `__builtin_delete' > /usr/local/mysql/lib/libmysqlclient.a(log.o)(.text+0x30): In function > `yaSSL::Log::~Log(void)':.. Your MySQL library is a C++ library instead of C library for some reason. No idea why, but that certainly doesn't work. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20060816/f5e46f43/attachment.bin>
Thanks for the reply. I did finally manage to get the correct libraries in place and got it to compile.> -----Original Message----- > From: Timo Sirainen [mailto:tss at iki.fi] > Sent: Wednesday, August 16, 2006 6:26 AM > To: Greg Deputy > Cc: dovecot at dovecot.org > Subject: Re: [Dovecot] Trying to compile again > > On Fri, 2006-08-11 at 21:49 -0700, Greg Deputy wrote: > > I'm currently running a pre 1.0 version of dovecot. > Months back I tried to > > compile beta6, couldn't due to some mysql client libraries > issues, and > > gave up. I'm now trying again with rc6. > > > > This is on a fedora core2 box, with postfix 2.3 and mysql 5.0. The > > error I'm getting when I run make is below. Any help would > be greatly > > appreciated, thanks! I'd really like to get up to a more > recent version. > > > > ..... > > > /usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce. > > d.__vt > > _Q25yaSSL10BulkCipher+0x8): undefined reference to `__pure_virtual' > > > /usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce. > > d.__vt > > _Q25yaSSL10BulkCipher+0xc): more undefined references to > `__pure_virtual' > > follow > > > /usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce. > > t._._Q > > 28TaoCrypt14RSA_PrivateKey+0x12e): In function > > `TaoCrypt::RSA_PrivateKey::~RSA_PrivateKey(void)': > > : undefined reference to `__builtin_delete' > > /usr/local/mysql/lib/libmysqlclient.a(log.o)(.text+0x30): > In function > > `yaSSL::Log::~Log(void)': > .. > > Your MySQL library is a C++ library instead of C library for > some reason. No idea why, but that certainly doesn't work. >
Reasonably Related Threads
- Problem with asterisk-addons - checking for mysql_init in -lmysqlclient... no
- messages_count too large (2578 > 2566) Help!
- Helix into Icecast2 loopback
- Possible to use Tinc with embedded SSL implementations like PolarSSL, YaSSL?
- Helix into Icecast2 loopback