Build error in gmp 4.2.2

Torbjorn Granlund tg at swox.com
Tue Mar 25 20:30:37 CET 2008


"Michael J. Bauer" <mjbauer at eecs.tufts.edu> writes:

  I am attempting to build gmp 4.2.2 from source on a Sunfire V120 running 
  Solaris 10.  I am finding a build error with a 64-bit build and C++ 
  support enabled.  I am using gcc and the stock Solaris build tools 
  (make, ld, ar, ranlib, and so on)
  
  Pertinent information:
  
  # gcc --version
  gcc (GCC) 3.4.6
  # ./configure --prefix=/usr/local/package2 
  --oldincludedir=/usr/local/package2/include --enable-cxx
  (The error only happens with C++ support enabled.  The peculiar location 
  is so I can make a Solaris package; the real install will happen in 
  /usr/local.)
  # setenv ABI 64
  (This error does not happen with ABI 32, but does happen with ABI unset.)
  
Please see the manual on how to build GMP; you're not selectign ABI
correctly.

-- 
Torbjörn


More information about the gmp-bugs mailing list