NatLang icon indicating copy to clipboard operation
NatLang copied to clipboard

Error!

Open QuestionPython opened this issue 7 years ago • 2 comments

$ 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 avatar Apr 07 '17 11:04 QuestionPython

@onlyuser

QuestionPython avatar Apr 16 '17 10:04 QuestionPython

i use following flex/bison versions:

  • flex 2.6.0
  • bison (GNU Bison) 3.0.4

onlyuser avatar Apr 16 '17 18:04 onlyuser