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 <[email protected]>
> ---
>  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


------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to