Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Shyti <andi@etezian.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] perf: libelf is required to compile perf
Date: Tue, 5 Nov 2013 18:10:03 +0100	[thread overview]
Message-ID: <20131105171003.GA17791@jack.whiskey> (raw)
In-Reply-To: <CAAXf6LVJ7r6mK40v=az-h5p8g8ykwaOsC0RXCZSY6wT9Dh9gmw@mail.gmail.com>

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

  reply	other threads:[~2013-11-05 17:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-05 14:06 [Buildroot] [PATCH] perf: libelf is required to compile perf Andi Shyti
2013-11-05 14:53 ` Thomas De Schampheleire
2013-11-05 17:10   ` Andi Shyti [this message]
2013-11-05 14:58 ` rjbarnet at rockwellcollins.com
2013-11-05 16:18   ` Baruch Siach
2013-11-05 16:27     ` Ryan Barnett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131105171003.GA17791@jack.whiskey \
    --to=andi@etezian.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox