Cyurs IMAP Compile Error -- undefined reference to `txn_checkpoin

Su Li sli at rim.net
Thu Sep 19 18:14:16 EDT 2002


Hi,

I was using BerkleyDB4.0 on Linux 7.3. I am tring to use BerkleyDB4.1. When
I complie cyrus-imapd-2.1.8, I got the following error:
gcc -L/usr/local/lib -Wl,-rpath,/usr/local/lib
-L/usr/local/BerkeleyDB.4.0/lib -Wall -g -O2   -o imapd \
 ../master/service.o pushstats.o backend.o imapd.o index.o tls.o version.o
libimap.a ../acap/libacap.a ../lib/libcyrus.a  -lsasl2  -lssl -lcrypto
-lfl  -ldb-4.0  -lresolv  -lcom_err -lwrap -lnsl
../lib/libcyrus.a(cyrusdb_db3.o): In function `mysync':
/usr/local/src/cyrus-imapd-2.1.8/lib/cyrusdb_db3.c:237: undefined reference
to `txn_checkpoint'
../lib/libcyrus.a(cyrusdb_db3.o): In function `myarchive':
/usr/local/src/cyrus-imapd-2.1.8/lib/cyrusdb_db3.c:262: undefined reference
to `log_archive'
/usr/local/src/cyrus-imapd-2.1.8/lib/cyrusdb_db3.c:283: undefined reference
to `log_archive'
/usr/local/src/cyrus-imapd-2.1.8/lib/cyrusdb_db3.c:311: undefined reference
to `log_archive'
../lib/libcyrus.a(cyrusdb_db3.o): In function `gettid':
/usr/local/src/cyrus-imapd-2.1.8/lib/cyrusdb_db3.c:384: undefined reference
to `txn_id'
/usr/local/src/cyrus-imapd-2.1.8/lib/cyrusdb_db3.c:387: undefined reference
to `txn_id'
/usr/local/src/cyrus-imapd-2.1.8/lib/cyrusdb_db3.c:397: undefined reference
to `txn_id'
../lib/libcyrus.a(cyrusdb_db3.o): In function `mystore':
/usr/local/src/cyrus-imapd-2.1.8/lib/cyrusdb_db3.c:676: undefined reference
to `txn_id'

I saw there are a few emails talking about the problem. And I tried all the
solutions there. I still get the error.

Any one who got that error and solved the problem, please help me.

Thanks,

Su








More information about the Info-cyrus mailing list