New problem compiling grass5.0beta7
Markus Neteler
neteler at geog.uni-hannover.de
Tue Apr 25 04:42:19 EDT 2000
Hi,
this having the yylineno error may try (suggestion by
Michel Wurtz):
Edit src/raster/r.binfer/binfer.l
Add line 12:
%option lex-compat
Change around line 42:
#ifndef sparc
int yylineno = 1;
#endif
to this:
#ifndef sparc
#ifndef linux
int yylineno = 1;
#endif
#endif
Proceed with
make install
Please tell me, if working.
Kind regards
Markus Neteler
On Mon, Apr 24, 2000 at 04:39:22PM -0700, Rich Shepard wrote:
> On Mon, 24 Apr 2000, Skip wrote:
>
> > gcc -g -O2 -I/usr/local/grass5.0beta/src/include -c lex.c
> > binfer.l:41: redefinition of `yylineno'
> > lex.c:271: `yylineno' previously defined here
> > make[1]: *** [OBJ.i686-linux-elf/lex.o] Error 1
> > make[1]: Leaving directory `/usr/local/grass5.0beta/src/raster/r.binfer'
> > GISGEN failure at STEP: src/raster/r.binfer
> > make: *** [do-install] Error 1
>
> Skip,
>
> This came up within the past fortnight. I don't remember the solution, but
> there is a simple one.
>
> If you saved the grasslist messages, grep for it there. I don't know if
> there's a list archive or not. But, I remember seeing a message referencing
> the `yylineno' error.
>
> Rich
>
> Dr. Richard B. Shepard, President
>
> Applied Ecosystem Services, Inc. (TM)
> Making environmentally-responsible mining happen. (SM)
> --------------------------------
> 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
> + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard at appl-ecosys.com
>
>
--
Dipl.-Geogr. Markus Neteler * University of Hannover
Institute of Physical Geography and Landscape Ecology
Schneiderberg 50 * D-30167 Hannover * Germany
Tel: ++49-(0)511-762-4494 Fax: -3984
More information about the grass-user
mailing list