help-flex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error: undefined symbol yylex


From: Sateesh Medepalli
Subject: Error: undefined symbol yylex
Date: Mon, 1 May 2006 23:14:37 -0700 (PDT)

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 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]