Project

General

Profile

Bug #1065

Bug #1053: lttng-ust doesn't build on Ubuntu 12.04

Upgrade failure?

Added by Daniel U. Thibault about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
10/04/2016
Due date:
% Done:

0%

Estimated time:

Description

Ubuntu 12.04.5 LTS precise (64-bit) running 3.9.3 kernel

While upgrading from lttng-ust-2.3.0 to lttng-ust-2.9.0-pre-59-f4a90c3, after also upgrading lttng-modules (lttng-modules-2.7.0-stable to lttng-modules-2.9.0-pre-17-152fe7f) and userspace-rcu (userspace-rcu-0.8.0 to userspace-rcu-0.10-pre-2-d8a4979), the lttng-ust make fails with:

...
CC lttng-context-perf-counters.lo
lttng-context-perf-counters.c: In function 'arch_read_perf_counter':
lttng-context-perf-counters.c:127:7: error: 'struct perf_event_mmap_page' has no member named 'cap_user_rdpmc'
lttng-context-perf-counters.c:132:22: error: 'struct perf_event_mmap_page' has no member named 'pmc_width'
lttng-context-perf-counters.c:133:22: error: 'struct perf_event_mmap_page' has no member named 'pmc_width'
lttng-context-perf-counters.c: In function 'arch_perf_keep_fd':
lttng-context-perf-counters.c:152:12: error: 'struct perf_event_mmap_page' has no member named 'cap_user_rdpmc'
lttng-context-perf-counters.c:153:1: warning: control reaches end of non-void function [-Wreturn-type]
make[2]: * [lttng-context-perf-counters.lo] Erreur 1
make[2]: quittant le répertoire « /usr/src/lttng-ust-2.9.0-pre-59-f4a90c3/liblttng-ust »
make[1]:
[all-recursive] Erreur 1
make[1]: quittant le répertoire « /usr/src/lttng-ust-2.9.0-pre-59-f4a90c3 »
make: *
* [all] Erreur 2
That same set (lttng-modules-2.9.0-pre-17-152fe7f, userspace-rcu-0.10-pre-2-d8a4979, lttng-ust-2.9.0-pre-59-f4a90c3) compiled just fine on another machine.
This may be an artefact of the upgrade, so I'll do a complete uninstall then try again.

Also available in: Atom PDF