Hello,

I have run into another bump in the road when compiling Cyrus 2.1.3
(CVS) on FreeBSD 4.5.  I think I'm almost there, however.  Here is the
latest issue I've encountered:

It seems that I'm missing a library that contains a required function
called fdatasync(). `configure' checks for the existence of this
function in -lrt, but doesn't find it (I have no librt.so).  I take it
this library is a third-party addition to Cyrus?  Where should I be
retrieving it, and which version does Cyrus-IMAP-2.1.3 require?


gcc -L/usr/local/BerkeleyDB.3.2/lib -R/usr/local/BerkeleyDB.3.2/lib
-L/usr/local/BerkeleyDB.3.2/lib -L/usr/local/lib -R/usr/local/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
-L/usr/local/cyrus-sasl/lib  -R/usr/local/cyrus-sasl/lib -lsasl2  -lssl
-lcrypto   -lfl  -ldb-3.2  -lmd -lcom_err -lwrap

../lib/libcyrus.a(cyrusdb_skiplist.o): In function `mycommit':
/u/devel/install/cyrus/cyrus-imapd-2.1.3-CVS/lib/cyrusdb_skiplist.c:1265: undefined 
reference to `fdatasync'
/u/devel/install/cyrus/cyrus-imapd-2.1.3-CVS/lib/cyrusdb_skiplist.c:1275: undefined 
reference to `fdatasync'
../lib/libcyrus.a(cyrusdb_skiplist.o): In function `mycheckpoint':
/u/devel/install/cyrus/cyrus-imapd-2.1.3-CVS/lib/cyrusdb_skiplist.c(.text+0x285c): 
undefined reference to `fdatasync'
../lib/libcyrus.a(cyrusdb_skiplist.o): In function `recovery':
/u/devel/install/cyrus/cyrus-imapd-2.1.3-CVS/lib/cyrusdb_skiplist.c(.text+0x38e1): 
undefined reference to `fdatasync'
/u/devel/install/cyrus/cyrus-imapd-2.1.3-CVS/lib/cyrusdb_skiplist.c(.text+0x3949): 
undefined reference to `fdatasync'


Thanks!
-David Fuchs

Reply via email to