[lttng-dev] Building Babeltrace

Paul Thomas paul.thomas at ise.bc.ca
Wed Nov 6 14:00:58 EST 2013


Hello:

I get the following when building babeltrace from git:

make[4]: Entering directory `/rt_linux/babeltrace/formats/ctf/writer'
  CC     writer.lo
writer.c: In function 'bt_ctf_writer_create':
writer.c:118: error: 'O_DIRECTORY' undeclared (first use in this function)
writer.c:118: error: (Each undeclared identifier is reported only once
writer.c:118: error: for each function it appears in.)
writer.c: In function 'validate_identifier':
writer.c:564: warning: implicit declaration of function 'g_hash_table_contains'
writer.c: In function 'writer_init':
writer.c:741: warning: implicit declaration of function 'g_hash_table_add'
make[4]: *** [writer.lo] Error 1
make[4]: Leaving directory `/rt_linux/babeltrace/formats/ctf/writer'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/rt_linux/babeltrace/formats/ctf'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/rt_linux/babeltrace/formats'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/rt_linux/babeltrace'
make: *** [all] Error 2

I am running Debian:  gcc/g++ 4.4.5-8
Linux debian-rt 2.6.31.51 #1 SMP PREEMPT i686 GNU/Linux

Should I be compiling from a tarball instead?

Thanks,

Paul




More information about the lttng-dev mailing list