[Dovecot] v1.2.2 released

Jernej Porenta jernej.porenta at arnes.si
Mon Jul 27 16:02:37 EEST 2009


Timo Sirainen wrote:
>> Another issue when building 1.2.2 that wasn't there with 1.2.1 is that
>> "-lsocket" seems
>> to be missing causing linking errors. One example:
> 
> Fixed: http://hg.dovecot.org/dovecot-1.2/rev/cd29b745c8dd

It is not working for me. "-lrt" is already set before checking 
clock_gettime. Before that, "-lnsl -lsocket" are set, but after lrt 
checking, they gone missing...

configure:19082: checking for clock_gettime in -lrt
configure:19117: gcc -o conftest -g -O2 -Wall -W -Wmissing-prototypes 
-Wmissing-declarations -Wpointer-arith -
Wchar-subscripts -Wformat=2 -Wbad-function-cast -I/usr/local/ssl/include 
-I/opt/kerberos-heimdal/include -L/us
r/local/ssl/lib -R/usr/local/ssl/lib -L/opt/kerberos-heimdal/lib 
-R/opt/kerberos-heimdal/lib conftest.c -lrt
-lrt -lnsl -lsocket  >&5
configure:19124: $? = 0
configure:19145: result: yes
configure:19264: checking for strtoimax
configure:19291: gcc -o conftest -g -O2 -Wall -W -Wmissing-prototypes 
-Wmissing-declarations -Wpointer-arith -
Wchar-subscripts -Wformat=2 -Wbad-function-cast -I/usr/local/ssl/include 
-I/opt/kerberos-heimdal/include -L/us
r/local/ssl/lib -R/usr/local/ssl/lib -L/opt/kerberos-heimdal/lib 
-R/opt/kerberos-heimdal/lib conftest.c -lrt >
&5
conftest.c: In function `main':
conftest.c:70: warning: implicit declaration of function `strtoimax'
Undefined                       first referenced
  symbol                             in file
strtoimax                           /var/tmp/ccsnXIjO.o
ld: fatal: Symbol referencing errors. No output written to conftest


OS: Solaris 8, compiler gcc version 2.95.3 20010315 (release), against 
heimdal kerberos. Compile string:
  CPPFLAGS='-I/usr/local/ssl/include -I/opt/kerberos-heimdal/include' 
LDFLAGS='-L/usr/local/ssl/lib -R/usr/local/ssl/lib 
-L/opt/kerberos-heimdal/lib -R/opt/kerberos-heimdal/lib' ./configure 
--prefix=/opt/dovecot --with-ssldir=/usr/local/ssl/certs 
--with-ssl=openssl --without-passwd-file --with-passwd --with-shadow 
--without-bsdauth --without-static-userdb --without-prefetch-userdb 
--without-checkpassword --with-gssapi=yes --without-pgsql --without-sql 
--without-ldap --without-vpopmail --without-sia

regards, Jernej


More information about the dovecot mailing list