[OpenAFS-devel] Windows build problems

Nuno Miguel Neves nneves@di.fc.ul.pt
Mon, 26 Mar 2001 11:13:04 +0100


Thanks for your answer.

Now, where can I find flex & bison for Windows? 

Thanks,

Eric Lorenzo wrote:
> 
> You could get it to stop trying to run flex by 'touch'ing the file
> generated from et_lex.lex.l (et_lex.lex_nt.c) so that nmake doesn't try
> to build it.  That won't really work, though, because there is (as of
> 1.0.2) an error in the .l file that you're going to need to fix.
> Specifically, the line reading:
> 
> [\t\n ]        ;
> 
> needs to be replaced with:
> 
> [\t\n\r ]        ;
> 
> If you don't do this, then you're going to run into other errors down
> the road, as the build attempts to process various error table files
> that contain carriage returns.  The alternative to fixing the lexer is
> to write a script that finds the various error table files and removes
> the carriage returns.  Neither solution is really a big deal, but since
> I recall there being other problems with the lexer/parser .c files
> included in the distribution, and needing to rebuild those, I'd
> recommend going ahead and installing flex & bison.
> 
> Eric
> 
> Nuno Miguel Neves wrote:
> 
> > I've tried the first patch against VC5, and it worked. Now I have a problem, that the
> > compile stops because it can't find flex. I haven't done any
> > change to et_lex.lex.l, but it still asks. Is there any option I am overlooking?
> 
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo.cgi/openafs-devel

--                  
                  nneves@di.fc.ul.pt    Dept. Informatica, Fac. Ciencias,
|\ |    |\ |      Tel: +351 21 7500528  Univ. Lisboa, Bloco C5, Campo Grande
| \|uno | \|eves  Fax: +351 21 7500084  1700 Lisboa, Portugal