* [LTP] [PATCH] controller: fix the bug of missing compilation for controller cases
@ 2009-09-07 6:05 Shan Wei
2009-09-07 7:15 ` Subrata Modak
0 siblings, 1 reply; 2+ messages in thread
From: Shan Wei @ 2009-09-07 6:05 UTC (permalink / raw)
To: ltp-list; +Cc: 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".
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.
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
---
config.mk.in | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/config.mk.in b/config.mk.in
index 0fcb80a..64e3847 100644
--- a/config.mk.in
+++ b/config.mk.in
@@ -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@
--
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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [LTP] [PATCH] controller: fix the bug of missing compilation for controller cases
2009-09-07 6:05 [LTP] [PATCH] controller: fix the bug of missing compilation for controller cases Shan Wei
@ 2009-09-07 7:15 ` Subrata Modak
0 siblings, 0 replies; 2+ messages in thread
From: Subrata Modak @ 2009-09-07 7:15 UTC (permalink / raw)
To: Shan Wei; +Cc: ltp-list, 缪 勰
On Mon, 2009-09-07 at 14:05 +0800, Shan Wei wrote:
> 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.
>
>
> Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
> Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Thanks.
Regards--
Subrata
> ---
> config.mk.in | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/config.mk.in b/config.mk.in
> index 0fcb80a..64e3847 100644
> --- a/config.mk.in
> +++ b/config.mk.in
> @@ -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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-07 7:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-07 6:05 [LTP] [PATCH] controller: fix the bug of missing compilation for controller cases Shan Wei
2009-09-07 7:15 ` Subrata Modak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox