Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

make error #181

Open
chaitanyachavali opened this issue Jan 29, 2018 · 1 comment
Open

make error #181

chaitanyachavali opened this issue Jan 29, 2018 · 1 comment

Comments

@chaitanyachavali
Copy link

I have successfully made a build for the project using cmake 3.10.2. Now when I try 'make', it throws an error.
Error log:
[ 1%] [FLEX][HeaderLexer] Building scanner with flex 2.6.0 [ 2%] [BISON][Parser] Building parser with bison 2.3 parser.ypp:3.9-24: syntax error, unexpected string, expecting = libwds/rtsp/CMakeFiles/wdsrtsp.dir/build.make:61: recipe for target 'libwds/rtsp/gen/parser.cpp' failed make[2]: *** [libwds/rtsp/gen/parser.cpp] Error 1 CMakeFiles/Makefile2:103: recipe for target 'libwds/rtsp/CMakeFiles/wdsrtsp.dir/all' failed make[1]: *** [libwds/rtsp/CMakeFiles/wdsrtsp.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2
Any work around to solve this..?

@chaitanyachavali
Copy link
Author

Update: I have update bison from 2.3 to 3.0.4. Now there is no parse error but when I try to 'make', it is not able to find parser.cpp at libwds/rtsp/gen and the execution stops.
Error log:
[ 1%] [FLEX][HeaderLexer] Building scanner with flex 2.6.0 [ 2%] [BISON][Parser] Building parser with bison 3.0.4 *** %n in writable segment detected *** libwds/rtsp/CMakeFiles/wdsrtsp.dir/build.make:61: recipe for target 'libwds/rtsp/gen/parser.cpp' failed make[2]: *** [libwds/rtsp/gen/parser.cpp] Error 141 CMakeFiles/Makefile2:103: recipe for target 'libwds/rtsp/CMakeFiles/wdsrtsp.dir/all' failed make[1]: *** [libwds/rtsp/CMakeFiles/wdsrtsp.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2
Was it a build error ?. I searched the whole repo for this file which is not available, that means it is being generated. Am I missing something here for which it is not able to generate the file

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

No branches or pull requests

1 participant