On Apr 16, 9:22 pm, Kate <[EMAIL PROTECTED]> wrote:
> Michael,
>
> When trying to build 3.0.alpha5 using gcc-4.3.0 on x86-Linux
> (pentium4-fc6), I get the following error in givaro
>
> make[5]: Entering directory `/home/kate/sage/sage-3.0.alpha5-x86-Linux/
> spkg/build/givaro-3.2.10.rc3.p0/src/src/kernel/gmp++'
> /bin/sh ../../../libtool --tag=CXX   --mode=compile g++ -
> DHAVE_CONFIG_H -I. -I../../.. -I../../..  -I../../../src/kernel/memory
> -I../../../src/kernel/system   -I/home/kate/sage/sage-3.0.alpha5-x86-
> Linux/local//include  -fPIC -I"/home/kate/sage/sage-3.0.alpha5-x86-
> Linux/local/include" -MT gmp++_int_misc.lo -MD -MP -MF .deps/gmp+
> +_int_misc.Tpo -c -o gmp++_int_misc.lo gmp++_int_misc.C
>  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -I../../../src/kernel/
> memory -I../../../src/kernel/system -I/home/kate/sage/sage-3.0.alpha5-
> x86-Linux/local//include -fPIC -I/home/kate/sage/sage-3.0.alpha5-x86-
> Linux/local/include -MT gmp++_int_misc.lo -MD -MP -MF .deps/gmp+
> +_int_misc.Tpo -c gmp++_int_misc.C  -fPIC -DPIC
> -o .libs/gmp++_int_misc.o
> gmp++_int_misc.C: In member function 'Integer::operator long long
> unsigned int() const':
> gmp++_int_misc.C:248: error: 'CHAR_BIT' was not declared in this scope
> make[5]: *** [gmp++_int_misc.lo] Error 1
> make[5]: Leaving directory `/home/kate/sage/sage-3.0.alpha5-x86-Linux/
> spkg/build/givaro-3.2.10.rc3.p0/src/src/kernel/gmp++'
> make[4]: *** [install-recursive] Error 1

Hi Kate,

I cannot seem to reproduce this with gcc 4.3 on RHEL 5/Itanium. Could
you try adding

#include <climits>

to "gmp++.h" and try again? If that solves the problem to you will be
need to add the same thing to LinBox since it usually has a matching
set of gmp++ files.

> Kate

Cheers,

Michael

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to