[Dovecot] 1.0beta8 won't start: Fatal: Protocol imaps given more than once

grant beattie grant at grunta.com
Sat May 13 03:52:01 EEST 2006


On Fri, May 12, 2006 at 02:28:25PM +0100, Mike Brudenell wrote:

> Greetings -
> 
> --On 12 May 2006 16:00:31 +0300 Timo Sirainen <tss at iki.fi> wrote:
> 
> >OK, I guess you didn't compile with C99-compatible C compiler.
> 
> If it's any help I'm using a quite up to date copy of Sun's WSpro C 
> compiler (don't know if there's a more up to date product name: they change 
> it every now and then)...
> 
>    % cc -V
>    cc: Sun C 5.8 Patch 121016-02 2006/03/31
> 
> Its man page mentions a "-xc99" command line option which I've just tried 
> using to build the (unpatched) source ... which then runs fine.
> 
> 
> >The problem is that Dovecot fallbacks to old way of initializing structs,
> >and looks like I've been lazy and not keeping them working properly.
> >
> >Attached patch should fix it.
> 
> I then applied your patch and rebuilt Dovecot *without* the "-xc99" 
> compiler option ... and that, too, works fine.

Timo, Mike,

I wonder if this has something to do with the occasional crashing
problem I'm observing on Solaris?... I am using

# /opt/SUNWspro/bin/cc -V
cc: Sun C 5.7 Patch 117837-04 2005/05/11

I'll give this a try later today.

grant.



More information about the dovecot mailing list