All of lore.kernel.org
 help / color / mirror / Atom feed
From: Namhyung Kim <namhyung@kernel.org>
To: Koteswararao Nelakurthi <knelakurthi@mvista.com>
Cc: linux-perf-users@vger.kernel.org
Subject: Re: Perf tool cross build issue
Date: Thu, 16 Aug 2012 09:31:41 +0900	[thread overview]
Message-ID: <87628joexe.fsf@sejong.aot.lge.com> (raw)
In-Reply-To: <CAAo=-0a74sJ1TieeCH81K+gKFaiKNAKLKL-eiDp-jYnGJVjkbg@mail.gmail.com> (Koteswararao Nelakurthi's message of "Tue, 14 Aug 2012 12:00:12 +0900")

Hi, Koteswararao

On Tue, 14 Aug 2012 12:00:12 +0900, Koteswararao Nelakurthi wrote:
> Dear Perf developers,
>
>
> I am trying to cross compile Perf source present in 2.6.35/tools/perf

2.6.35? That's too old. Can't you try it with more recent version?

Thanks,
Namhyung


> directory for ARM.in ubuntu machine.(x86 is host machine).But i am
> facing the following compilation error as compiler looks at host
> specific header files instead of looking at header files present in
> perf/ directory..Please provide Makefile changes required to compile
> successfully perf for ARM.{{{
>
> perf>make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-
>
> Makefile:629: No bfd.h/libbfd found, install
> binutils-dev[el]/zlib-static to gain symbol demangling
>
>                CC
> /home/caveo/20120807_work/mvlinux/tools/perf/builtin-annotate.o
>
> In file included from builtin-annotate.c:22:
>
> util/parse-options.h:86: error: redefinition of 'struct option'
>
> In file included from builtin-annotate.c:26:
>
> util/hist.h:119: fatal error: newt.h: No such file or directory
> compilation terminated.
> make: *** [/home/caveo/20120807_work/mvlinux/tools/perf/builtin-annotate.o]
> Error 1
>
> }}}
>
> Thanks for your help in advance.
>
> Regards
> koteswararao

  reply	other threads:[~2012-08-16  0:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-14  3:00 Perf tool cross build issue Koteswararao Nelakurthi
2012-08-16  0:31 ` Namhyung Kim [this message]
2012-08-16  3:17   ` Koteswararao Nelakurthi
2012-08-20 14:08     ` Arnaldo Carvalho de Melo
2012-08-16  1:31 ` David Ahern
2013-10-23  9:00   ` Compile linux tool perf for Android Hiep Trinh
2015-08-10  5:21     ` shyam

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=87628joexe.fsf@sejong.aot.lge.com \
    --to=namhyung@kernel.org \
    --cc=knelakurthi@mvista.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.