Problem compiling idled for 2.2.2-BETA on RH 9

Ken Murchison ken at oceana.com
Wed Nov 26 16:26:55 EST 2003


Niclas Gustafsson wrote:
> Hi, 
> I'm having a difficult time compiling Cyrus 2.2.2-BETA on a RedHat 9
> system.
> 
> 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/ 
> 	--with-perl=/usr/bin/perl 
> 	--with-openssl 	 	
> 	--with-auth=unix 
> 	--without-ucdsnmp 
> 	--with-idle=idled 	
> 	--with-dbdir=/usr/local/BerkeleyDB.4.1 
> 
> 
> 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
> -lcrypto
>  -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?

Apply this patch:

https://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/idled.c.diff?r1=1.17&r2=1.18&f=u

-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp





More information about the Info-cyrus mailing list