From: Peng H. <pe...@cn...> - 2011-02-14 09:45:43
|
Hi Garrett, Any response? The INSTALL file say flex can be obtained here: - http://downloads.sourceforge.net/project/flex/flex/flex-2.5.33/flex-2.5.33.tar.bz2 Are you mean the flex version is sure flex-2.5.33+? > 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 |