re[2]: New problem compiling grass5.0beta7

Here are lines 40 - 49 in my binfer.l file:

40 #endif DEBUG
41
42 #ifndef sparc
43 #ifndef linux
44 # The following line was commented out as suggested by Michel Wurtz to
45 # eliminate problem during compiling.
46 #int yylineno = 1;
47 #endif
48 #endif

Shouldn't the # make the line a comment? Even if itr doesn't, yylineno doesn't even appear on line 41!!!

Something must be going on. Do I have to do something other than run configure and make install?

Skip
       
  >> Skip wrote:
  >> >
  >> > I'm still having problems. I made the changes suggested below but
  >> received the following message when I tried make install:
  >> [...]
  >> > lex binfer.l
  >> > rm -f lex.c
  >> > mv lex.yy.c lex.c
  >> > rm -f OBJ.i686-linux-elf/lex.o
  >> > 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

  >> Well, it seems you still have a declaration of yylineno line 41 of
  >> binfer.l ! Have you really erased the line 41 of binfer.l ?
  >> --
  >> Michel Wurtz ENGEES - CEREG
  >> 1, quai Koch - BP 1039, F-67070 STRASBOURG cedex
  >> Tel: +33 03.88.24.82.45 Fax: +33 03.88.37.04.97

=================================
Skip Haak
Natural Resource Solutions
950 Lloyd Center, Suite 48
Portland, OR 97232
Office: (503) 460-3198
Mobile: (503) 998-3267
Facsimile: (503) 460-3230
E-mail: shaak@teleport.com