UPDATE I know now that parser.h should be generated by the make system from parser.y. The Android.mk file even has an entry like this:
edify_src_files := \ lexer.l \ parser.y \ expr.c
But I still can't seem to get the executable out of it. (Yes, excecutable, not shared library)
I'm trying to compile Android Wifi Tether (http://code.google.com/p/android-wifi-tether/) by myself and while trying to compile some C code related to the JNI part of the project there is some weird use of lex/yacc.
I've never dealt with parsers before so I'm really with my hands tight here. While using the latest ndk-build script (ndk-r5b) and after sorting some other problems I find myself looking for a parser.h header file. I tryied to compile without including it and the function calls that had undefined references were:
- yy_scan_string
- yy_scan_bytes
- yyparse
So I clearly need to find the path to this parser.h file where these functions should be declared. Problem is that by issuing a locate command I get a huge list of files with the same name in my system, but it seems like none of them is the one I'm looking for.
Can someone give me a light here? maybe I need to install a developer package?
Thanks!
Nelson