Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error! #1

Open
QuestionPython opened this issue Apr 7, 2017 · 2 comments
Open

Error! #1

QuestionPython opened this issue Apr 7, 2017 · 2 comments

Comments

@QuestionPython
Copy link

$ make
make all in app...
make[1]: Entering directory '/home/guest/Desktop/soon/NatLang-master/app'
bison -d src/NatLang.y
src/NatLang.y: warning: 77 shift/reduce conflicts [-Wconflicts-sr]
mv NatLang.tab.c src/NatLang.tab.cpp
mv NatLang.tab.h include/NatLang.tab.h
mkdir -p build
g++ -c -o build/NatLang.tab.o src/NatLang.tab.cpp -Wall -g  -Iinclude  -I../libxl/include -std=c++0x
flex src/NatLang.l
"src/NatLang.l", line 66: unrecognized %option: reentrant
Makefile:102: recipe for target 'src/lex.NatLang.cpp' failed
make[1]: *** [src/lex.NatLang.cpp] Error 1
make[1]: Leaving directory '/home/guest/Desktop/soon/NatLang-master/app'
Makefile:23: recipe for target 'all' failed
make: *** [all] Error 2

how fix?

@QuestionPython
Copy link
Author

@onlyuser

@onlyuser
Copy link
Owner

i use following flex/bison versions:

  • flex 2.6.0
  • bison (GNU Bison) 3.0.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants