Problem compiling idled for 2.2.2-BETA on RH 9

Niclas Gustafsson niclas.gustafsson at
Wed Nov 26 13:37:06 EST 2003

I'm having a difficult time compiling Cyrus 2.2.2-BETA on a RedHat 9

I've managed to compile 2.2.1-BETA with no trouble whatsoever - even had
it running for a couple of months now without any problems.

The configure params that i'm using is:

./configure  --with-sasl=/usr/lib/sasl2/ 

Problem shows itself when linking the idled:

gcc -L/usr/local/BerkeleyDB.4.1/lib
-Wl,-rpath,/usr/local/BerkeleyDB.4.1/lib    -o idled \
 idled.o mutex_fake.o libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a 
-L/usr/lib/sasl2//lib  -Wl,-rpath,/usr/lib/sasl2//lib -lsasl2 -lssl
 -lfl -lpthread -lresolv  -L/usr/local/BerkeleyDB.4.1/lib 
-Wl,-rpath,/usr/local/BerkeleyDB.4.1/lib -ldb-4.1  ../et/libcom_err.a
libimap.a(annotate.o)(.text+0x676): In function `output_attlist':
/usr/src/cyrus-imapd-2.2.2-BETA/imap/annotate.c:476: undefined reference
to `printstring'
libimap.a(annotate.o)(.text+0x698):/usr/src/cyrus-imapd-2.2.2-BETA/imap/annotate.c:478: undefined reference to `printstring'
collect2: ld returned 1 exit status
make[1]: *** [idled] Error 1
make[1]: Leaving directory `/usr/src/cyrus-imapd-2.2.2-BETA/imap'
make: *** [all] Error 1

If I change the ./configure  to --with-idled=poll everthings compile
just fine!

Any ideas?


Niclas Gustafsson

More information about the Info-cyrus mailing list