This is a known issue upstream, reported at
http://bugs.lttng.org/issues/814 . It is due to Ubuntu kernels now
having a backported fix from more recent kernels, which happens to break
an API used by LTTng. More info at that link.

Unfortunately, this cannot be "fixed" upstream because it would then
break support for older kernels. A more proper solution is in the works
for future versions (using UBUNTU_RELEASE_ABI), so this shouldn't happen
again (famous last words...)

But for now, it seems the only solution is to patch the modules, using
the patch from Michael in comment #3. The packages from the stable PPA
https://launchpad.net/~lttng/+archive/ubuntu/ppa include this patch, so
they should build fine on 14.04. Would be nice if this fix could be
pulled in Ubuntu proper, so that at least the lttng-modules-dkms package
from the repo installs correctly.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1328335

Title:
  lttng-modules-dkms 2.4.0-1ubuntu1: lttng-modules kernel module failed
  to build [error: conflicting types for 'trace_block_rq_complete']

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lttng-modules/+bug/1328335/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to