rix icon indicating copy to clipboard operation
rix copied to clipboard

Could not build

Open rpural opened this issue 10 years ago • 2 comments

Build failed after cloning from github:

rpn01@R5057499 ritchie:0 $ make clean rm ritc ritchie.tab.c lex.yy.c ritchie.tab.h rm: ritc: No such file or directory rm: ritchie.tab.c: No such file or directory rm: ritchie.tab.h: No such file or directory make: *** [clean] Error 1 rpn01@R5057499 ritchie:2 $ make bison -d ritchie.y ritchie.y:15.9-16: syntax error, unexpected identifier, expecting string make: *** [ritchie.tab.h] Error 1 rpn01@R5057499 ritchie:2 $ bison -V bison (GNU Bison) 2.3 Written by Robert Corbett and Richard Stallman.

Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. rpn01@R5057499 ritchie:0 $

I'm not a bison user per se, but others seem to have gotten further with this. Any suggestions?

rpural avatar Dec 08 '15 21:12 rpural

Hi,

I've been using bison version 3.0.2, which given the version number increment, may be a breaking difference.

Also, my flex version for this project is 2.5.35. I don't know how other editions will perform.

I will update the wiki article to reflect these version numbers,

Thanks!

JoePelz avatar Dec 09 '15 01:12 JoePelz

for the first error, you should use rm -f in the makefile

enzosaba avatar Dec 12 '15 19:12 enzosaba