Error: undefined symbol yylex

Sateesh Medepalli <[email protected]> Mon, 1 May 2006 23:14:37 -0700 (PDT)
Newsgroups gmane.comp.lex.flex.general
Message-ID <[email protected]>
Hi,

I am having a problem with compiling lex.yy.c with g++

Here is what I am trying to do..

o I have a file dpp.yy
o I did 'flex dpp.yy'
o compiled using 
  ' g++ -L/usr/sfw/bin/ -o ../../bin/dpp lex.yy.c -lfl'

(/usr/sfw/bin is where i have all the central binary files)

I am getting following error

"undefined symbol yylex in
   /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/../../../libfl.so "

I am running on solaris, using g++ 3.4.3, flex 2.5

Can anyone help me with this?

Thanks in advance for your help,
Sateesh






__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com