Hi All, I am trying to cross compile oprofile for mips. I get an error: configure: error: bfd library not found when configuring. Has anyone faced a similar problem during cross compilation. ? Thanks in advance, Mayuresh. mayuresh@89:~/malta/oprofile/oprofile-0.9.1-source >./configure --host=mips-linux --target=mips-linux --with-linux=/home/mayuresh/malta/oprofile/linux-2.6.16.12/ --with-kernel-support --with-extra-libs=/home/mayuresh/malta/rootfs/lib/ configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for mips-linux-strip... mips-linux-strip checking for mips-linux-ranlib... mips-linux-ranlib checking for mips-linux-gcc... mips-linux-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether mips-linux-gcc accepts -g... yes checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for mips-linux-strip... mips-linux-strip checking for mips-linux-ranlib... mips-linux-ranlib checking for mips-linux-gcc... mips-linux-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether mips-linux-gcc accepts -g... yes checking for mips-linux-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of mips-linux-gcc... gcc3 checking how to run the C preprocessor... mips-linux-gcc -E checking for mips-linux-g++... mips-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether mips-linux-g++ accepts -g... yes checking dependency style of mips-linux-g++... gcc3 checking for ld... ld checking for kernel OProfile support... yes checking whether malloc attribute is understood... yes checking whether __builtin_expect is understood... yes checking for sched_setaffinity... no checking for perfmonctl... no checking for poptGetContext in -lpopt... yes checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking libiberty.h usability... no checking libiberty.h presence... no checking for libiberty.h... no checking for cplus_demangle in -liberty... yes checking for xcalloc... yes checking for xmemdup... yes checking for dlopen in -ldl... yes checking for main in -lintl... no checking for bfd_openr in -lbfd... no configure: error: bfd library not found