|
From: | Satya |
Subject: | Re: bison/flex help |
Date: | Wed, 7 Mar 2007 08:41:34 -0600 |
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 <address@hidden> 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
[Prev in Thread] | Current Thread | [Next in Thread] |