[LiDIA] LiDIA compilation problem

Tamas Istvan tamas.istvan at axelero.hu
Thu May 30 21:58:02 CEST 2002


Hello,

I'm trying to get LiDIA-2.1pre2 to build on my SuSE 7.0 Linux system with
gcc 2.95.2, but the compilation failed here:



In file included from ../include/LiDIA/kernel/udigit_def.h:35,
                 from
/home/LiDIA-2.1pre5/src/base/include/LiDIA/udigit.h:83,
                 from
/home/LiDIA-2.1pre5/src/base/include/LiDIA/bigmod.h:26,
                 from
/home/LiDIA-2.1pre5/src/base/simple_classes/bigmod/bigmod.cc:22:
/usr/local/include/gmp.h:2059: declaration of C function `class ostream &
operator <<(ostream &, const __mpq_struct *)' conflicts with
/usr/local/include/gmp.h:2058: previous declaration `class ostream &
operator <<(ostream &, const __mpz_struct *)' here
/usr/local/include/gmp.h:2060: declaration of C function `class ostream &
operator <<(ostream &, const __mpf_struct *)' conflicts with
/usr/local/include/gmp.h:2059: previous declaration `class ostream &
operator <<(ostream &, const __mpq_struct *)' here
/usr/local/include/gmp.h:2062: declaration of C function `class istream &
operator >>(istream &, __mpq_struct *)' conflicts with
/usr/local/include/gmp.h:2061: previous declaration `class istream &
operator >>(istream &, __mpz_struct *)' here
/usr/local/include/gmp.h:2063: declaration of C function `class istream &
operator >>(istream &, __mpf_struct *)' conflicts with
/usr/local/include/gmp.h:2062: previous declaration `class istream &
operator >>(istream &, __mpq_struct *)' here
make[1]: *** [bigmod.o] Error 1
make[1]: Leaving directory `/usr/home/LiDIA-2.1pre5/obj'
make: *** [library] Error 2



Could you help me, what is the wrong?

Thans for any help.

Tamas Istvan
tamas.istvan at axelero.hu




More information about the LiDIA mailing list