【问题标题】:how to compile mono source code [duplicate]如何编译单声道源代码[重复]
【发布时间】:2013-12-10 10:40:31
【问题描述】:

我正在尝试用centos 5.10 编译Mono 3.2.5 的源代码。 跟随增益错误。

../../mono/utils/atomic.h:56: more undefined references to '__sync_val_compare_and_swap_4' follow collect2: id returned 1 exit status
make[3]: [pedump] error 1
make[3]: Leaving directory '/tmp/mono-3.2.5/mono/metadata'
make[2]: 
[all-recursive] Error 1

【问题讨论】:

  • 我正在使用 gcc 4.1.2。我会安装单声道 3.0 谢谢

标签: c# linux gcc mono centos


【解决方案1】:

请按应做的去做。 稍作搜索/和/或检查,代码完成告诉你什么,会发现这一点: undefined reference to `__sync_val_compare_and_swap_4' error at compilation, using gcc 4.1.1 and 4.2.0 for Sparc v8 target

【讨论】:

    猜你喜欢
    • 2015-12-01
    • 2013-02-03
    • 2017-10-04
    • 1970-01-01
    • 2012-07-20
    • 2015-04-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多