[Buildroot] elfutils and the perf userspace tool

Bogdan Radulescu bogdan_radulescu99 at yahoo.com
Tue Dec 4 08:13:14 UTC 2012





----- Original Message -----
From: Bryan Hundven <bryanhundven at gmail.com>
To: Bogdan Radulescu <bogdan_radulescu99 at yahoo.com>
Cc: "buildroot at busybox.net" <buildroot at busybox.net>
Sent: Tuesday, December 4, 2012 5:33 AM
Subject: Re: [Buildroot] elfutils and the perf userspace tool

On Mon, Dec 3, 2012 at 2:20 PM, Bogdan Radulescu
<bogdan_radulescu99 at yahoo.com> wrote:
>
>
> Hello everybody,
>
> I am using buildroot for generating a distro for ARM. I am able to add additional packages to buildroot or to use arm-linux-gcc directly to compile simple C programs.
>
> Still I haven't yet understood how to cross compile the perf userspace tool and I think it would be a very nice addition to buildroot.
>
> The perf tool requires elfutils and the kernel sources it comes with.
>
> My first problem is that elfutils will not successfully compile, as you can see here:
> http://pastie.org/pastes/5474687/text
>
> My elfutils.mk file looks like this http://pastie.org/pastes/5474697/text
>
> Please tell me how do I move further from this.
>
> Thanks,
> Bogdan
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

I forgot to cc buildroot at ... eh.

Original response:

I think you need the argp-standalone, as I don't think uclibc provides libargp.

-Bryan



Hi Bryan,

As you can see in the elfutils.mk file I already added argp-standalone as a dependency. It compiles OK.
I am also linking against it, still something goes wrong at some point.

Bogdan




More information about the buildroot mailing list