[Buildroot] [PATCH] perf: libelf is required to compile perf

Andi Shyti andi at etezian.org
Tue Nov 5 17:10:03 UTC 2013


Hi Thomas,

> > Point this out in the related Config.in in the perf directory.
> >
> > Mute the following error by selecting BR2_PACKAGE_LIBELF:
> >
> > The perf tool in your kernel cannot be built without libelf.
> > Either upgrade your kernel to >= 3.7, or enable the elfutils package.
> > make: *** [/home/andi/repo/buildroot-snowball/output/build/perf-stable-linux-ux500-3.4/.stamp_built] Error 1
> 
> This doesn't look right. As the error indicates, if your kernel is
> recent enough you don't need libelf.

I was compiling for snowball which has an old Kernel as default,
that's why I got the error.

> Have you tried enabling libelf manually?

By enabling it manually it works. If the patch doesn't look
right, feel free to ignore it.

Thanks,
Andi


More information about the buildroot mailing list