Ilya Zakharevich on Tue, 23 Oct 2001 18:42:13 -0400

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: math::pari + pari-2.1.2

On Sat, Oct 20, 2001 at 06:11:36PM -0700, Eric Kolve wrote:
> Just thought you should know that Math::Pari (v. 2.010103) won't compile
> with pari-2.1.2.  I am running perl 5.6.0, x86, kernel 2.4.3.  Here is
> the error:

> cc -c -I.././pari-2.1.2/src/headers -I.././pari-2.1.2/src/graph -I.
> -fno-strict-aliasing -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro
> -march=i586 -ffast-math     -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"
> -fPIC -Derr=pari_err -DDYNAMIC_PLOTTING -o kerntest.o
> .././pari-2.1.2/src/test/kerntest.c
> .././pari-2.1.2/src/test/kerntest.c:2:18: anal.h: No such file or
> directory
> .././pari-2.1.2/src/test/kerntest.c: In function `_voir':
> .././pari-2.1.2/src/test/kerntest.c:37: `VOIR_STRING2' undeclared (first
> use in this function)
> .././pari-2.1.2/src/test/kerntest.c:37: (Each undeclared identifier is
> reported only once
> .././pari-2.1.2/src/test/kerntest.c:37: for each function it appears
> in.)

I cannot reproduce this, but 2.1.2 is completely broken anyway.  My
compilation stops on the expansion of

  #define _low(x) ({GEN __x=(GEN)x; __x[lgefint(x)-1];})

in arith1.c.  This is a gcc-ism.