Hi,
I tried to build Sage with mpir-2.0.0, and it fails.
Issue 1: I removed the line
$MAKE install-gmpcompat
from our spkg-install script, since evidently now MPIR doesn't have an
install-gmpcompat target.
Issue 2: Givaro then fails to build against MPIR:
g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../..
-I../../../src/kernel/memory -I../../../src/kernel/system
-I/home/wstein/build/mpir2/sage-4.3.5/local//include -fPIC
-I/home/wstein/build/mpir2/sage-4.3.5/local/include -MT
gmp++_int_div.lo -MD -MP -MF .deps/gmp++_int_div.Tpo -c
gmp++_int_div.C -fPIC -DPIC -o .libs/gmp++_int_div.o
In file included from gmp++/gmp++.h:32,
from gmp++_int_gcd.C:11:
./gmp++/gmp++_int.h:387: error: ‘MP_INT’ does not name a type
./gmp++/gmp++_int.h:389: error: ‘Rep’ does not name a type
In file included from gmp++/gmp++.h:32,
from gmp++_int_compare.C:9:
./gmp++/gmp++_int.h:387: error: ‘MP_INT’ does not name a type
./gmp++/gmp++_int.h:389: error: ‘Rep’ does not name a type
./gmp++/gmp++_int.h:393: error: ISO C++ forbids declaration of ‘Rep’
with no type./gmp++/gmp++_int.h:393: error: ISO C++ forbids
declaration of ‘Rep’ with no type
./gmp++/gmp++_int.h:393: error: expected ‘;’ before ‘*’ token
./gmp++/gmp++_int.h:396: error: expected `;' before ‘Integer’
./gmp++/gmp++_int.h:393: error: expected ‘;’ before ‘*’ token
./gmp++/gmp++_int.h:396: error: expected `;' before ‘Integer’
--
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org
--
You received this message because you are subscribed to the Google Groups
"mpir-devel" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/mpir-devel?hl=en.