* [ltt-dev] [UST PATCH] Add missing -lpthread to some tests
@ 2011-02-18 18:01 Yannick Brosseau
2011-02-18 20:34 ` Mathieu Desnoyers
0 siblings, 1 reply; 2+ messages in thread
From: Yannick Brosseau @ 2011-02-18 18:01 UTC (permalink / raw)
Signed-off-by: Yannick Brosseau <yannick.brosseau at gmail.com>
---
tests/register_test/Makefile.am | 2 +-
tests/tracepoint/benchmark/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/register_test/Makefile.am b/tests/register_test/Makefile.am
index ff25e08..c137aa8 100644
--- a/tests/register_test/Makefile.am
+++ b/tests/register_test/Makefile.am
@@ -2,4 +2,4 @@ AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/libust
noinst_PROGRAMS = register_test
register_test_SOURCES = register_test.c tp.h
-register_test_LDADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o
+register_test_LDADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o -lpthread
diff --git a/tests/tracepoint/benchmark/Makefile.am b/tests/tracepoint/benchmark/Makefile.am
index 50f7bf5..1080b44 100644
--- a/tests/tracepoint/benchmark/Makefile.am
+++ b/tests/tracepoint/benchmark/Makefile.am
@@ -2,6 +2,6 @@ AM_CPPFLAGS = -I$(top_srcdir)/include
noinst_PROGRAMS = tracepoint_benchmark
tracepoint_benchmark_SOURCES = tracepoint_benchmark.c tracepoint_benchmark.h
-tracepoint_benchmark_LDADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o
+tracepoint_benchmark_LDADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o -lpthread
CFLAGS_tracepoint_benchmark.o = -I$(src) -g
--
1.7.2.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* [ltt-dev] [UST PATCH] Add missing -lpthread to some tests
2011-02-18 18:01 [ltt-dev] [UST PATCH] Add missing -lpthread to some tests Yannick Brosseau
@ 2011-02-18 20:34 ` Mathieu Desnoyers
0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Desnoyers @ 2011-02-18 20:34 UTC (permalink / raw)
* Yannick Brosseau (yannick.brosseau at gmail.com) wrote:
> Signed-off-by: Yannick Brosseau <yannick.brosseau at gmail.com>
merged.
> ---
> tests/register_test/Makefile.am | 2 +-
> tests/tracepoint/benchmark/Makefile.am | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tests/register_test/Makefile.am b/tests/register_test/Makefile.am
> index ff25e08..c137aa8 100644
> --- a/tests/register_test/Makefile.am
> +++ b/tests/register_test/Makefile.am
> @@ -2,4 +2,4 @@ AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/libust
>
> noinst_PROGRAMS = register_test
> register_test_SOURCES = register_test.c tp.h
> -register_test_LDADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o
> +register_test_LDADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o -lpthread
> diff --git a/tests/tracepoint/benchmark/Makefile.am b/tests/tracepoint/benchmark/Makefile.am
> index 50f7bf5..1080b44 100644
> --- a/tests/tracepoint/benchmark/Makefile.am
> +++ b/tests/tracepoint/benchmark/Makefile.am
> @@ -2,6 +2,6 @@ AM_CPPFLAGS = -I$(top_srcdir)/include
>
> noinst_PROGRAMS = tracepoint_benchmark
> tracepoint_benchmark_SOURCES = tracepoint_benchmark.c tracepoint_benchmark.h
> -tracepoint_benchmark_LDADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o
> +tracepoint_benchmark_LDADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o -lpthread
>
> CFLAGS_tracepoint_benchmark.o = -I$(src) -g
> --
> 1.7.2.3
>
>
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
>
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-18 20:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-18 18:01 [ltt-dev] [UST PATCH] Add missing -lpthread to some tests Yannick Brosseau
2011-02-18 20:34 ` Mathieu Desnoyers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox