[lttng-dev] Trying out 2.9.0-rcX - we get build errors

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Fri Nov 18 16:37:53 UTC 2016


----- On Nov 18, 2016, at 11:26 AM, Staffan Tjernstrom staffan at eternaltraveller.com wrote:

> Trying to build lttng-tools from the 2.9.0-rc1 tarball, we get the
> following - any ideas what we've missed?

Looks like you forgot to build+install lttng-ust 2.9.0-rc in your system
beforehand.

Thanks,

Mathieu

> 
> CCLD     lttng-consumerd
> ../../../src/common/consumer/.libs/libconsumer.a(ust-consumer.o): In
> function `get_index_values':
> /root/rpmbuild/SOURCES/lttng-tools-2.9.0/src/common/ust-consumer/ust-consumer.c:2155:
> undefined reference to `ustctl_get_instance_id'
> /root/rpmbuild/SOURCES/lttng-tools-2.9.0/src/common/ust-consumer/ust-consumer.c:2162:
> undefined reference to `ustctl_get_sequence_number'
> ../../../src/common/consumer/.libs/libconsumer.a(ust-consumer.o): In
> function `update_stream_stats':
> /root/rpmbuild/SOURCES/lttng-tools-2.9.0/src/common/ust-consumer/ust-consumer.c:2369:
> undefined reference to `ustctl_get_sequence_number'
> ../../../src/common/consumer/.libs/libconsumer.a(ust-consumer.o): In
> function `lttng_ustconsumer_get_sequence_number':
> /root/rpmbuild/SOURCES/lttng-tools-2.9.0/src/common/ust-consumer/ust-consumer.c:2009:
> undefined reference to `ustctl_get_sequence_number'
> collect2: error: ld returned 1 exit status
> Makefile:545: recipe for target 'lttng-consumerd' failed
> make[3]: *** [lttng-consumerd] Error 1
> make[3]: Leaving directory
> '/root/rpmbuild/SOURCES/lttng-tools-2.9.0/src/bin/lttng-consumerd'
> Makefile:506: recipe for target 'all-recursive' failed
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> '/root/rpmbuild/SOURCES/lttng-tools-2.9.0/src/bin'
> Makefile:494: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/root/rpmbuild/SOURCES/lttng-tools-2.9.0/src'
> Makefile:588: recipe for target 'all-recursive' failed
> make: *** [all-recursive] Error 1
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com


More information about the lttng-dev mailing list