Query About Flex Usage

Ramprasad B <[email protected]>
Newsgroups gmane.comp.lex.flex.general
Message-ID <[email protected]>
Hi all,

This is my first post to this mailing list.
I have one simple query / doubt about generating a lex scanner generator.
I am doing these steps -

# flex parser.l
# gcc lex.yy.c

but after this i get some errors as

/tmp/ccAKLeZj.o(.text+0x1790): In function `yylex':
: undefined reference to `yywrap'
/tmp/ccAKLeZj.o(.text+0x1d72): In function `input':
: undefined reference to `yywrap'
collect2: ld returned 1 exit status

do wehave to link some library ?
Since i did this when i was at my engg college.
But it is after 1 1/2 year so, i have forgotten :(

Can anyone giude me ?






Thanks and Regards,
-- Ramprasad B
 ---------------------------------------------------------
| FOSS User # | 395307                                    |
| #HappY FreE OpeN SourcE ;)#                             |
| Blog | http://ramprasadb.blogspot.com/                  |
 ---------------------------------------------------------
| The Event Site   | http://foss.in/                      |
| The Event Wiki   | http://linux-bangalore.org/2005/wiki |
| The Event Channel| #linux-bangalore on irc.freenode.net |
| The Event List   | http://linux-bangalore.org/list      |
 ---------------------------------------------------------
    ,            ,
   /             \        .-.
  ((__-^^-,-^^-__))      (. .)
   `-_---' `---_-'       / V \
    `--|o` 'o|--'       //   \\
       \  `  /         /(     )\
        ): :(          '.^^_^^.'
        :o_o:           \_/ \_/
         "-"
 ---------------------------------------------------------


		
__________________________________________ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.