make compile error - gmp 5.0.0 on SGI IRIX with SGI MIPSpro compilers

Charles Castevens pen7cmc at ureach.com
Sun Jan 31 04:06:18 CET 2010


./config.guess     mips64-sgi-irix6.5
./configfsf.guess  mips-sgi-irix6.5
uname -a  IRIX iris3 6.5 07202013 IP32
cc -v     MIPSpro Compilers: Version 7.4
 (SGI IRIX 6.5.30 with MIPSpro 7.4.4m compilers and patches
  Patch SG0005075: MIPSpro 7.4 C++ Front-End #1
  Patch SG0005329: 7.4 Compiler Header Files for Unix98, C99 and ANSI C++
namespace std #2
  Patch SG0005401: Modules MIPSpro driver update 2
  Patch SG0005845: MIPSpro 7.4.1m & 7.4.2m F90 Front-End #2)

setenv PATH /usr/bin:/usr/bin/X11:/usr/sbin:/usr/bsd:/bin:/etc:/usr/etc:.
setenv CC /usr/bin/cc
setenv CXX /usr/bin/CC
./configure --enable-cxx
make

After about 45 minutes...

Making all in cxx
        /bin/sh ../libtool --mode=compile /usr/bin/CC -DHAVE_CONFIG_H  -I. -I.
-I.. -D__GMP_WITHIN_GMPXX -I..     -O2 -n32 -c -o isfuns.lo isfuns.cc
mkdir .libs
 /usr/bin/CC -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMPXX -I.. -O2 -n32 -c
isfuns.cc  -DPIC -o .libs/isfuns.o
cc-1020 CC: ERROR File = ../gmp-impl.h, Line = 187
  The identifier "uint_least32_t" is undefined.
  typedef uint_least32_t      gmp_uint_least32_t;
          ^
cc-1107 CC: WARNING File = ../gmp-impl.h, Line = 3404
  A signed bit field has a length of 1 bit.

        gmp_uint_least32_t sig:1;
                           ^
1 error detected in the compilation of "isfuns.cc".


The first error is around
 /* gmp_uint_least32_t is an unsigned integer type with at least 32 bits. */
 #if HAVE_UINT_LEAST32_T
 typedef uint_least32_t      gmp_uint_least32_t;
 #else

and from the attached config.log we can see that HAVE_UINT_LEAST32_T is 1.


________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log.gz
Type: application/x-gzip
Size: 60096 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-bugs/attachments/20100130/83a57bd1/attachment-0001.bin>


More information about the gmp-bugs mailing list