【发布时间】:2014-02-07 04:31:29
【问题描述】:
构建近半小时后,我收到以下错误。到目前为止,谷歌搜索没有任何帮助......
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....
【问题讨论】:
-
您要为什么午餐选项/设备构建?还有你在构建什么版本的android?
-
在这种情况下只是 X86 模拟器 aosp_x86_64-eng Kitkat 4.4.2
-
如果我以 aosp_arm-eng 为目标,它编译得很好,没有错误
-
很明显,缺少 libintl.h。您可能希望看到这个 SO 帖子:stackoverflow.com/a/11370808/1172181.
-
显然,如果您安装 GNU gettext,它应该会修复您的错误,因为将安装头文件。见:gnu.org/software/gnulib/manual/html_node/libintl_002eh.html
标签: android macos makefile android-source