Dovecot 2.2.30* compiling error

Mart Pirita sysadmin at e-positive.ee
Fri Jun 2 12:29:18 EEST 2017


Hello.

I cant build 2.2.30*, but I can build fine version 2.2.29* with same
options:

RedHat based customized distro, 2.6.28.10 kernel

Build options:

export CPPFLAGS
export LDFLAGS

CPPFLAGS=-I/usr/local/ssl/include
LDFLAGS=-L/usr/local/ssl/lib

./configure \
         --prefix=/usr \
         --with-ssl=openssl \
         --with-ssldir=/etc/ssl \
         --sysconfdir=/etc \
         --without-vpopmail \
         --with-pam \
         --without-bsdauth \
         --without-sql \
         --without-nss \
         --without-ldap \
         --without-pgsql \
         --without-mysql \
         --without-sqlite \
         --with-rundir=/var/run/dovecot\
         --without-deliver \
         --without-gssapi

Build error:

ltest_lib-test-bits.o: In function `bits_required64':
/usr/src/redhat/BUILD/dovecot-2.2.30/src/lib/bits.h:33: undefined
reference to `__builtin_clzll'
/usr/src/redhat/BUILD/dovecot-2.2.30/src/lib/bits.h:33: undefined
reference to `__builtin_clzll'
test_lib-test-bits.o: In function `test_bits_requiredXX':
/usr/src/redhat/BUILD/dovecot-2.2.30/src/lib/test-bits.c:74: undefined
reference to `__builtin_clzll'
/usr/src/redhat/BUILD/dovecot-2.2.30/src/lib/test-bits.c:74: undefined
reference to `__builtin_clzll'
/usr/src/redhat/BUILD/dovecot-2.2.30/src/lib/test-bits.c:74: undefined
reference to `__builtin_clzll'
./.libs/liblib.a(numpack.o): In function `numpack_decode':
/usr/src/redhat/BUILD/dovecot-2.2.30/src/lib/numpack.c:43: undefined
reference to `__builtin_clz'
collect2: ld returned 1 exit status


Please advise?


-- 
Mart



More information about the dovecot mailing list