linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: 陳韋任 <chenwj@iis.sinica.edu.tw>
To: linux-perf-users@vger.kernel.org
Cc: chenwj@cs.nctu.edu.tw
Subject: Building perf failed on Linux/SPARC
Date: Mon, 14 Mar 2011 17:51:21 +0800	[thread overview]
Message-ID: <20110314095121.GA66653@cs.nctu.edu.tw> (raw)

Hi, folks

  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?

  Thanks!

Regards,
chenwj

-- 
Wei-Ren Chen (陳韋任)
Parallel Processing Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667

             reply	other threads:[~2011-03-14  9:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-14  9:51 陳韋任 [this message]
2011-03-14 19:15 ` Building perf failed on Linux/SPARC Arnaldo Carvalho de Melo
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=20110314095121.GA66653@cs.nctu.edu.tw \
    --to=chenwj@iis.sinica.edu.tw \
    --cc=chenwj@cs.nctu.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).