[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Query About Flex Usage
From: |
Ramprasad B |
Subject: |
Query About Flex Usage |
Date: |
Sat, 7 Jan 2006 08:42:25 -0800 (PST) |
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
- Query About Flex Usage,
Ramprasad B <=