[Dovecot] Trying to compile again
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
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
On Mon, 2006-08-14 at 13:42 -0700, Rob Frohne wrote:
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.
They should be fixed in the nightly CVS snapshots already. I'll try to release rc7 soon which also fixes it..
On 14 août 06, at 22:42, Rob Frohne wrote:
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.
If you look at the archives of this list, you'll see that a new
version has been posted that solves this (it's not rc7 yet, but as
I'm writing this offline, rc7 might be out when you receive this).
Alan
--
The hacker: someone who figured things out and made something cool
happen.
.O.
..O
OOO
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 functionTaoCrypt::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.
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@iki.fi] Sent: Wednesday, August 16, 2006 6:26 AM To: Greg Deputy Cc: dovecot@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.
participants (4)
-
Alan Schmitt
-
Greg Deputy
-
Rob Frohne
-
Timo Sirainen