Re: OpenDKIM 2.8.0 Beta5 available

From: Scott Kitterman <ietf-dkim_at_kitterman.com>
Date: Sat, 16 Feb 2013 00:13:10 -0500

On Friday, February 15, 2013 11:51:53 AM Murray S. Kucherawy wrote:
> Changes since Beta4:
>
> o LIBOPENDKIM: Enable dkim_getcachestats() and the underlying function to
> extract the current number of keys in the cache, and also provide a counter
> reset mechanism.
>
> o Fix bug #SF3604525: Don't divide by zero when the query cache hasn't been
> used. Reported by Denis Klimov.

Some compiler warnings:

This seems likely related to the new code in Beta 5:

dkim-cache.c: In function 'dkim_cache_stats':
dkim-cache.c:521:4: warning: implicit declaration of function 'free' [-
Wimplicit-function-declaration]
dkim-cache.c:521:4: warning: incompatible implicit declaration of built-in
function 'free' [enabled by default]

util.c: In function 'dkimf_mkpath':
util.c:1016:3: warning: ignoring return value of 'getcwd', declared with
attribute warn_unused_result [-Wunused-result]


And a linking error on Ubuntu (not on Debian). This is apparently related to
recent changes in binutils, but I'm still investigating. If it turns out to
be something that needs fixing in opendkim (I don't know if it does for sure
yet or not), I can probably produce a configure.ac patch to find the lib and add
it for linking:

/bin/bash ../libtool --tag=CC --mode=link i686-linux-gnu-gcc -std=gnu99
-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-
security -D_FORTIFY_SOURCE=2 -L/usr/local/BerkeleyDB/lib -L/usr/lib -Wl,-
Bsymbolic-functions -Wl,-z,relro -Wl,-z,defs -L/usr/lib/libmilter -o opendkim-
genzone opendkim_genzone-config.o opendkim_genzone-opendkim-db.o
opendkim_genzone-opendkim-genzone.o opendkim_genzone-opendkim-lua.o
opendkim_genzone-util.o ../libopendkim/libopendkim.la -lssl -lcrypto -ldb
-lopendbx -ldl -lmemcached -lmemcachedutil -L/usr/lib -lldap -llua5.1 -lm
-lbsd
libtool: link: i686-linux-gnu-gcc -std=gnu99 -g -O2 -fstack-protector --
param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -
Wl,-Bsymbolic-functions -Wl,-z -Wl,relro -Wl,-z -Wl,defs -o .libs/opendkim-
genzone opendkim_genzone-config.o opendkim_genzone-opendkim-db.o
opendkim_genzone-opendkim-genzone.o opendkim_genzone-opendkim-lua.o
opendkim_genzone-util.o -L/usr/local/BerkeleyDB/lib -L/usr/lib -
L/usr/lib/libmilter ../libopendkim/.libs/libopendkim.so -lssl -lcrypto -ldb -
lopendbx -ldl -lmemcached -lmemcachedutil -lldap -llua5.1 -lm -lbsd
/usr/bin/ld: opendkim_genzone-opendkim-db.o: undefined reference to symbol
'ber_pvt_opt_on_at__at_OPENLDAP_2.4_2'
/usr/bin/ld: note: 'ber_pvt_opt_on_at__at_OPENLDAP_2.4_2' is defined in DSO
/usr/lib/i386-linux-gnu/liblber-2.4.so.2 so try adding it to the linker
command line
/usr/lib/i386-linux-gnu/liblber-2.4.so.2: could not read symbols: Invalid
operation
collect2: error: ld returned 1 exit status

Scott K
Received on Sat Feb 16 2013 - 05:13:36 PST

This archive was generated by hypermail 2.3.0 : Sat Feb 16 2013 - 05:18:01 PST