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 -- To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html