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?
_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev