>>> lttng-modules 2.13.10 Downloading wget -nd -t 3 --no-check-certificate -O '/home/buildroot/instance-0/output-1/build/.lttng-modules-2.13.10.tar.bz2.0GjPqW/output' 'http://lttng.org/files/lttng-modules/lttng-modules-2.13.10.tar.bz2' URL transformed to HTTPS due to an HSTS policy --2024-11-05 15:06:45-- https://lttng.org/files/lttng-modules/lttng-modules-2.13.10.tar.bz2 Resolving lttng.org (lttng.org)... 167.114.26.126, 2607:5300:203:b2ee::d7f2 Connecting to lttng.org (lttng.org)|167.114.26.126|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 350692 (342K) [application/x-bzip2] Saving to: '/home/buildroot/instance-0/output-1/build/.lttng-modules-2.13.10.tar.bz2.0GjPqW/output' 0K .......... .......... .......... .......... .......... 14% 256K 1s 50K .......... .......... .......... .......... .......... 29% 514K 1s 100K .......... .......... .......... .......... .......... 43% 54.6M 0s 150K .......... .......... .......... .......... .......... 58% 41.8M 0s 200K .......... .......... .......... .......... .......... 72% 521K 0s 250K .......... .......... .......... .......... .......... 87% 51.5M 0s 300K .......... .......... .......... .......... .. 100% 52.9M=0.4s 2024-11-05 15:06:46 (873 KB/s) - '/home/buildroot/instance-0/output-1/build/.lttng-modules-2.13.10.tar.bz2.0GjPqW/output' saved [350692/350692] lttng-modules-2.13.10.tar.bz2: OK (sha256: 13abfb1ac870711f0d0adfa88e53b17deb2e3052173715a260a6ef14aa45b0a7) >>> lttng-modules 2.13.10 Extracting bzcat /home/buildroot/instance-0/dl/lttng-modules/lttng-modules-2.13.10.tar.bz2 | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10 -xf - >>> lttng-modules 2.13.10 Patching >>> lttng-modules 2.13.10 Configuring >>> lttng-modules 2.13.10 Building >>> lttng-modules 2.13.10 Building kernel module(s) GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PKG_CONFIG="/home/buildroot/instance-0/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/buildroot/instance-0/output-1/host/lib/pkgconfig:/home/buildroot/instance-0/output-1/host/share/pkgconfig" BR_BINARIES_DIR=/home/buildroot/instance-0/output-1/images /usr/bin/make -j17 -C /home/buildroot/instance-0/output-1/build/linux-6.11.5 HOSTCC="/usr/bin/gcc -O2 -isystem /home/buildroot/instance-0/output-1/host/include -L/home/buildroot/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/instance-0/output-1/host/lib" ARCH=sparc KCFLAGS="-Wno-attribute-alias" INSTALL_MOD_PATH=/home/buildroot/instance-0/output-1/target CROSS_COMPILE="/home/buildroot/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-" WERROR=0 REGENERATE_PARSERS=1 DEPMOD=/home/buildroot/instance-0/output-1/host/sbin/depmod CONFIG_LTTNG=m CONFIG_LTTNG_CLOCK_PLUGIN_TEST=m PWD=/home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/. M=/home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/. modules make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/linux-6.11.5' CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-ring-buffer-client-discard.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-ring-buffer-client-overwrite.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-ring-buffer-metadata-client.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-ring-buffer-client-mmap-discard.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-ring-buffer-client-mmap-overwrite.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-ring-buffer-metadata-mmap-client.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-ring-buffer-event-notifier-client.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-counter-client-percpu-32-modular.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-counter-client-percpu-64-modular.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-clock.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lib/msgpack/msgpack.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-events.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-abi.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-string-utils.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-probes.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/tests/probes/lttng-test.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lib/ringbuffer/ring_buffer_backend.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lib/ringbuffer/ring_buffer_frontend.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/probes/lttng-probe-sched.o /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-events.c:1720:33: warning: no previous prototype for ‘get_tracker’ [-Wmissing-prototypes] 1720 | struct lttng_kernel_id_tracker *get_tracker(struct lttng_kernel_session *session, | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-clock.c:63:6: warning: no previous prototype for ‘lttng_clock_ref’ [-Wmissing-prototypes] 63 | void lttng_clock_ref(void) | ^~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-clock.c:81:6: warning: no previous prototype for ‘lttng_clock_unref’ [-Wmissing-prototypes] 81 | void lttng_clock_unref(void) | ^~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-events.c:3030:5: warning: no previous prototype for ‘lttng_metadata_printf’ [-Wmissing-prototypes] 3030 | int lttng_metadata_printf(struct lttng_kernel_session *session, | ^~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-abi.c:125:6: warning: no previous prototype for ‘event_notifier_send_notification_work_wakeup’ [-Wmissing-prototypes] 125 | void event_notifier_send_notification_work_wakeup(struct irq_work *entry) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-abi.c:2571:14: warning: no previous prototype for ‘lttng_channel_poll’ [-Wmissing-prototypes] 2571 | unsigned int lttng_channel_poll(struct file *file, poll_table *wait) | ^~~~~~~~~~~~~~~~~~ CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-pid.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-procname.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-prio.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-nice.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-vpid.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-tid.o /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lib/ringbuffer/ring_buffer_frontend.c:2409:12: warning: no previous prototype for ‘init_lib_ring_buffer_frontend’ [-Wmissing-prototypes] 2409 | int __init init_lib_ring_buffer_frontend(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lib/ringbuffer/ring_buffer_frontend.c:2420:13: warning: no previous prototype for ‘exit_lib_ring_buffer_frontend’ [-Wmissing-prototypes] 2420 | void __exit exit_lib_ring_buffer_frontend(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/tests/clock-plugin/lttng-clock-plugin-test.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-vtid.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-ppid.o /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lib/ringbuffer/ring_buffer_backend.c: In function ‘channel_backend_init’: /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lib/ringbuffer/ring_buffer_backend.c:408:9: error: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Werror=implicit-function-declaration] 408 | strlcpy(chanb->name, name, NAME_MAX); | ^~~~~~~ | strncpy In file included from /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/probes/../../include/lttng/define_trace.h:87, from /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/probes/../../include/instrumentation/events/sched.h:710, from /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/probes/lttng-probe-sched.c:28: /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/probes/../../include/lttng/tracepoint-event-impl.h:133:6: error: conflicting types for ‘trace_sched_stat_runtime’; have ‘void(struct task_struct *, u64, u64)’ {aka ‘void(struct task_struct *, long long unsigned int, long long unsigned int)’} 133 | void trace_##_name(_proto); | ^~~~~~ /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/probes/../../include/lttng/tracepoint-event-impl.h:45:9: note: in expansion of macro ‘LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP’ 45 | LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(map, name, map, PARAMS(proto), PARAMS(args)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/probes/../../include/lttng/tracepoint-event-impl.h:87:9: note: in expansion of macro ‘LTTNG_TRACEPOINT_EVENT_MAP’ 87 | LTTNG_TRACEPOINT_EVENT_MAP(name, name, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/probes/../../include/instrumentation/events/sched.h:653:1: note: in expansion of macro ‘LTTNG_TRACEPOINT_EVENT’ 653 | LTTNG_TRACEPOINT_EVENT(sched_stat_runtime, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ./include/trace/events/sched.h:10, from /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/probes/lttng-probe-sched.c:17: ./include/linux/tracepoint.h:356:28: note: previous definition of ‘trace_sched_stat_runtime’ with type ‘void(struct task_struct *, u64)’ {aka ‘void(struct task_struct *, long long unsigned int)’} 356 | static inline void trace_##name(proto) \ | ^~~~~~ ./include/linux/tracepoint.h:433:9: note: in expansion of macro ‘__DECLARE_TRACE’ 433 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \ | ^~~~~~~~~~~~~~~ ./include/linux/tracepoint.h:556:9: note: in expansion of macro ‘DECLARE_TRACE’ 556 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) | ^~~~~~~~~~~~~ ./include/trace/events/sched.h:552:1: note: in expansion of macro ‘DEFINE_EVENT’ 552 | DEFINE_EVENT(sched_stat_runtime, sched_stat_runtime, | ^~~~~~~~~~~~ CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-vppid.o LD [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/tests/lttng-test.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/probes/lttng-probe-irq.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-cpu-id.o /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-prio.c:23:5: warning: no previous prototype for ‘wrapper_task_prio_init’ [-Wmissing-prototypes] 23 | int wrapper_task_prio_init(void) | ^~~~~~~~~~~~~~~~~~~~~~ CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-uid.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lib/ringbuffer/ring_buffer_iterator.o make[5]: *** [scripts/Makefile.build:244: /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/probes/lttng-probe-sched.o] Error 1 make[5]: *** Waiting for unfinished jobs.... CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-euid.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-suid.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-gid.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lib/ringbuffer/ring_buffer_vfs.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-egid.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-sgid.o LD [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/tests/lttng-clock-plugin-test.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-vuid.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lib/ringbuffer/ring_buffer_splice.o cc1: some warnings being treated as errors make[5]: *** [scripts/Makefile.build:244: /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lib/ringbuffer/ring_buffer_backend.o] Error 1 make[5]: *** Waiting for unfinished jobs.... CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-veuid.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-vsuid.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-vgid.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-vegid.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-vsgid.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-interruptible.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-need-reschedule.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-calibrate.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-hostname.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-callstack.o CC [M] /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/probes/lttng.o make[4]: *** [scripts/Makefile.build:485: /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/probes] Error 2 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [scripts/Makefile.build:485: /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lib] Error 2 /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-calibrate.c:14:6: warning: no previous prototype for ‘lttng_calibrate_kretprobe’ [-Wmissing-prototypes] 14 | void lttng_calibrate_kretprobe(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-calibrate.c:19:5: warning: no previous prototype for ‘lttng_calibrate’ [-Wmissing-prototypes] 19 | int lttng_calibrate(struct lttng_kernel_abi_calibrate *calibrate) | ^~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-callstack.c:57: /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-callstack-legacy-impl.h:24:28: error: field ‘stack_trace’ has incomplete type 24 | struct stack_trace stack_trace; | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-callstack-legacy-impl.h: In function ‘lttng_callstack_sequence_get_size’: /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-callstack-legacy-impl.h:162:14: error: invalid use of undefined type ‘struct stack_trace’ 162 | trace->nr_entries = 0; | ^~ /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-callstack-legacy-impl.h:178:18: error: invalid use of undefined type ‘struct stack_trace’ 178 | if (trace->nr_entries > 0 | ^~ /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-callstack-legacy-impl.h:179:33: error: invalid use of undefined type ‘struct stack_trace’ 179 | && trace->entries[trace->nr_entries - 1] == ULONG_MAX) { | ^~ /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-callstack-legacy-impl.h:179:48: error: invalid use of undefined type ‘struct stack_trace’ 179 | && trace->entries[trace->nr_entries - 1] == ULONG_MAX) { | ^~ /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-callstack-legacy-impl.h:180:22: error: invalid use of undefined type ‘struct stack_trace’ 180 | trace->nr_entries--; | ^~ /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-callstack-legacy-impl.h:183:48: error: invalid use of undefined type ‘struct stack_trace’ 183 | offset += sizeof(unsigned long) * trace->nr_entries; | ^~ /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-callstack-legacy-impl.h:185:18: error: invalid use of undefined type ‘struct stack_trace’ 185 | if (trace->nr_entries == trace->max_entries) | ^~ /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-callstack-legacy-impl.h:185:39: error: invalid use of undefined type ‘struct stack_trace’ 185 | if (trace->nr_entries == trace->max_entries) | ^~ /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-callstack-legacy-impl.h: In function ‘lttng_callstack_length_record’: /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-callstack-legacy-impl.h:203:39: error: invalid use of undefined type ‘struct stack_trace’ 203 | nr_seq_entries = trace->nr_entries; | ^~ /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-callstack-legacy-impl.h:204:26: error: invalid use of undefined type ‘struct stack_trace’ 204 | if (trace->nr_entries == trace->max_entries) | ^~ /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-callstack-legacy-impl.h:204:47: error: invalid use of undefined type ‘struct stack_trace’ 204 | if (trace->nr_entries == trace->max_entries) | ^~ /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-callstack-legacy-impl.h: In function ‘lttng_callstack_sequence_record’: /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-callstack-legacy-impl.h:223:31: error: invalid use of undefined type ‘struct stack_trace’ 223 | nr_seq_entries = trace->nr_entries; | ^~ /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-callstack-legacy-impl.h:224:18: error: invalid use of undefined type ‘struct stack_trace’ 224 | if (trace->nr_entries == trace->max_entries) | ^~ /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-callstack-legacy-impl.h:224:39: error: invalid use of undefined type ‘struct stack_trace’ 224 | if (trace->nr_entries == trace->max_entries) | ^~ /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-callstack-legacy-impl.h:226:42: error: invalid use of undefined type ‘struct stack_trace’ 226 | chan->ops->event_write(ctx, trace->entries, | ^~ /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-callstack-legacy-impl.h:227:54: error: invalid use of undefined type ‘struct stack_trace’ 227 | sizeof(unsigned long) * trace->nr_entries, lttng_alignof(unsigned long)); | ^~ /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-callstack-legacy-impl.h:229:18: error: invalid use of undefined type ‘struct stack_trace’ 229 | if (trace->nr_entries == trace->max_entries) { | ^~ /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-callstack-legacy-impl.h:229:39: error: invalid use of undefined type ‘struct stack_trace’ 229 | if (trace->nr_entries == trace->max_entries) { | ^~ /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-callstack.c: At top level: /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-callstack.c:123:41: warning: no previous prototype for ‘lttng_cs_event_fields’ [-Wmissing-prototypes] 123 | const struct lttng_kernel_event_field **lttng_cs_event_fields(enum lttng_cs_ctx_modes mode) | ^~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-callstack-legacy-impl.h: In function ‘stack_trace_context’: /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-callstack-legacy-impl.h:130:1: error: control reaches end of non-void function [-Werror=return-type] 130 | } | ^ cc1: some warnings being treated as errors make[4]: *** [scripts/Makefile.build:244: /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/lttng-context-callstack.o] Error 1 /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/probes/lttng.c:118:12: warning: no previous prototype for ‘lttng_logger_init’ [-Wmissing-prototypes] 118 | int __init lttng_logger_init(void) | ^~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src/probes/lttng.c:155:6: warning: no previous prototype for ‘lttng_logger_exit’ [-Wmissing-prototypes] 155 | void lttng_logger_exit(void) | ^~~~~~~~~~~~~~~~~ make[3]: *** [scripts/Makefile.build:485: /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/./src] Error 2 make[2]: *** [/home/buildroot/instance-0/output-1/build/linux-6.11.5/Makefile:1926: /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/.] Error 2 make[1]: *** [Makefile:224: __sub-make] Error 2 make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/linux-6.11.5' make: *** [package/pkg-generic.mk:290: /home/buildroot/instance-0/output-1/build/lttng-modules-2.13.10/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/instance-0/buildroot'