[Dovecot] beta5 builds under RHEL
Axel Thimm
Axel.Thimm at ATrpms.net
Sun May 30 10:54:16 EEST 2010
On Sun, May 30, 2010 at 09:42:38AM +0200, Pascal Volk wrote:
> On 05/30/2010 09:05 AM Axel Thimm wrote:
> > beta4 built under RHEL4, RHEL5 and RHEL6 (the latter being the
> > public beta). beta5 now builds only for RHEL5, the other two fail
> > with:
> >
> > strnum.c: In function `str_to_llong':
> > strnum.c:139: error: `LLONG_MIN' undeclared (first use in this function)
> > strnum.c:139: error: (Each undeclared identifier is reported only once
> > strnum.c:139: error: for each function it appears in.)
>
> LLONG_MIN is defined in /usr/include/limits.h (at least on my
> systems). It's provided by the package libc6-dev (on Debian
> GNU/Linux).
>
> src/lib/strnum.c <- includes "lib.h"
> src/lib/lib.h <- includes <limits.h>
>
> Defines your limits.h LLONG_MIN? If not, which libc/version is RHEL 6 using?
LLONG_MIN/LLONG_MAX and some other defines are there, but protected by
# ifdef __USE_ISOC99
Maybe dovecot's buildsystem should check for and use -std=c99? But
then I wonder why it does build for RHEL5 and all recent Fedoras? I
grepped the logs and found no explicit -std switch in any of the
successful builds.
Thanks!
--
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20100530/b0614dcf/attachment.bin
More information about the dovecot
mailing list