Re: [exim-dev] Exim 4.80 RC4 uploaded

Top Pagina
Delete this message
Reply to this message
Auteur: Wolfgang Breyha
Datum:  
Aan: exim-dev
Onderwerp: Re: [exim-dev] Exim 4.80 RC4 uploaded
Phil Pennock wrote, on 21.05.2012 07:00:
> I have uploaded Exim 4.80 RC4 to:
>         ftp://ftp.exim.org/pub/exim/exim4/test/


Building on CentOS 5.8 i386 fails with:
gcc expand.c
expand.c: In function ‘eval_op_mult’:
expand.c:3196: error: ‘LLONG_MIN’ undeclared (first use in this function)
expand.c:3196: error: (Each undeclared identifier is reported only once
expand.c:3196: error: for each function it appears in.)
expand.c:3200: error: ‘LLONG_MAX’ undeclared (first use in this function)
expand.c: In function ‘expand_string_integer’:
expand.c:6178: error: ‘LLONG_MAX’ undeclared (first use in this function)
expand.c:6178: error: ‘LLONG_MIN’ undeclared (first use in this function)
make[1]: *** [expand.o] Error 1
make[1]: Leaving directory `/opt/exim/src/exim-4.80_RC4/build-Linux-i386'
make: *** [all] Error 2

That's caused by /usr/include/limits.h from glibc-headers including
# ifdef __USE_ISOC99
# endif
arround definition of LLONG_MIN/MAX.

Setting
CC=gcc -std=gnu99
like A J Thew, but without quotes, fixed it.

Greetings, Wolfgang
--
Wolfgang Breyha <wbreyha@???> | http://www.blafasel.at/
Vienna University Computer Center | Austria