On Sat, Nov 08, 2008 at 03:07:42PM +0100, BERTRAND Joel wrote:
> manu@... a écrit :
> >
> >
> > BERTRAND Joel <joel.bertrand@...
> > <mailto:joel.bertrand%40systella.fr>> wrote:
> >
> > > I'm trying to update my old milter-greylist installation on a sparc64
> > > running debian/lenny. I have built greylist with :
> > >
> > > Root rayleigh:[/etc/init.d] > ./configure --enable-dnsrbl --with-libbind
> > > --with-libspf2
> > >
> > > When I launch milter-greylist, I obtain in log :
> > >
> > > Nov 8 12:09:07 rayleigh milter-greylist: greylist: smfi_register:
> > > version mismatch application: 16777217 != milter: 2
> >
> > That sugests your milter library and headers are out of sync. Or you did
> > your build with a libmilter different than the one you use at runtime.
>
> Very strange... I have forced version 2 in milter-greylist.c, and it
> works...
Hmm, looks like some little/big endian and/or 32/64bit strangeness?
16777217 means 0x0100 0001 is the 2-complement (sign changed) of 0xfeffffff
which
is endian reversed 0xfffffffe -> -2 (32bit), reversing the sign
with a 2-complement -> 2 ...
Johann