[lttng-dev] LTTV build failure in ubuntu 12.04
Yannick Brosseau
yannick.brosseau at gmail.com
Tue Dec 3 02:30:32 EST 2013
hi,
Which version of babeltrace is installed on the system?
On 11/25/13 08:52, Aananth CN wrote:
> Hi,
>
> I could not find lttv (viewer) on ubuntu, hence I built from source. I
> get following error. Could you please help me resolving this issue?
> (Am I missing something, should I install any other packages?)
>
> make all-recursive
> make[1]: Entering directory `/home/caananth/Downloads/lttv-1.5'
> Making all in lttv
> make[2]: Entering directory `/home/caananth/Downloads/lttv-1.5/lttv'
> Making all in lttv
> make[3]: Entering directory `/home/caananth/Downloads/lttv-1.5/lttv/lttv'
> CC state.o
> state.c: In function ‘restore_init_state’:
> state.c:413:25: error: ‘BT_CLOCK_REAL’ undeclared (first use in this
> function)
> state.c:413:25: note: each undeclared identifier is reported only once
> for each function it appears in
> state.c:413:9: error: too many arguments to function
> ‘bt_trace_handle_get_timestamp_begin’
> /usr/include/babeltrace/trace-handle.h:45:10: note: declared here
> state.c: In function ‘state_save_after_trace_hook’:
> state.c:3531:2: warning: #warning "Would we move max_time to traceset"
> [-Wcpp]
> make[3]: *** [state.o] Error 1
> make[3]: Leaving directory `/home/caananth/Downloads/lttv-1.5/lttv/lttv'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/caananth/Downloads/lttv-1.5/lttv'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/caananth/Downloads/lttv-1.5'
> make: *** [all] Error 2
>
>
More information about the lttng-dev
mailing list