[lttng-dev] babletrace with python bindings
ajonwa ajonwa
ajonwa at gmx.com
Tue Dec 18 13:40:44 EST 2012
Hello everyone,
I get the following error message while attempting to compile babeltrace with python bindings:
CC _babeltrace_la-babeltrace_wrap.lo
babeltrace_wrap.c: In function '_wrap__bt_ctf_field_type':
babeltrace_wrap.c:4621:56: warning: passing argument 1 of 'bt_ctf_field_type' from incompatible pointer type [enabled by default]
../../include/babeltrace/ctf/events.h:158:18: note: expected 'const struct declaration *' but argument is of type 'const struct definition *'
babeltrace_wrap.c: In function '_wrap__bt_ctf_get_int_signedness':
babeltrace_wrap.c:4643:51: warning: passing argument 1 of 'bt_ctf_get_int_signedness' from incompatible pointer type [enabled by default]
../../include/babeltrace/ctf/events.h:167:5: note: expected 'const struct declaration *' but argument is of type 'const struct definition *'
babeltrace_wrap.c: In function '_wrap__bt_ctf_get_int_base':
babeltrace_wrap.c:4665:45: warning: passing argument 1 of 'bt_ctf_get_int_base' from incompatible pointer type [enabled by default]
../../include/babeltrace/ctf/events.h:172:5: note: expected 'const struct declaration *' but argument is of type 'const struct definition *'
babeltrace_wrap.c: In function '_wrap__bt_ctf_get_int_byte_order':
babeltrace_wrap.c:4687:51: warning: passing argument 1 of 'bt_ctf_get_int_byte_order' from incompatible pointer type [enabled by default]
../../include/babeltrace/ctf/events.h:178:5: note: expected 'const struct declaration *' but argument is of type 'const struct definition *'
babeltrace_wrap.c: In function '_wrap__bt_ctf_get_int_len':
babeltrace_wrap.c:4709:39: warning: passing argument 1 of 'bt_ctf_get_int_len' from incompatible pointer type [enabled by default]
../../include/babeltrace/ctf/events.h:184:9: note: expected 'const struct declaration *' but argument is of type 'const struct definition *'
babeltrace_wrap.c: In function '_wrap__bt_ctf_get_encoding':
babeltrace_wrap.c:4731:66: warning: passing argument 1 of 'bt_ctf_get_encoding' from incompatible pointer type [enabled by default]
../../include/babeltrace/ctf/events.h:190:26: note: expected 'const struct declaration *' but argument is of type 'const struct definition *'
babeltrace_wrap.c: In function '_wrap__bt_ctf_get_array_len':
babeltrace_wrap.c:4753:46: warning: passing argument 1 of 'bt_ctf_get_array_len' from incompatible pointer type [enabled by default]
../../include/babeltrace/ctf/events.h:196:5: note: expected 'const struct declaration *' but argument is of type 'const struct definition *'
babeltrace_wrap.c: In function 'init_babeltrace':
babeltrace_wrap.c:6020:61: error: 'BT_SEEK_END' undeclared (first use in this function)
babeltrace_wrap.c:6020:61: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [_babeltrace_la-babeltrace_wrap.lo] Error 1
I got the source code by checking out bindings/python (git checkout bindings/python).
I will be grateful if someone would tell how to fix the error.
Thanks,
Geoffrey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20121218/ca016550/attachment.html>
More information about the lttng-dev
mailing list