Skip to contentSkip to conversation

Fix a building error.

PATCH In review Peng Haitao 1 participant 3 messages Jan 14, 2011 – Feb 14, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix a building error.

Hi Garrett,

---
 pan/scan.l |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
pan/scan.l +1 -0
index 9696531..cc47bdf 100644
@@ -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]+
Signature · 17 lines
1.7.0.4

-- 
Best Regards,
Peng Haitao


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#1 lore raw

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:

Quoted 19 lines

Hi Garrett,

---
 pan/scan.l |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
pan/scan.l +1 -0
index 9696531..cc47bdf 100644
@@ -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]+
Signature · 14 lines
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
#2 lore raw

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+?

Quoted 34 lines

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:

Quoted 19 lines

Hi Garrett,

---
 pan/scan.l |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
pan/scan.l +1 -0
index 9696531..cc47bdf 100644
@@ -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]+
Signature · 14 lines
Best Regards,
Peng Haitao


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list