riolet / rix

Rix language combines the power of C language and the convenience of a high level language
GNU General Public License v3.0
729 stars 27 forks source link

Could not build #41

Open rpural opened 8 years ago

rpural commented 8 years ago

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?

JoePelz commented 8 years ago

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!

enzosaba commented 8 years ago

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