10

After building for almost half an hour I get the following error. No amount of googling has helped so far...

In file included from external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/phash.c:2:
external/chromium_org/third_party/yasm/source/patched-yasm/util.h:78:23: error: libintl.h: No such file or directory
make: *** [out/host/darwin-x86/obj/STATIC_LIBRARIES/third_party_yasm_genperf_libs_host_gyp_intermediates/third_party/yasm/source/patched-yasm/libyasm/phash.o] Error 1
make: *** Waiting for unfinished jobs....
Frohnzie
  • 3,559
  • 1
  • 21
  • 24
Bachalo
  • 6,965
  • 27
  • 95
  • 189
  • What lunch option / device are you building for? Also what version of android are you building on? – Andrew T. Jan 20 '14 at 17:43
  • in this case just the X86 emulator aosp_x86_64-eng Kitkat 4.4.2 – Bachalo Jan 21 '14 at 03:01
  • if I target aosp_arm-eng it compiles fine no errors – Bachalo Jan 21 '14 at 04:09
  • Obviously, libintl.h is missing. You may want to see this SO post: http://stackoverflow.com/a/11370808/1172181. – Luis Jan 25 '14 at 15:21
  • Apparently, if you install GNU gettext, it should fix your error as as the header file would be installed. See: https://www.gnu.org/software/gnulib/manual/html_node/libintl_002eh.html – Luis Jan 25 '14 at 15:30
  • It is possible that the sources of Android are not completely synchronized. Try to resync the sources and build them once again (I faced once with such type of error and this receipt helped me) – Yury Feb 04 '14 at 13:40
  • Thanks for the replies. Will let everyone know which solution works – Bachalo Feb 04 '14 at 17:46

1 Answers1

-1

It seems like you're missing the header file you've implemented into your app. Maybe this is the Util.h file you'll need https://android.googlesource.com/platform/external/chromium_org/third_party/yasm/source/patched-yasm/+/3c5fb45a0ef38ca08793c28dad3cf5be29b25f7f/util.h

Handoko
  • 191
  • 1
  • 2
  • 7