[OE-core] [PATCH V2 00/14] eglibc 2.16

Khem Raj raj.khem at gmail.com
Mon Jul 9 04:21:26 UTC 2012


On Sun, Jul 8, 2012 at 2:14 PM, Saul Wold <sgw at linux.intel.com> wrote:
>
> Khem,
>
> Not sure if this one is on your radar:
>
>> | builtin-sched.c: In function 'get_cpu_usage_nsec_parent':
>> | builtin-sched.c:396:16: error: storage size of 'ru' isn't known
>> | builtin-sched.c:400:2: error: implicit declaration of function
>> 'getrusage' [-Werror=implicit-function-declaration]
>> | builtin-sched.c:400:2: error: nested extern declaration of 'getrusage'
>> [-Werror=nested-externs]
>> | builtin-sched.c:400:18: error: 'RUSAGE_SELF' undeclared (first use in
>> this function)
>> | builtin-sched.c:400:18: note: each undeclared identifier is reported
>> only once for each function it appears in
>> | builtin-sched.c:396:16: error: unused variable 'ru'
>> [-Werror=unused-variable]
>> | cc1: all warnings being treated as errors

Saul

I did not get this probably this is combination of new libc and new perf
Can you aff

#include <sys/resource.h>

to
builtin-sched.c in perf sources

and see if that solves the issue.

-Khem




More information about the Openembedded-core mailing list