This is not about headers. It is a linker error. Be sure that you have compiled the lexer generated by flex (lex.yy.c or whatever) and then link the object file when you compile the parser. We can help you better if you post your compile commands.
satya. -- "The time has come" the walrus said "to talk of many things" On 3/4/07, srayvette <[EMAIL PROTECTED]> wrote:
I'm kinda new to bison and flex and don't know how to fix this error i keep getting. program1.tab.o: In function `yyparse': program1.tab.cpp:(.text+0x3ef): undefined reference to `yylex'\ The program is in c++. I've built one other program before this, that compiles fine. I used the same headers, same compile commands, and still can't get it to work. Any help would be appreciated. Thanks
_______________________________________________ [email protected] http://lists.gnu.org/mailman/listinfo/help-bison
