[ltt-dev] ld/compile error - undefined reference to ltt_release_trace, ltt_serialize_printf, etc.

Mathieu Desnoyers compudj at krystal.dyndns.org
Mon Apr 12 21:36:00 EDT 2010


* VK (list-lttng at kutty.cc) wrote:
>
> Last of my short burst of posts ... lttng 0.209 + 2.6.33.2 x86_64:
>
> ltt/built-in.o: In function `ltt_chan_alloc_free':
> /BUILD/linux-2.6.33.2-lttng-0.209-vk001/ltt/ltt-relay-alloc.c:387:  
> undefined reference to `ltt_release_trace'
> ltt/built-in.o: In function `seq_serialize':
> /BUILD/linux-2.6.33.2-lttng-0.209-vk001/ltt/ltt-ascii.c:327: undefined 
> reference to `ltt_serialize_printf'
> ltt/built-in.o: In function `calculate_payload_offset':
> /BUILD/linux-2.6.33.2-lttng-0.209-vk001/ltt/ltt-ascii.c:131: undefined 
> reference to `ltt_fmt_largest_align'
> ltt/built-in.o: In function `update_event_size':
> /BUILD/linux-2.6.33.2-lttng-0.209-vk001/ltt/ltt-ascii.c:163: undefined 
> reference to `ltt_serialize_printf'
> ltt/built-in.o: In function `ltt_relay_init':
> /BUILD/linux-2.6.33.2-lttng-0.209-vk001/ltt/ltt-relay-lockless.c:1344:  
> undefined reference to `ltt_transport_register'
> ltt/built-in.o: In function `ltt_relay_exit':
> /BUILD/linux-2.6.33.2-lttng-0.209-vk001/ltt/ltt-relay-lockless.c:1357:  
> undefined reference to `ltt_transport_unregister'
> make: *** [.tmp_vmlinux1] Error 1
>
>
> Any suggestions on how to get past this?

I'd need a copy of your .config to help you fixing this one. Meanwhile,
try setting LTTng to "buildin" (completely) or "module" (also for all
selections). It's under the "General config" menu.

Thanks,

Mathieu


>
> TIA
> --
> Vinod
>
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
>

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com




More information about the lttng-dev mailing list