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

Philippe Proulx eeppeliteloop at gmail.com
Sun Nov 29 15:30:39 EST 2015


Babeltrace <http://diamon.org/babeltrace/> offers a basic log-like text
output of the events. Babeltrace ships with Python 3 bindings so that you
can write your own analysis easily.

Trace Compass <http://tracecompass.org/> is a complete GUI environment
for viewing and analyzing traces.

See: <https://lttng.org/viewers/> and
<https://lttng.org/docs/#doc-getting-started>.
Philippe Proulx


On Sun, Nov 29, 2015 at 3:18 PM, Zvi Vered <veredz72 at gmail.com> wrote:
> Hi Mathieu,
>
> You are right. I installed Centos 6.3(64) with gcc 4.4.6
> No problems with compilation.
>
> Sorry for the (very) basic question.
> Once I have a recorded trace, what is the utility used to display a graph ?
>
> Regards,
> Z.V
>
> On Sun, Nov 29, 2015 at 5:10 PM, Mathieu Desnoyers
> <mathieu.desnoyers at efficios.com> wrote:
>> Hi,
>>
>> This is a known issue with gcc 4.1, see:
>> https://bugs.lttng.org/issues/236
>>
>> Normally, the configure check should have detected that your
>> compiler has issues with weak symbols. Not sure why this check
>> did not trigger in your case, but clearly your compiler is
>> clearly not supported. You will need to upgrade your compiler.
>>
>> Thanks,
>>
>> Mathieu
>>
>> ----- On Nov 28, 2015, at 11:13 PM, Zvi Vered veredz72 at gmail.com wrote:
>>
>>> Hi Jonathan,
>>>
>>> I tried compiling lttng-ust-2.7.1 and got the same compilation error.
>>> gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-55)
>>>
>>> I think (not sure) that compiling with newer gcc will not have this error.
>>>
>>> Regards,
>>> Z.V
>>>
>>> On 11/27/15, Jonathan Rajotte <jonathan.r.julien at gmail.com> wrote:
>>>> Hi Zvi,
>>>>
>>>> The 2.4 tool set (modules/ust/tools) is not officially supported (actively
>>>> developed) anymore. I highly encourage you to move towards lttng 2.7 tool
>>>> set unless you have very specific requirements.
>>>>
>>>> Cheers!
>>>>
>>>>
>>>> On Thu, Nov 26, 2015 at 11:20 PM, Zvi Vered <veredz72 at gmail.com> wrote:
>>>>
>>>>> 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
>>>>>
>>>>> _______________________________________________
>>>>> lttng-dev mailing list
>>>>> lttng-dev at lists.lttng.org
>>>>> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Jonathan Rajotte Julien
>>>>
>>>
>>> _______________________________________________
>>> lttng-dev mailing list
>>> lttng-dev at lists.lttng.org
>>> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>>
>> --
>> Mathieu Desnoyers
>> EfficiOS Inc.
>> http://www.efficios.com
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev



More information about the lttng-dev mailing list