Dear Perf developers,
I am trying to cross compile Perf source present in 2.6.35/tools/perf 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
Makefile
Description: Binary data