[lttng-dev] lttng-modules 2.6.1 compilation error on Ubuntu 14.04

Engel Sanchez engel at basho.com
Mon May 11 20:32:24 EDT 2015


Hello there. I was wondering if anybody knew what is causing this
compilation error I'm getting on a new Ubuntu 14.04 VM with a 3.13.0
kernel.  It does not find the DEBIAN_API_VERSION symbol. The use of that
was introduced in 2.6.1 apparently:


http://fossies.org/diffs/lttng-modules/2.6.0_vs_2.6.1/lttng-kernel-version.h-diff.html

I'm following the instructions in the Download page to install from the PPA
:  http://lttng.org/download/#ubuntu

This the error I'm getting. Thanks in advance for any help!

In file included from
/var/lib/dkms/lttng-modules/2.6.x+stable+bzr727+pack22+201504291801~ubuntu14.04.1/build/wrapper/page_alloc.h:28:0,
               from
/var/lib/dkms/lttng-modules/2.6.x+stable+bzr727+pack22+201504291801~ubuntu14.04.1/build/lttng-events.c:27:/var/lib/dkms/lttng-modules/2.6.x+stable+bzr727+pack22+201504291801~ubuntu14.04.1/build/wrapper/../lttng-kernel-version.h:60:57:
error: operator '+' has no right operand  ((LINUX_VERSION_CODE *
1000000ULL) + DEBIAN_API_VERSION)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20150511/26762f38/attachment.html>


More information about the lttng-dev mailing list