Compiling gmp 4.2.4

Rich Smrcina rsmrcina at
Fri Dec 26 15:08:52 CET 2008

Torbjorn Granlund wrote:
> It is strange.
> The reference to sdiv_qrnnd is presumably from
> mpn/generic/udiv_w_sdiv.c, and longlong.h is setup to #define it.
> Either your build picks up some incompatible longlong.h, or
> your compiler does not #define the symbols longlong.h checks.
> Or perhaps s390x is a 64-bit system?  There are some hints in that
> direction.  GMP has not been ported to that system.

Yes, s390x is indeed 64 bit.  SUSE provides gmp 4.1.4 with SLES 10 for s390x, but not 
the -devel packages.  So someone did get it to compile, either they got past the error 
I'm getting, or they ignored it.  I need this package as a prereq to compile another 

Rich Smrcina
VM Assist, Inc.
Phone: 414-491-6001
Ans Service:  360-715-2467

Catch the WAVV!
WAVV 2009 - Orlando, FL - May 15-19, 2009

More information about the gmp-bugs mailing list