Re: undefined reference to `txn_id'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Marek Franke wrote:
Hello,

I'm trying to build cyrus-imapd-2.3.6 on my Slackware 10.0, but it always failed (hope these lines are enough):

../lib/libcyrus.a(cyrusdb_berkeley.o)(.text+0x1695): In function `mycommit': /usr/src/Network/cyrus-imapd-2.3.6/lib/cyrusdb_berkeley.c:924: undefined reference to `txn_id' ../lib/libcyrus.a(cyrusdb_berkeley.o)(.text+0x16b1):/usr/src/Network/cyrus-imapd-2.3.6/lib/cyrusdb_berkeley.c:926: undefined reference to `txn_commit' ../lib/libcyrus.a(cyrusdb_berkeley.o)(.text+0x1775): In function `abort_txn': /usr/src/Network/cyrus-imapd-2.3.6/lib/cyrusdb_berkeley.c:963: undefined reference to `txn_id' ../lib/libcyrus.a(cyrusdb_berkeley.o)(.text+0x178d):/usr/src/Network/cyrus-imapd-2.3.6/lib/cyrusdb_berkeley.c:965: undefined reference to `txn_abort'
collect2: ld returned 1 exit status
make[1]: *** [imapd] Error 1
make[1]: Leaving directory `/usr/src/Network/cyrus-imapd-2.3.6/imap'
make: *** [all] Error 1

I've tried several cyrus-imapd packages (2.3.x) and several Berkeley DB packages (precompiled db3 and db4 packages). Currently I'm using Berkeley DB 4.4.20 (build on my own). But it always failed to build. And I have always set the --with-bdb... variables to the correct path, tried --disable-sieve (which will fail first), but it will not build because it always failes with txn_id. Hope you can help!

Cyrus-imapd 2.3.x compiles well for me on a stock Slackware 10.0 with the following:

./configure --prefix=/usr   \
 --with-bdb-libdir=/usr/lib \
 --with-bdb-incdir=/usr/include/db4
make depend
make all CFLAGS=-O


----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux