【问题标题】:SpiderMonkey Build Configure Error "configure: error: Your C and C++ compilers are different..."SpiderMonkey 构建配置错误“配置:错误:您的 C 和 C++ 编译器不同......”
【发布时间】:2016-05-04 18:17:04
【问题描述】:

命令:
mozjs-38.0.0/js/src/build_DBG.OBJ$ ../configure --enable-debug --disable-optimize

输出:
... configure:3223: checking for windres configure: error: Your C and C++ compilers are different. You need to use the same compiler.

gcc 和 g++ 版本是 4.9.3。Clang 版本是 3.6.0-2。

如何解决这个问题?谢谢!

【问题讨论】:

  • 我认为你需要更新你的 gcc 和 g++。

标签: firefox compiler-errors spidermonkey


【解决方案1】:

通过将“/usr/bin/c++”从“/etc/alternatives/c++”链接到当前使用的g++来解决。

【讨论】:

    猜你喜欢
    • 2018-06-08
    • 2013-09-24
    • 2012-05-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-04-12
    • 1970-01-01
    • 2012-10-02
    相关资源
    最近更新 更多