On 2009-11-30 at 15:41 +0100, Marc Beyer wrote:
> I'm getting a compilation failure for the last two versions of exim
> under HP-UX, the error is:
> 
> gmake[2]: Entering directory
> `/var/tmp/eximtest/exim-4.71/build-HP-UX-ia64/pdkim'
> cc base64.c
> cc bignum.c
> "bignum.h", line 58: error #3089: there is no type with the width specified
>       typedef unsigned int t_dbl __attribute__((mode(TI)));
>                                                 ^

There's a GCC-ism in src/pdkim/bignum.h which is not wrapped by a check
for GCC.

Do you know how to get a 128-bit integer on your platform?

You "just" need to replace that line with a typedef which lets t_dbl be
a 128-bit int.

Perhaps int128_t or __int128_t exists, via <stdint.h> ?

Otherwise, if you can't get a 128 bit int, I think (but am not sure)
that you need to drop t_int down to 32 bits.  I've only glanced over it,
but it looks like things will just work after that.

-Phil

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details 
at http://www.exim.org/ ##

Reply via email to