[GRASS5] r.binfer compile problem
Markus Neteler
neteler at geog.uni-hannover.de
Mon Apr 17 17:02:26 EDT 2000
Dear developers,
another own compile problem I have with
r.binfer/Linux.
I have two different platforms running Linux.
A definition in:
src/raster/r.binfer/binfer.l
is causing problems.
[row 39]
#ifndef sparc
#ifndef linux
int yylineno = 1;
#endif
#endif
On machine one above compiles, on machine two I get
binfer.l: In function 'yylex':
binfer.l:114: 'yylineno' undeclared (first use in this function)
binfer.l:114: (Each undeclared identifier is reported only once
binfer.l:114: for each function it appears in.)
make: *** [OBJ.i586-linux-elf/lex.o] Error 1
It is quite strange. Any ideas?
If using:
#ifndef sparc
int yylineno = 1;
#endif
machine 1 likes it, machine 2 says: 'yylineno' undeclared.
I don't know how to declare yylineno properly. I need a better
#ifdef condition sensitive for something else that "linux".
This shall be the final bugfix before GRASS 5 beta7 can be
released :-)
Best regards
Markus
--
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
----------------------------------------
If you want to unsubscribe from GRASS Development
Team internal mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'
length: 1882
max: 0
More information about the grass-dev
mailing list