[lttng-dev] lttng module error
Alexandre Montplaisir
alexmonthy at voxpopuli.im
Mon Jan 5 15:42:44 EST 2015
Hi,
On 01/05/2015 12:58 AM, Divya Vyas wrote:
> Hi,
>
> I am getting this error while building lttng-modules folder:
>
> In function ‘lttng_statedump_process_ns’:
> /home/divya/Downloads/lttng-modules-a94de96/lttng-statedump-impl.c:301:2:
> error: implicit declaration of function ‘task_nsproxy’
> [-Werror=implicit-function-declaration]
> proxy = task_nsproxy(p);
> ^
> /home/divya/Downloads/lttng-modules-a94de96/lttng-statedump-impl.c:301:8:
> warning: assignment makes pointer from integer without a cast [enabled by
> default]
> proxy = task_nsproxy(p);
> ^
I experienced this issue with a distro kernel that had backported
patches that changed some internal APIs. That kernel was still
advertizing the same version number, so lttng-modules ended up using the
wrong code path.
See http://bugs.lttng.org/issues/838
I'm not sure about your other compilation error though, I don't remember
seeing that one. But it may be due to the same reason.
HTH,
Alex
> /home/divya/Downloads/lttng-modules-a94de96/lttng-statedump-impl.c: In
> function ‘do_lttng_statedump’:
> /home/divya/Downloads/lttng-modules-a94de96/lttng-statedump-impl.c:395:2:
> error: implicit declaration of function ‘lttng_list_interrupts’
> [-Werror=implicit-function-declaration]
> lttng_list_interrupts(session);
>
> Has anybody faced this issue?
>
More information about the lttng-dev
mailing list