Project

General

Profile

Actions

Bug #838

closed

Compilation error on Ubuntu kernel 3.16+

Added by Anonymous over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
09/15/2014
Due date:
% Done:

0%

Estimated time:

Description

Compiling lttng-modules on Ubuntu 14.10 with today's updates (which is using a 3.16.x kernel), I get the following errors with both the stable-2.5 and master branches (and also with the lttng-modules-2.5.0 tarball for that matter):

  CC [M]  /home/alexandre/src/lttng/lttng-modules/lttng-modules/lttng-ring-buffer-metadata-mmap-client.o
  CC [M]  /home/alexandre/src/lttng/lttng-modules/lttng-modules/lttng-statedump-impl.o
/home/alexandre/src/lttng/lttng-modules/lttng-modules/lttng-statedump-impl.c: In function ‘lttng_statedump_process_ns’:
/home/alexandre/src/lttng/lttng-modules/lttng-modules/lttng-statedump-impl.c:393:2: error: implicit declaration of function ‘task_nsproxy’ [-Werror=implicit-function-declaration]
  proxy = task_nsproxy(p);
  ^
/home/alexandre/src/lttng/lttng-modules/lttng-modules/lttng-statedump-impl.c:393:8: warning: assignment makes pointer from integer without a cast
  proxy = task_nsproxy(p);
        ^
cc1: some warnings being treated as errors

This seems different from bug #823, as I don't even get to that point.


Files

ns_proxy.diff (1.83 KB) ns_proxy.diff Julien Desfossez, 09/30/2014 06:00 PM
Actions

Also available in: Atom PDF