[lttng-dev] Compilation error in LTTng-UST 2.0.8

Zvi Vered veredz72 at gmail.com
Sat Aug 17 16:26:35 EDT 2013


Hello,

I downloaded the file lttng-ust-2.0.8.tar.bz2, extracted it and the ran:
./configure
make

After a while I got the following compilcation error:

  CC     ltt-probes.lo
  CC     lttng-probe-ust.lo
In file included from ../include/lttng/ust-tracepoint-event.h:506,
                 from ../include/lttng/tracepoint-event.h:41,
                 from probes/lttng-probe-ust.h:47,
                 from probes/lttng-probe-ust.c:25:
././probes/lttng-probe-ust.h:27: error: weak declaration of
'__ref_loglevel___lttng_ust___metadata' must be public
././probes/lttng-probe-ust.h:27: error:
'__ref_loglevel___lttng_ust___metadata' defined both normally and as an
alias
make[2]: *** [lttng-probe-ust.lo] Error 1
make[2]: Leaving directory `/home/zvivered/GNU/lttng-ust-2.0.8/liblttng-ust'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zvivered/GNU/lttng-ust-2.0.8'
make: *** [all] Error 2


I'm working with Centos 5.9, gcc 4.1.2 20080704 (Red Hat 4.1.2-54)

Can you help ?

Thanks,
Zvika
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20130817/0c7bda0b/attachment-0001.html>


More information about the lttng-dev mailing list