linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
To: 陳韋任 <chenwj@iis.sinica.edu.tw>
Cc: linux-perf-users@vger.kernel.org, chenwj@cs.nctu.edu.tw
Subject: Re: Building perf failed on Linux/SPARC
Date: Mon, 14 Mar 2011 16:15:26 -0300	[thread overview]
Message-ID: <20110314191526.GA2388@ghostprotocols.net> (raw)
In-Reply-To: <20110314095121.GA66653@cs.nctu.edu.tw>

Em Mon, Mar 14, 2011 at 05:51:21PM +0800, 陳韋任 escreveu:
>   I have some problems while building perf on a Linux/SPARC machine.
> Here is the system information.
> 
> $ uname -a
> Linux sparc 2.6.37-rc5-git #1 SMP Tue Dec 21 17:03:53 CST 2010 sparc64 sun4v UltraSparc T2 (Niagara2) GNU/Linux
> $ gcc --version
> gcc (Gentoo 4.3.4 p1.0, pie-10.1.5) 4.3.4
> 
>   And here is the error message,
> --------------------------------------------------------------------
> $ make
> <stdin>:1:20: error: libelf.h: No such file or directory
>                 ......
> Makefile:419: *** No libelf.h/libelf found, please install libelf-dev/elfutils-libelf-devel.  Stop.
> --------------------------------------------------------------------
> 
>   I tried the code which is used to test libelf in the Makefile. But
> it seems work correctly. Do I miss something? Or I just have to update
> the kernel?

Gentoo, ok, can you make sure the package providing the libelf
implementation is elfutils?

There are other libelf implementations that could pass the simple test,
but which doesn't provide functions used in perf.

- Arnaldo

  reply	other threads:[~2011-03-14 19:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-14  9:51 Building perf failed on Linux/SPARC 陳韋任
2011-03-14 19:15 ` Arnaldo Carvalho de Melo [this message]
2011-03-15  3:16   ` 陳韋任
     [not found]     ` <8CB5FB7FBAFD274A8E92A53BBAFE339D0ADF79@039-SN1MPN1-003.039d.mgd.msft.net>
2011-03-15  8:20       ` 陳韋任
2011-03-15 10:08         ` Kumar Ranjit-B04060
2011-03-16  2:00           ` 陳韋任
2011-03-17 18:32   ` [kernel.kallsyms] with build id ... not found, continuing without symbols john smith

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=20110314191526.GA2388@ghostprotocols.net \
    --to=acme@ghostprotocols.net \
    --cc=chenwj@cs.nctu.edu.tw \
    --cc=chenwj@iis.sinica.edu.tw \
    --cc=linux-perf-users@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).