Hi Dave!

Flex is a crok, isn't it?  Shame people still use it really.  They 
dropped yacc and lex, but when the next generation (eg puma and rex) 
came out, they didn't move on.  I guess bison/flex were just good enough.

Sometimes you can just declare the missing variable somewhere and it 
works (!)  I've seen that before!

You meant -ll, not -l, right?  Isn't it -lfl if you're using flex? 
 There seems to be a libl too though...

Nick/

Dave Phillips wrote:

>Greetings:
>
>  I'm trying to compile libmpeg and am hitting the wall with this error:
>
>egcs -O2 -c lexer.c 
>lexer.l: In function `yylex':
>lexer.l:383: `yylineno' undeclared (first use in this function)
>lexer.l:383: (Each undeclared identifier is reported only once
>lexer.l:383: for each function it appears in.)
>make: *** [lexer.o] Error 1
>
>
>  I know it's a problem with flex, but adding -l doesn't solve the
>problem. Can anyone of you gurus recommend a solution ? TIA !
>
>Best regards,
>
>== Dave Phillips
>
>       The Book Of Linux Music & Sound at http://www.nostarch.com/lms.htm
>       The Linux Soundapps Site at http://sound.condorow.net
>


Reply via email to