On Tue, 11 Mar 2014 00:01:47 +0000 "Bryce W. Harrington" <[email protected]> wrote:
> Solves this build error: > > tests/fixed-benchmark.o: In function `benchmark': > ./wayland/tests/fixed-benchmark.c:82: undefined reference to `clock_gettime' > ./wayland/tests/fixed-benchmark.c:84: undefined reference to `clock_gettime' > > Signed-off-by: Bryce Harrington <[email protected]> > --- > Makefile.am | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Makefile.am b/Makefile.am > index cb7a186..f1584d5 100644 > --- a/Makefile.am > +++ b/Makefile.am > @@ -175,6 +175,7 @@ resources_test_SOURCES = tests/resources-test.c > resources_test_LDADD = libtest-runner.la > > fixed_benchmark_SOURCES = tests/fixed-benchmark.c > +fixed_benchmark_LDADD = libtest-runner.la Hi, I think more appropriate would be to just link it with -lrt, it's not a test suite runnable test. Thanks, pq _______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
