[Dovecot] Dovecot 1.2.16 compiling error

Mart Pirita sysadmin at e-positive.ee
Fri Dec 3 11:04:39 EET 2010


Timo Sirainen kirjutas:
>> RedHat 9 based distro, 2.6.24.2 kernel, OpenSSL 1.0.0a 1 Jun 2010
> Hmm. v1.0.0a, really?..

Yes - compiled manually from openssl-1.0.0a.tar.gz and I'm pointing in 
dovecot.spec dovecot to use it:

export CPPFLAGS
export LDFLAGS

CPPFLAGS=-I/usr/local/ssl/include/openssl
LDFLAGS=-L/usr/local/ssl/lib
>> /usr/src/redhat/BUILD/dovecot-1.2.16/src/login-common/ssl-proxy-openssl.c:950: undefined reference to `OpenSSL_add_all_algorithms'
> I just hate OpenSSL. You can comment out that line from the code until I figure out what to do about this. That function was supposed to have existed since forever in OpenSSL.

Maybe I should downgrade OpenSSL to 0.9.8*?

> Or did the compiling log any warnings?
>
The all warnings are:

configure: WARNING: unrecognized options: --with-rawlog, --disable-ipv6, 
--without-passdb-userdb, --without-deliver
mail-index-map.c:175: warning: comparison between signed and unsigned
mail-index-map.c:1121: warning: comparison between signed and unsigned
mail-index-sync-ext.c:666: warning: comparison between signed and unsigned
mail-index-modseq.h:34: warning: parameter has incomplete type
mail-index-modseq.h:50: warning: parameter has incomplete type
mail-index-modseq.h:34: warning: parameter has incomplete type
mail-index-modseq.h:50: warning: parameter has incomplete type
mail-index-sync-update.c:469: warning: comparison between signed and 
unsigned
mail-transaction-log-file.c:785: warning: comparison between signed and 
unsigned
mailbox-list-fs-iter.c:490: warning: `real_path' might be used 
uninitialized in this function
maildir-sync-index.c:535: warning: comparison between signed and unsigned
../../../src/lib-index/mail-index-modseq.h:34: warning: parameter has 
incomplete type
../../../src/lib-index/mail-index-modseq.h:50: warning: parameter has 
incomplete type
../../../src/lib-index/mail-index-modseq.h:34: warning: parameter has 
incomplete type
../../../src/lib-index/mail-index-modseq.h:50: warning: parameter has 
incomplete type
ssl-proxy-openssl.c:127: warning: passing arg 2 of `d2i_DHparams' from 
incompatible pointer type
ssl-proxy-openssl.c:130: warning: passing arg 2 of `d2i_DHparams' from 
incompatible pointer type
ssl-proxy-openssl.c:650: warning: implicit declaration of function 
`SSL_get_current_compression'
ssl-proxy-openssl.c:650: warning: assignment makes pointer from integer 
without a cast
ssl-proxy-openssl.c:652: warning: implicit declaration of function 
`SSL_COMP_get_name'
ssl-proxy-openssl.c:915: warning: passing arg 1 of `OBJ_txt2nid' 
discards qualifiers from pointer target type

-- 
Mart



More information about the dovecot mailing list