From: Peng H. <pe...@cn...> - 2011-01-28 08:25:01
|
Hi Garrett, Would you like to apply this patch? "%option nolex-compat" make the global variable "yylineno" undeclared, this will result in build error in RHEL4.8 and RHEL5.5. The environments are as follows: - RHEL4.8 --- x86_64 - flex --- version 2.5.4 - RHEL5.5 --- (x86, x86_64, ia64) - flex --- version 2.5.4 Peng Haitao said the following on 2011-1-14 17:31: > Hi Garrett, > > Signed-off-by: Peng Haitao <pe...@cn...> > --- > pan/scan.l | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/pan/scan.l b/pan/scan.l > index 9696531..cc47bdf 100644 > --- a/pan/scan.l > +++ b/pan/scan.l > @@ -91,6 +91,7 @@ static int check_mode(int, int, ...); > %option noinput > %option nolex-compat > %option nounput > +%option yylineno > > UI [0-9]+ > A [a-zA-Z]+ -- Best Regards, Peng Haitao |