[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: lex



Hi Sindhoor

Either define '%option noyywrap' in the .lex file or use -lfl on gcc command
line.

Search noyywrap in manpage of flex.

BTW, I just discovered that KDE help is easiest way to look at man pages...

 Bye
   Shridhar

sindhoor pangal wrote:

> hi
> i seem to have a problem with the lex library. when i
> try to compile a simple lex program without main using
> the command gcc -lfl lex.yy.c i get the following
> error messages
> /tmp/cci3rrkC.o:In fuction 'yylex':
> /tmp/cci3rrkC.o:(.text+0x37c):undefined refrence to
> 'yywrap'