[lttng-dev] compile error in lttng-ust-2.4.4

Zvi Vered veredz72 at gmail.com
Thu Nov 26 23:20:49 EST 2015


Hello,

I downloaded lttng-ust-2.4.4 extracted it and ran ./configure
Then I ran make.

I got the following error:

....
  CC       lttng-filter-specialize.lo
  CC       lttng-filter-interpreter.lo
  CC       lttng-ust-baddr.lo
In file included from ../include/lttng/ust-tracepoint-event.h:724,
                 from ../include/lttng/tracepoint-event.h:58,
                 from ust_baddr_statedump.h:56,
                 from lttng-ust-baddr.c:40:
././ust_baddr_statedump.h:40: error: weak declaration of
'__ref_loglevel___ust_baddr_statedump___soinfo' must be public
././ust_baddr_statedump.h:40: error:
'__ref_loglevel___ust_baddr_statedump___soinfo' defined both normally
and as an alias
././ust_baddr_statedump.h:40: error: weak declaration of
'__ref_model_emf_uri___ust_baddr_statedump___soinfo' must be public
././ust_baddr_statedump.h:40: error:
'__ref_model_emf_uri___ust_baddr_statedump___soinfo' defined both
normally and as an alias
make[2]: *** [lttng-ust-baddr.lo] Error 1
make[2]: Leaving directory
`/home/zvivered/GNU/lttng-ust/lttng-ust-2.4.4/liblttng-ust'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zvivered/GNU/lttng-ust/lttng-ust-2.4.4'
make: *** [all] Error 2

I'm running under Centos 5.5 (32),
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-55)

Best regards,
Z.V



More information about the lttng-dev mailing list