All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: LTTng-ust 2.4.0-rc4 build error with uClibc
       [not found] <530382BA.2060301@teldat.com>
@ 2014-02-19  9:00 ` Woegerer, Paul
       [not found] ` <5304729F.5040706@mentor.com>
  1 sibling, 0 replies; 3+ messages in thread
From: Woegerer, Paul @ 2014-02-19  9:00 UTC (permalink / raw)
  To: Santiago Font, lttng-dev

Hi Santiago,

it looks like uClibc does not have proper support for dlinfo().

You have two options:

Switch to a different C library suitable for embedded systems that does
have proper support for dlinfo(): http://www.eglibc.org/home

Build without liblttng-ust-dl (simply remove it from the list of SUBDIRS
in the top-level Makefile.am) and accept that the following LTTng 2.4
feature is missing in your custom build:
http://git.lttng.org/?p=lttng-ust.git;a=blob_plain;f=doc/man/lttng-ust-dl.3;hb=HEAD


HTH,
Paul


On 02/18/2014 04:56 PM, Santiago Font wrote:
> Hi,
> 
> I'm trying to build LTTng-ust using uClibc and I get the following error:
> 
>                         ustdl.c:95:22: error: 'RTLD_DI_LINKMAP'
> undeclared (first use in this function)
> 
> Checking the file dlfcn.h from uClibc, the code defining that enum is
> disabled by:
> 
>                         #if 0 /* not supported by uClibc */
> 
> How can I fix this?
> 
> Thanks,
>               Santi
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev@lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev


-- 
Paul Woegerer, SW Development Engineer
Sourcery Analyzer <http://go.mentor.com/sourceryanalyzer>
Mentor Graphics, Embedded Software Division

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: LTTng-ust 2.4.0-rc4 build error with uClibc
       [not found] ` <5304729F.5040706@mentor.com>
@ 2014-02-20 11:35   ` Santiago Font
  0 siblings, 0 replies; 3+ messages in thread
From: Santiago Font @ 2014-02-20 11:35 UTC (permalink / raw)
  To: Woegerer, Paul, lttng-dev

Hi Paul,
      Thank you very much for your help.

      Santi

On 19/02/14 10:00, Woegerer, Paul wrote:
> Hi Santiago,
>
> it looks like uClibc does not have proper support for dlinfo().
>
> You have two options:
>
> Switch to a different C library suitable for embedded systems that does
> have proper support for dlinfo(): http://www.eglibc.org/home
>
> Build without liblttng-ust-dl (simply remove it from the list of SUBDIRS
> in the top-level Makefile.am) and accept that the following LTTng 2.4
> feature is missing in your custom build:
> http://git.lttng.org/?p=lttng-ust.git;a=blob_plain;f=doc/man/lttng-ust-dl.3;hb=HEAD
>
>
> HTH,
> Paul
>
>
> On 02/18/2014 04:56 PM, Santiago Font wrote:
>> Hi,
>>
>> I'm trying to build LTTng-ust using uClibc and I get the following error:
>>
>>                          ustdl.c:95:22: error: 'RTLD_DI_LINKMAP'
>> undeclared (first use in this function)
>>
>> Checking the file dlfcn.h from uClibc, the code defining that enum is
>> disabled by:
>>
>>                          #if 0 /* not supported by uClibc */
>>
>> How can I fix this?
>>
>> Thanks,
>>                Santi
>>
>> _______________________________________________
>> lttng-dev mailing list
>> lttng-dev@lists.lttng.org
>> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* LTTng-ust 2.4.0-rc4 build error with uClibc
@ 2014-02-18 15:56 Santiago Font
  0 siblings, 0 replies; 3+ messages in thread
From: Santiago Font @ 2014-02-18 15:56 UTC (permalink / raw)
  To: lttng-dev

Hi,

I'm trying to build LTTng-ust using uClibc and I get the following error:

                         ustdl.c:95:22: error: 'RTLD_DI_LINKMAP' 
undeclared (first use in this function)

Checking the file dlfcn.h from uClibc, the code defining that enum is 
disabled by:

                         #if 0 /* not supported by uClibc */

How can I fix this?

Thanks,
               Santi

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-20 11:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <530382BA.2060301@teldat.com>
2014-02-19  9:00 ` LTTng-ust 2.4.0-rc4 build error with uClibc Woegerer, Paul
     [not found] ` <5304729F.5040706@mentor.com>
2014-02-20 11:35   ` Santiago Font
2014-02-18 15:56 Santiago Font

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.