On Wed, Jul 22, 2009 at 10:22:05PM +0800, nobuhiro wrote:
> 
> Signed-off-by: nobuhiro <[email protected]>
> ---
>  testcases/kernel/containers/pidns/Makefile |    2 +-
>  testcases/kernel/ipc/pipeio/Makefile       |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/testcases/kernel/containers/pidns/Makefile 
> b/testcases/kernel/containers/pidns/Makefile
> index 4886d58..14f49da 100644
> --- a/testcases/kernel/containers/pidns/Makefile
> +++ b/testcases/kernel/containers/pidns/Makefile
> @@ -20,7 +20,7 @@
> 
>  CFLAGS += -Wall
>  CPPFLAGS += -I../../../../include -I../libclone
> -LDLIBS += -L../../../../lib -L../libclone ../libclone/libclone.a -lltp -lrt
> +LDLIBS += -L../../../../lib -L../libclone ../libclone/libclone.a -lltp -lrt 
> -lpthread

I'm not sure this is correct. I just did a CVS update and grepped for
"pthread". I don't see a single use of pthreads in there. What output
suggested all of these tests need to link to pthreads? Could you at
least stick that in the changelog?

> 
>  SRCS    := $(wildcard *.c)
>  TARGETS := $(SRCS:%.c=%)
> diff --git a/testcases/kernel/ipc/pipeio/Makefile 
> b/testcases/kernel/ipc/pipeio/Makefile
> index afd3e8d..d2a1d5f 100644
> --- a/testcases/kernel/ipc/pipeio/Makefile
> +++ b/testcases/kernel/ipc/pipeio/Makefile
> @@ -22,7 +22,7 @@
>  ###########################################################################
>  CFLAGS   += -Wall
>  CPPFLAGS += -I../../../../include
> -LDLIBS   += -L../../../../lib -lltp -lrt
> +LDLIBS   += -L../../../../lib -lltp -lrt -lpthread

Same here.

Cheers,
        -Matt Helsley

------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to