Re: v2.2.2 prerelease available

From: Gary Mills <mills_at_cc.umanitoba.ca>
Date: Tue, 16 Nov 2010 16:40:12 -0600

On Tue, Nov 16, 2010 at 10:39:00AM -0800, Murray S. Kucherawy wrote:
>
> I've got a prerelease tarball of 2.2.2 available at
> [1]http://www.blackops.org/~msk/o/opendkim-2.2.2.tar.gz if anyone is
> interested in giving it a go. It's running on blackops.org with no
> difficulties so far, using these build flags:
>
> $ ./configure --enable-debug --disable-shared --with-odbx
> --enable-stats --enable-statsext --with-lua --enable-diffheaders
> --enable-vbr --enable-stats-i --enable-arlib

I got compile warnings and an error when I built it. This is under
Solaris 10 with the native compiler. This my configure script:

    PATH=/usr/sfw/bin:/opt/SUNWspro/bin:/usr/bin:/usr/ccs/bin:/usr/sbin; export PATH
    env CC=cc \
        INSTALL=/usr/ucb/install \
        LDFLAGS="-R/usr/local/BerkeleyDB.4.4/lib:/usr/local/openssl/lib" \
        ./configure \
        --enable-arlib \
        --with-openssl=/usr/local/openssl \
        --with-milter=/usr/local/src/sendmail/sendmail-8.14.4 \
        --with-db=/usr/local/BerkeleyDB.4.4 \
        --with-domainkeys=/usr/local/src/dkim-milter/dk-milter-1.0.2/obj.SunOS.5.10.i86pc

Here's a portion of the compile output:

<mills_at_eltanin:2447>$ ./:make
make all-recursive
...
libtool: compile: cc -xc99=all -DHAVE_CONFIG_H -I. -I.. -I/usr/local/openssl/include -g -c dkim-util.c -o libopendkim_la-dkim-util.o >/dev/null 2>&1
source='dkim.c' object='libopendkim_la-dkim.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/bash ../build-aux/depcomp \
/bin/bash ../libtool --tag=CC --mode=compile cc -xc99=all -DHAVE_CONFIG_H -I. -I.. -I/usr/local/openssl/include -g -c -o libopendkim_la-dkim.lo `test -f 'dkim.c' || echo './'`dkim.c
libtool: compile: cc -xc99=all -DHAVE_CONFIG_H -I. -I.. -I/usr/local/openssl/include -g -c dkim.c -KPIC -DPIC -o .libs/libopendkim_la-dkim.o
"dkim.c", line 180: warning: initialization type mismatch
"dkim.c", line 187: warning: initialization type mismatch
...
"dkim.c", line 226: warning: initialization type mismatch
"dkim.c", line 227: warning: initialization type mismatch
"dkim.c", line 234: warning: initialization type mismatch
libtool: compile: cc -xc99=all -DHAVE_CONFIG_H -I. -I.. -I/usr/local/openssl/include -g -c dkim.c -o libopendkim_la-dkim.o >/dev/null 2>&1
source='util.c' object='libopendkim_la-util.lo' libtool=yes \
...
source='opendkim.c' object='opendkim-opendkim.o' libtool=no \
DEPDIR=.deps depmode=none /bin/bash ../build-aux/depcomp \
cc -xc99=all -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/openssl/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/src/dkim-milter/dk-milter-1.0.2/obj.SunOS.5.10.i86pc/include -I/usr/local/src/sendmail/sendmail-8.14.4/include -D_REENTRANT -I./../libar -g -c -o opendkim-opendkim.o `test -f 'opendkim.c' || echo './'`opendkim.c
"opendkim.c", line 3373: warning: argument #4 is incompatible with prototype:
        prototype: pointer to char : "opendkim.c", line 783
        argument : pointer to unsigned char
"opendkim.c", line 3384: warning: argument #4 is incompatible with prototype:
        prototype: pointer to char : "opendkim.c", line 783
        argument : pointer to unsigned char
"opendkim.c", line 3404: warning: argument #4 is incompatible with prototype:
        prototype: pointer to char : "opendkim.c", line 783
        argument : pointer to unsigned char
"opendkim.c", line 3418: warning: argument #4 is incompatible with prototype:
        prototype: pointer to char : "opendkim.c", line 783
        argument : pointer to unsigned char
"opendkim.c", line 10242: warning: argument #2 is incompatible with prototype:
        prototype: pointer to const char : "/usr/local/src/dkim-milter/dk-milter-1.0.2/obj.SunOS.5.10.i86pc/include/dk.h", line 232
        argument : pointer to unsigned char
"opendkim.c", line 10355: warning: argument #2 is incompatible with prototype:
        prototype: pointer to unsigned char : "util.h", line 76
        argument : pointer to char
"opendkim.c", line 11074: operands have incompatible types:
         pointer to unsigned char ":" pointer to char
"opendkim.c", line 11080: warning: argument #1 is incompatible with prototype:
        prototype: restrict pointer to char : "/usr/include/iso/stdio_c99.h", line 68
        argument : pointer to unsigned char
cc: acomp failed for opendkim.c
*** Error code 2
make: Fatal error: Command failed for target `opendkim-opendkim.o'
Current working directory /local/src/solaris-x86/dkim-milter/opendkim-2.2.2/opendkim

-- 
-Gary Mills-        -Unix Group-        -Computer and Network Services-
Received on Tue Nov 16 2010 - 22:40:37 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:32:54 PST