Skip to contentSkip to conversation

controller: fix the bug of missing compilation for controller cases

PATCH In review Shan Wei 2 participants 2 messages Sep 7, 2009

lore
Share & tools
lore

Shan Wei

author
#0 lore raw

PATCH 1/1 controller: fix the bug of missing compilation for controller cases

When doing "./configure && make", I found the controller cases couldn't be compiled.

Because the config.mk file included into testcases/kernel/Makefile lost the definition of LTP_CHECK_CGROUPSTATS_HEADER, so ltp never enters the controller directory to do "make".

And config.mk file is created by config.mk.in file in fact. In config.mk.in, LTP_CHECK_CGROUPSTATS_HEADER is lost, it leads to the wrong config.mk. Add LTP_CHECK_CGROUPSTATS_HEADER in config.mk.in to fix the problem.

---
 config.mk.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
config.mk.in +2 -0
index 0fcb80a..64e3847 100644
@@ -9,3 +9,5 @@ LDFLAGS = @LDFLAGS@
 AIO_LIBS = @AIO_LIBS@
 SELINUX_LIBS = @SELINUX_LIBS@
 CRYPTO_LIB = @CRYPTO_LIB@
+
+LTP_CHECK_CGROUPSTATS_HEADER = @LTP_CHECK_CGROUPSTATS_HEADER@
Signature · 17 lines
1.5.4.rc3







------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#1 lore raw
Quoted 5 lines · Shan Wei

When doing "./configure && make", I found the controller cases couldn't be compiled.

Because the config.mk file included into testcases/kernel/Makefile lost the definition of LTP_CHECK_CGROUPSTATS_HEADER, so ltp never enters the controller directory to do "make".

Quoted 7 lines

And config.mk file is created by config.mk.in file in fact. In config.mk.in, LTP_CHECK_CGROUPSTATS_HEADER is lost, it leads to the wrong config.mk. Add LTP_CHECK_CGROUPSTATS_HEADER in config.mk.in to fix the problem.

Thanks.

Regards--
Subrata

Quoted 9 lines
---
 config.mk.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
config.mk.in +0 -0
index 0fcb80a..64e3847 100644

config.mk.in LDFLAGS = @LDFLAGS@ · line 13

Quoted 5 lines
config.mk.in +2 -0
@@ -9,3 +9,5 @@ LDFLAGS = @LDFLAGS@
 AIO_LIBS = @AIO_LIBS@
 SELINUX_LIBS = @SELINUX_LIBS@
 CRYPTO_LIB = @CRYPTO_LIB@
+
+LTP_CHECK_CGROUPSTATS_HEADER = @LTP_CHECK_CGROUPSTATS_HEADER@

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list