Page 2 of 2

Re: make install bug in beta 4 resource_lexer.lex.c:1189

Posted: 13 Sep 2008, 16:43
by borisj
It seems that the code to include the forward definitions of these functions is only included if the FLEX subminor version is exactly 33. so newer versions of Flex, i.e. .34 or .35 will not get these.

Without any practical knowledge of lex, the method I found to get it to compile was:
open the file, search for "== 33", replace with ">= 33"

other files that need changing, in various directories, to get the thing to compile:
resource_lexer.lex.c
strres_lexer.lex.c
audp_lexer.lex.c
scriptvals_lexer.lex.c
level_lexer.lex.c

Alternately, change the corresponding .l files in the same way, and then regenerate the lexer by running flex.

Re: make install bug in beta 4 resource_lexer.lex.c:1189

Posted: 03 Oct 2008, 17:26
by sjwest03
I returned with beta 5 and used 2.5.35-2

ubuntu. -> http://packages.ubuntu.com/intrepid/flex

version and that compiled ok without patches when i did a very quick and dirty compile.