Skip to contentSkip to conversation

Trying out 2.9.0-rcX - we get build errors

DISCUSSION Mathieu Desnoyers 2 participants 2 messages Nov 18, 2016 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 2 lines · ----- On Nov 18, 2016, at 11:26 AM, Staffan Tjernstrom…

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

Quoted 35 lines

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
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Signature · 7 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

Thanks Mathieu - that was indeed it.

Quoted 6 lines

----- On Nov 18, 2016, at 11:26 AM, Staffan Tjernstrom

Quoted 2 lines · [email protected] wrote:

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

Quoted 15 lines

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

Thanks,

Mathieu

Quoted 7 lines

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:

_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev