[GRASS5] Re: [GRASS-COMMIT-CVS] CVS update: grass/src/raster/r.binfer

David D Gray ddgray at armadce.demon.co.uk
Wed Nov 15 15:09:40 EST 2000


Markus Neteler wrote:
> 
> Hi David,
> 
> On Wed, Nov 15, 2000 at 05:50:31PM +0100, grass at intevation.de wrote:
> >
> > Date: Wednesday November 15, 2000 @ 16:50
> > Author:       david
> >
> > Update of /grassrepository/grass/src/raster/r.binfer
> > In directory intevation.de:/tmp/cvs-serv18425
> >
> > Modified Files:
> >       binfer.l
> > Log Message:
> >
> > Changed to elliminate `dangerous trailing context' warning: caused parse
> > failure (in binfer.y) on linux-i386 at least
> 
> on SUN/Solaris and i686-pc-linux-gnu is compiles o.k. without
> any problems.
> 
> On cray I get:
> /home/t3e/fsn/nhdc/nhdcmark/grass/src/raster/r.binfer
>   make -f OBJ.alpha-cray-unicosmk2.0.4.X/make.rules
> 
>         rm -f lex.c gram.c
>         yacc binfer.y
>         rm -f gram.c
>         mv y.tab.c gram.c
>         cc -g   -I/home/t3e/fsn/nhdc/nhdcmark/grass/src/include  -c gram.c
> -o OBJ.alpha-cray-unicosmk2.0.4.X/gram.o
>         lex binfer.l
> "binfer.l":line 13: Error: Missing translation value
> Make: "lex binfer.l": Error code 1
> 
> But it is lex there, not flex:
>      lex - Generates programs for simple lexical tasks
>    STANDARDS
>      POSIX, XPG4
> 
> well, let's ignore CRAY...
> 
> Thanks for updating
> 
>  Markus
> 

Hi Markus

Do you know exactly what lex Cray uses? The problem seems to be the
%option statement. So perhaps we could get round that by putting in
conditional code, as Cray presumably doesn't need the lex-compat
statement. Do you [anyone] know off-hand the definition code for Cray?

David

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list