[lttng-dev] lttng-tools 2.2.0-rc1 build error, librt no symbols
yin sun
sunyin51 at gmail.com
Sun Mar 31 13:14:29 EDT 2013
I am trying the latest git 2.2.0-rc1. seems the the librt is not resolved
correctly on my ubuntu 12.10 64bit. Don't know why.
I tried to build with static lib seems fine. here is my diff.
diff --git a/src/bin/lttng-consumerd/Makefile.am
b/src/bin/lttng-consumerd/Makefile.am
index a418eb4..1711581 100644
--- a/src/bin/lttng-consumerd/Makefile.am
+++ b/src/bin/lttng-consumerd/Makefile.am
@@ -4,7 +4,7 @@ lttnglibexec_PROGRAMS = lttng-consumerd
lttng_consumerd_SOURCES = lttng-consumerd.c lttng-consumerd.h
-lttng_consumerd_LDADD = -lrt \
+lttng_consumerd_LDADD = /usr/lib/x86_64-linux-gnu/librt.a \
$(top_builddir)/src/common/libconsumer.la \
$(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \
$(top_builddir)/src/common/libcommon.la
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20130331/7da34876/attachment.html>
More information about the lttng-dev
mailing list