2011-04-14 07:00:32     Error while enabling oprofile

Document created by Aaronwu Employee on Aug 26, 2013
Version 1Show Document
  • View in full screen mode

2011-04-14 07:00:32     Error while enabling oprofile

Mahalakshmi M (INDIA)

Message: 99844   


I am working with 2009R1-RC1. I am trying to enable the oprofile . i have enabled the following options in the kernel.


General setup  --->

  [*] Profiling support (EXPERIMENTAL)

  <*> OProfile system profiling (EXPERIMENTAL)  Miscellaneous Applications  --->

  [*] oprofile


But While building i am getting "xgettext... configure: error:" please find the log below.


checking for libintl.h... no

checking mcheck.h usability... no

checking mcheck.h presence... no

checking for mcheck.h... no

checking for unistd.h... (cached) yes

checking langinfo.h usability... yes

checking langinfo.h presence... yes

checking for langinfo.h... yes

checking for GNU xgettext... configure: error:

  *** GNU gettext is required. The latest version

  *** is always available from ftp://ftp.gnu.org/gnu/gettext/.

make[3]: *** [build-popt-1.13/Makefile] Error 1

make[3]: Leaving directory `/home/raghavan/AD004/distribution/uClinux-dist-2009R1-RC1-AD004_V1.1_IR/lib/popt'

make[2]: *** [popt] Error 2

make[2]: Leaving directory `/home/raghavan/AD004/distribution/uClinux-dist-2009R1-RC1-AD004_V1.1_IR/lib'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/home/raghavan/AD004/distribution/uClinux-dist-2009R1-RC1-AD004_V1.1_IR/lib'

make: *** [subdirs] Error 1



Is there any other option to be enabled along with this? Please provide ur views on this.








2011-04-14 13:17:08     Re: Error while enabling oprofile

Mike Frysinger (UNITED STATES)

Message: 99852   


please read the documentation.  you havent installed all the required packages on your host system.