0

我正在尝试在 Mac - Yosemite (10.10.5) 上构建 B2G,并且我有多个版本的 Xcode 4.6.3、5.0.2、6.4 和 7(beta 5)。我遵循 Mozilla 文档(https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Preparing_for_your_first_B2G_build

终端:(已安装 autoconf (GNU Autoconf) 2.69)

  1. 克隆源代码:git clone git://github.com/mozilla-b2g/B2G.git
  2. 命令按照 Mozilla 文档运行:运行 ./config.sh 模拟器
    b。运行 ./build.sh -j1

之后我收到此错误:

host C++: aapt <= frameworks/base/tools/aapt/AaptAssets.cpp
couldn't understand kern.osversion `14.5.0'
In file included from frameworks/base/include/utils/Asset.h:24,
                 from frameworks/base/include/utils/AssetManager.h:23,
                 from frameworks/base/tools/aapt/AaptAssets.h:10,
                 from frameworks/base/tools/aapt/AaptAssets.cpp:5:
/usr/include/stdio.h:224:2: error: #error "_DARWIN_UNLIMITED_STREAMS specified, but -mmacosx-version-min version does not support it."
make: *** [out/host/darwin-x86/obj/EXECUTABLES/aapt_intermediates/AaptAssets.o] Error 1

real    0m47.189s
user    0m8.377s
sys 0m7.157s

> Build failed! <

Build with |./build.sh -j1| for better messages
If all else fails, use |rm -rf objdir-gecko| to clobber gecko and |rm -rf out| to clobber everything else.

如需完整的控制台,请访问:https ://drive.google.com/open?id=0B8Xlqkz1LkRWdXh4S0VlaWNCZ1U并下载,请给出您的建议。

4

0 回答 0