From: chandraiah g. <cha...@gm...> - 2009-06-04 03:44:49
|
Hi, I am facing the following error while compiling oprofile-0.9.4 for arm. The logs are pasted below. Could any one help me to resolve this problem? [root@localhost oprofile-0.9.4]# ./configure --host=arm-linux --with-kernel-support 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 arm-linux-strip... arm-linux-strip checking for arm-linux-ranlib... arm-linux-ranlib checking build system type... i686-pc-linux-gnu checking host system type... arm-unknown-linux-gnu checking for style of include used by make... GNU checking for arm-linux-gcc... arm-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 arm-linux-gcc accepts -g... yes checking for arm-linux-gcc option to accept ISO C89... none needed checking dependency style of arm-linux-gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ld used by arm-linux-gcc... /usr/local/arm/4.2.2-eabi/usr/arm-unknown-linux-gnueabi/bin/ld checking if the linker (/usr/local/arm/4.2.2-eabi/usr/arm-unknown-linux-gnueabi/bin/ld) is GNU ld... yes checking for /usr/local/arm/4.2.2-eabi/usr/arm-unknown-linux-gnueabi/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/local/arm/4.2.2-eabi/usr/bin//arm-linux-nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... arm-linux-gcc -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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for arm-linux-g++... arm-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether arm-linux-g++ accepts -g... yes checking dependency style of arm-linux-g++... gcc3 checking how to run the C++ preprocessor... arm-linux-g++ -E checking for arm-linux-g77... no checking for arm-linux-xlf... no checking for arm-linux-f77... no checking for arm-linux-frt... no checking for arm-linux-pgf77... no checking for arm-linux-cf77... no checking for arm-linux-fort77... no checking for arm-linux-fl32... no checking for arm-linux-af77... no checking for arm-linux-xlf90... no checking for arm-linux-f90... no checking for arm-linux-pgf90... no checking for arm-linux-pghpf... no checking for arm-linux-epcf90... no checking for arm-linux-gfortran... no checking for arm-linux-g95... no checking for arm-linux-xlf95... no checking for arm-linux-f95... no checking for arm-linux-fort... no checking for arm-linux-ifort... no checking for arm-linux-ifc... no checking for arm-linux-efc... no checking for arm-linux-pgf95... no checking for arm-linux-lf95... no checking for arm-linux-ftn... no checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... gfortran configure: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to aut...@gn.... checking whether we are using the GNU Fortran 77 compiler... yes checking whether gfortran accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/local/arm/4.2.2-eabi/usr/bin//arm-linux-nm -B output from arm-linux-gcc object... ok checking for objdir... .libs checking for arm-linux-ar... arm-linux-ar checking for arm-linux-ranlib... (cached) arm-linux-ranlib checking for arm-linux-strip... (cached) arm-linux-strip checking if arm-linux-gcc supports -fno-rtti -fno-exceptions... no checking for arm-linux-gcc option to produce PIC... -fPIC checking if arm-linux-gcc PIC flag -fPIC works... yes checking if arm-linux-gcc static flag -static works... yes checking if arm-linux-gcc supports -c -o file.o... yes checking whether the arm-linux-gcc linker (/usr/local/arm/4.2.2-eabi/usr/arm-unknown-linux-gnueabi/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by arm-linux-g++... /usr/local/arm/4.2.2-eabi/usr/arm-unknown-linux-gnueabi/bin/ld checking if the linker (/usr/local/arm/4.2.2-eabi/usr/arm-unknown-linux-gnueabi/bin/ld) is GNU ld... yes checking whether the arm-linux-g++ linker (/usr/local/arm/4.2.2-eabi/usr/arm-unknown-linux-gnueabi/bin/ld) supports shared libraries... yes checking for arm-linux-g++ option to produce PIC... -fPIC checking if arm-linux-g++ PIC flag -fPIC works... yes checking if arm-linux-g++ static flag -static works... yes checking if arm-linux-g++ supports -c -o file.o... yes checking whether the arm-linux-g++ linker (/usr/local/arm/4.2.2-eabi/usr/arm-unknown-linux-gnueabi/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for gfortran option to produce PIC... -fPIC checking if gfortran PIC flag -fPIC works... yes checking if gfortran static flag -static works... yes checking if gfortran supports -c -o file.o... yes checking whether the gfortran linker (/usr/local/arm/4.2.2-eabi/usr/arm-unknown-linux-gnueabi/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for arm-linux-gcc... (cached) arm-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether arm-linux-gcc accepts -g... (cached) yes checking for arm-linux-gcc option to accept ISO C89... (cached) none needed checking dependency style of arm-linux-gcc... (cached) gcc3 checking how to run the C preprocessor... arm-linux-gcc -E checking whether we are using the GNU C++ compiler... (cached) yes checking whether arm-linux-g++ accepts -g... (cached) yes checking dependency style of arm-linux-g++... (cached) gcc3 checking for ld... /usr/local/arm/4.2.2-eabi/usr/arm-unknown-linux-gnueabi/bin/ld checking for kernel OProfile support... yes checking whether malloc attribute is understood... no checking whether __builtin_expect is understood... yes checking for sched_setaffinity... yes checking for perfmonctl... no checking for poptGetContext in -lpopt... 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 * -- Thanks and regards, Chandraiah |