[lttng-dev] lttng-modules build issues

Dragos Tarcatu tarcatu_dragosh at yahoo.com
Thu Feb 18 05:09:46 EST 2016


Hello,
I'm encountering these compilation errors while trying to build the lttng-modules on an nvidia tegra arm64 board:

lttng-modules/2.7.1-r1/git/lttng-syscalls.c:358:3: error: implicit declaration of function '__event_probe__compat_syscall_entry_unknown' [-Werror=implicit-function-declaration]|    __event_probe__compat_syscall_entry_unknown(event, id, args);
lttng-modules/2.7.1-r1/git/lttng-syscalls.c:360:3: error: implicit declaration of function '__event_probe__syscall_entry_unknown' [-Werror=implicit-function-declaration]|    __event_probe__syscall_entry_unknown(event, id, args);
lttng-modules/2.7.1-r1/git/lttng-syscalls.c:509:3: error: implicit declaration of function '__event_probe__compat_syscall_exit_unknown' [-Werror=implicit-function-declaration]|    __event_probe__compat_syscall_exit_unknown(event, id, ret,
lttng-modules/2.7.1-r1/git/lttng-syscalls.c:512:3: error: implicit declaration of function '__event_probe__syscall_exit_unknown' [-Werror=implicit-function-declaration]|    __event_probe__syscall_exit_unknown(event, id, ret, args);
lttng-modules/2.7.1-r1/git/lttng-syscalls.c:740:2: error: implicit declaration of function 'wrapper_vmalloc_sync_all' [-Werror=implicit-function-declaration]|   wrapper_vmalloc_sync_all();

lttng-modules/2.7.1-r1/git/lttng-syscalls.c:777:5: error: '__event_desc___syscall_entry_unknown' undeclared (first use in this function)|     &__event_desc___syscall_entry_unknown;
lttng-modules/2.7.1-r1/git/lttng-syscalls.c:794:5: error: '__event_desc___compat_syscall_entry_unknown' undeclared (first use in this function)|     &__event_desc___compat_syscall_entry_unknown;
lttng-modules/2.7.1-r1/git/lttng-syscalls.c:811:5: error: '__event_desc___compat_syscall_exit_unknown' undeclared (first use in this function)|     &__event_desc___compat_syscall_exit_unknown;
lttng-modules/2.7.1-r1/git/lttng-syscalls.c:828:5: error: '__event_desc___syscall_exit_unknown' undeclared (first use in this function)|     &__event_desc___syscall_exit_unknown;

If I disable the syscall tracing it builds just fine though. Any idea on why this may be happening?
Regards,     Dragos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20160218/6ac7693a/attachment.html>


More information about the lttng-dev mailing list