<span style='font-family:Verdana'><span style='font-size:12px'><span style="font-family:verdana;"><span style="font-size:12px;"><span style="font-size:16px;">Hello everyone,<br /> 
<br /> 
I get the following error message while attempting to compile </span></span></span><span style="font-size:16px;">babeltrace<span name="misspelled-babletrace"> with python bindings:<br /> 
<br /> 
  </span>  CC     _babeltrace_la-babeltrace_wrap.lo</span> 
<div> 
        <span style="font-size:16px;">babeltrace_wrap.c: In function '_wrap__bt_ctf_field_type':</span></div> 
<div> 
        <span style="font-size:16px;">babeltrace_wrap.c:4621:56: warning: passing argument 1 of 'bt_ctf_field_type' from incompatible pointer type [enabled by default]</span></div> 
<div> 
        <span style="font-size:16px;">../../include/babeltrace/ctf/events.h:158:18: note: expected 'const struct declaration *' but argument is of type 'const struct definition *'</span></div> 
<div> 
        <span style="font-size:16px;">babeltrace_wrap.c: In function '_wrap__bt_ctf_get_int_signedness':</span></div> 
<div> 
        <span style="font-size:16px;">babeltrace_wrap.c:4643:51: warning: passing argument 1 of 'bt_ctf_get_int_signedness' from incompatible pointer type [enabled by default]</span></div> 
<div> 
        <span style="font-size:16px;">../../include/babeltrace/ctf/events.h:167:5: note: expected 'const struct declaration *' but argument is of type 'const struct definition *'</span></div> 
<div> 
        <span style="font-size:16px;">babeltrace_wrap.c: In function '_wrap__bt_ctf_get_int_base':</span></div> 
<div> 
        <span style="font-size:16px;">babeltrace_wrap.c:4665:45: warning: passing argument 1 of 'bt_ctf_get_int_base' from incompatible pointer type [enabled by default]</span></div> 
<div> 
        <span style="font-size:16px;">../../include/babeltrace/ctf/events.h:172:5: note: expected 'const struct declaration *' but argument is of type 'const struct definition *'</span></div> 
<div> 
        <span style="font-size:16px;">babeltrace_wrap.c: In function '_wrap__bt_ctf_get_int_byte_order':</span></div> 
<div> 
        <span style="font-size:16px;">babeltrace_wrap.c:4687:51: warning: passing argument 1 of 'bt_ctf_get_int_byte_order' from incompatible pointer type [enabled by default]</span></div> 
<div> 
        <span style="font-size:16px;">../../include/babeltrace/ctf/events.h:178:5: note: expected 'const struct declaration *' but argument is of type 'const struct definition *'</span></div> 
<div> 
        <span style="font-size:16px;">babeltrace_wrap.c: In function '_wrap__bt_ctf_get_int_len':</span></div> 
<div> 
        <span style="font-size:16px;">babeltrace_wrap.c:4709:39: warning: passing argument 1 of 'bt_ctf_get_int_len' from incompatible pointer type [enabled by default]</span></div> 
<div> 
        <span style="font-size:16px;">../../include/babeltrace/ctf/events.h:184:9: note: expected 'const struct declaration *' but argument is of type 'const struct definition *'</span></div> 
<div> 
        <span style="font-size:16px;">babeltrace_wrap.c: In function '_wrap__bt_ctf_get_encoding':</span></div> 
<div> 
        <span style="font-size:16px;">babeltrace_wrap.c:4731:66: warning: passing argument 1 of 'bt_ctf_get_encoding' from incompatible pointer type [enabled by default]</span></div> 
<div> 
        <span style="font-size:16px;">../../include/babeltrace/ctf/events.h:190:26: note: expected 'const struct declaration *' but argument is of type 'const struct definition *'</span></div> 
<div> 
        <span style="font-size:16px;">babeltrace_wrap.c: In function '_wrap__bt_ctf_get_array_len':</span></div> 
<div> 
        <span style="font-size:16px;">babeltrace_wrap.c:4753:46: warning: passing argument 1 of 'bt_ctf_get_array_len' from incompatible pointer type [enabled by default]</span></div> 
<div> 
        <span style="font-size:16px;">../../include/babeltrace/ctf/events.h:196:5: note: expected 'const struct declaration *' but argument is of type 'const struct definition *'</span></div> 
<div> 
        <span style="font-size:16px;">babeltrace_wrap.c: In function 'init_babeltrace':</span></div> 
<div> 
        <span style="font-size:16px;">babeltrace_wrap.c:6020:61: error: 'BT_SEEK_END' undeclared (first use in this function)</span></div> 
<div> 
        <span style="font-size:16px;">babeltrace_wrap.c:6020:61: note: each undeclared identifier is reported only once for each function it appears in</span></div> 
<div> 
        <span style="font-size:16px;">make[3]: *** [_babeltrace_la-babeltrace_wrap.lo] Error 1<br /> 
        <br /> 
        I got the source code by checking out  bindings/python (</span><span style="font-size: 16px; ">git checkout </span><span style="font-size: 16px; ">bindings/python</span><span style="font-size: 16px; ">).<br /> 
        <br /> 
        I will be grateful if someone would tell how to fix the error.<br /> 
        <br /> 
        <br /> 
        <br /> 
        Thanks,<br /> 
        <br /> 
        Geoffrey</span></div> 
<div> 
         </div> 
</span></span>