Hi, 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.) 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/3f0e9b66/attachment-0002.bin>
On 05/30/2010 09:05 AM Axel Thimm wrote:> Hi, > > 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.) > > Thanks!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? Regards, Pascal -- The trapper recommends today: 5e1f1e55.1015009 at localdomain.org
Axel, On 5/30/10 12:05 AM, "Axel Thimm" <Axel.Thimm at ATrpms.net> 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.)FWIW, the build fails with the same error within my CentOS 5 Mock build environment. I'm not sure what I've got set up different than you, but I'm using a slightly tweaked version of your spec file and a pretty vanilla Mock 0.6 setup. -Brad