免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3645 | 回复: 6
打印 上一主题 下一主题

FreeBSD 7.0中编译安装 MONO-2.0出现错误,ports安装也失败 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-08-27 11:22 |只看该作者 |倒序浏览
具体错误出现在最后,内容如下

./.libs/libmonoruntime.a(reflection.o)(.text+0xd7d0): In function `create_dynamic_mono_image':
/usr/downloads/mono-2.0/mono/metadata/reflection.c:4557: undefined reference to `GC_local_malloc'
./.libs/libmonoruntime.a(reflection.o)(.text+0xe50: In function `mono_image_basic_init':
/usr/downloads/mono-2.0/mono/metadata/reflection.c:4719: undefined reference to `GC_local_malloc'
./.libs/libmonoruntime.a(object.o)(.text+0x13e3): In function `mono_object_new_ptrfree_box':
/usr/downloads/mono-2.0/mono/metadata/object.c:3379: undefined reference to `GC_local_malloc_atomic'
./.libs/libmonoruntime.a(object.o)(.text+0x1414): In function `mono_object_new_ptrfree':
/usr/downloads/mono-2.0/mono/metadata/object.c:3355: undefined reference to `GC_local_malloc_atomic'
./.libs/libmonoruntime.a(object.o)(.text+0x14a6): In function `mono_object_new_fast':
/usr/downloads/mono-2.0/mono/metadata/object.c:3347: undefined reference to `GC_local_gcj_malloc'
./.libs/libmonoruntime.a(object.o)(.text+0x14d9): In function `mono_object_new_alloc_specific':
/usr/downloads/mono-2.0/mono/metadata/object.c:3260: undefined reference to `GC_local_gcj_malloc'
./.libs/libmonoruntime.a(object.o)(.text+0x151e):/usr/downloads/mono-2.0/mono/metadata/object.c:3235: undefined reference to `GC_local_malloc'
./.libs/libmonoruntime.a(object.o)(.text+0x5b2a): In function `mono_array_new_full':
/usr/downloads/mono-2.0/mono/metadata/object.c:3260: undefined reference to `GC_local_gcj_malloc'
./.libs/libmonoruntime.a(object.o)(.text+0x5bec):/usr/downloads/mono-2.0/mono/metadata/object.c:3252: undefined reference to `GC_local_malloc_atomic'
./.libs/libmonoruntime.a(object.o)(.text+0x5c7f):/usr/downloads/mono-2.0/mono/metadata/object.c:3235: undefined reference to `GC_local_malloc'
./.libs/libmonoruntime.a(object.o)(.text+0x5e87): In function `mono_object_clone':
/usr/downloads/mono-2.0/mono/metadata/object.c:3235: undefined reference to `GC_local_malloc'
./.libs/libmonoruntime.a(object.o)(.text+0x5f2b): In function `mono_string_new_size':
/usr/downloads/mono-2.0/mono/metadata/object.c:3252: undefined reference to `GC_local_malloc_atomic'
./.libs/libmonoruntime.a(object.o)(.text+0x6969): In function `mono_array_new_specific':
/usr/downloads/mono-2.0/mono/metadata/object.c:3260: undefined reference to `GC_local_gcj_malloc'
./.libs/libmonoruntime.a(object.o)(.text+0x69d2):/usr/downloads/mono-2.0/mono/metadata/object.c:3252: undefined reference to `GC_local_malloc_atomic'
./.libs/libmonoruntime.a(object.o)(.text+0x6a1b):/usr/downloads/mono-2.0/mono/metadata/object.c:3235: undefined reference to `GC_local_malloc'
./.libs/libmonoruntime.a(boehm-gc.o)(.text+0x175): In function `mono_gc_alloc_fixed':
/usr/downloads/mono-2.0/mono/metadata/boehm-gc.c:343: undefined reference to `GC_local_malloc'
./.libs/libmonoruntime.a(boehm-gc.o)(.text+0x2a5): In function `mono_gc_is_gc_thread':
/usr/downloads/mono-2.0/mono/metadata/boehm-gc.c:184: undefined reference to `GC_thread_is_registered'
./.libs/libmonoruntime.a(boehm-gc.o)(.text+0x2d9): In function `mono_gc_register_thread':
/usr/downloads/mono-2.0/mono/metadata/boehm-gc.c:217: undefined reference to `GC_thread_register_foreign'
../utils/.libs/libmonoutils.a(mono-hash.o)(.text+0x4ea): In function `g_hash_table_resize':
/usr/downloads/mono-2.0/mono/utils/mono-hash.c:724: undefined reference to `GC_local_malloc'
../utils/.libs/libmonoutils.a(mono-hash.o)(.text+0x787): In function `mono_g_hash_table_new_full':
/usr/downloads/mono-2.0/mono/utils/mono-hash.c:188: undefined reference to `GC_local_malloc'
../utils/.libs/libmonoutils.a(mono-hash.o)(.text+0x7c:/usr/downloads/mono-2.0/mono/utils/mono-hash.c:199: undefined reference to `GC_local_malloc'
../utils/.libs/libmonoutils.a(mono-hash.o)(.text+0xb73): In function `mono_g_hash_table_replace':
/usr/downloads/mono-2.0/mono/utils/mono-hash.c:339: undefined reference to `GC_local_malloc'
../utils/.libs/libmonoutils.a(mono-hash.o)(.text+0xf4e): In function `mono_g_hash_table_insert':
/usr/downloads/mono-2.0/mono/utils/mono-hash.c:339: undefined reference to `GC_local_malloc'
gmake[3]: *** [pedump] Error 1
gmake[3]: Leaving directory `/usr/downloads/mono-2.0/mono/metadata'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/downloads/mono-2.0/mono'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/downloads/mono-2.0'
gmake: *** [all] Error 2

不明白是什么地方出错误,一开始运行 configure的时候提示i386-unknown-freebsd7.0,还以为是这里问题,加了参数 --build=i386-bsd,依然没有解决。

高手指点一二

论坛徽章:
26
处女座
日期:2016-04-18 14:00:4515-16赛季CBA联赛之深圳
日期:2020-06-02 10:10:5015-16赛季CBA联赛之广夏
日期:2019-07-23 16:59:452016科比退役纪念章
日期:2019-06-26 16:59:1315-16赛季CBA联赛之天津
日期:2019-05-28 14:25:1915-16赛季CBA联赛之青岛
日期:2019-05-16 10:14:082016科比退役纪念章
日期:2019-01-11 14:44:062016科比退役纪念章
日期:2018-07-18 16:17:4015-16赛季CBA联赛之上海
日期:2017-08-22 18:18:5515-16赛季CBA联赛之江苏
日期:2017-08-04 17:00:4715-16赛季CBA联赛之佛山
日期:2017-02-20 18:21:1315-16赛季CBA联赛之天津
日期:2016-12-12 10:44:23
2 [报告]
发表于 2008-08-28 12:21 |只看该作者
pkg 包安装呢?

论坛徽章:
0
3 [报告]
发表于 2008-09-04 01:31 |只看该作者
我是从mono project站点下载的源代码,编译的时候就出现了这些问题。

[ 本帖最后由 jfox 于 2008-9-4 01:32 编辑 ]

论坛徽章:
0
4 [报告]
发表于 2008-09-17 10:43 |只看该作者
实在搞不定,改用OpenSUSE了,他们一家人好弄得很。

论坛徽章:
2
亥猪
日期:2014-03-19 16:36:35午马
日期:2014-11-23 23:48:46
5 [报告]
发表于 2008-09-17 10:57 |只看该作者
http://blog.csdn.net/solaris1/archive/2007/10/12/1821534.aspx

搜索一下呗,配置的时候加个 --with-tls=pthread ,只知道抱怨的话,mono-developer也帮不了你。

论坛徽章:
0
6 [报告]
发表于 2008-12-31 21:03 |只看该作者
楼主的问题解决没,我遇到相同问题:em11:

论坛徽章:
0
7 [报告]
发表于 2009-02-02 23:17 |只看该作者
呵呵,我编译安装mono 2.2已经通过了
现在我已经通过ports合并更新到mono 2.4了

http://monodev.5d6d.com/thread-11-1-1.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP