Bill Allombert on Tue, 08 Sep 2009 15:27:12 +0200


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

Re: bison fails on solaris on pari svn


On Tue, Sep 08, 2009 at 01:40:02AM +0100, Jason Moxham wrote:
> the latest pari svn fails with this on T2 , the same machine I have been doing 
> the other solaris tests on
> 
> /usr/local/gcc-4.2.4-sun-linker/bin/gcc  -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -I../src/headers  -o 
> trans3.o ../src/basemath/trans3.c
> bison -d ../src/language/parse.y -o ../src/language/parse.c
> ../src/language/parse.y:30.1-15: invalid directive: `%initial-action'
> ../src/language/parse.y:30.16-40: syntax error, unexpected "{...}"
> make[1]: *** [../src/language/parse.h] Error 1
> make[1]: Leaving directory `/scratch/jason/pari/Osolaris-sparcv9'
> make: *** [gp] Error 2
> 
> It built fine before , and builds on linux with no problems

Hello Jason,
You need to upgrade bison to a more recent release, at least 2.0, that 
support the directive %initial-action. This is required to fix that bug:

? )->
  ***   Warning: unused characters: ��t�e��[^_]�.

Cheers,
Bill.