Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Oct 2007 15:34:49 GMT
From:      Ralph Zitz <ralph@imada.sdu.dk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/117376: Mono does not compile
Message-ID:  <200710211534.l9LFYnlD081288@www.freebsd.org>
Resent-Message-ID: <200710211540.l9LFe1wA015340@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         117376
>Category:       ports
>Synopsis:       Mono does not compile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 21 15:40:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Ralph Zitz
>Release:        FreeBSD 8.0
>Organization:
SDU
>Environment:
FreeBSD mobile.zitz.dk 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Tue Oct 16 19:20:11 CEST 2007 root@mobile.zitz.dk:/usr/obj/usr/src/sys/mobile  i386
>Description:
mono-1.2.3.1 does not compile.

The compile fails with the following error:

cc -O -O2 -fno-strict-aliasing -pipe -march=prescott -fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -mno-tls-direct-seg-refs -o pedump pedump.o -pthread -Wl,--export-dynamic -pthread  ./.libs/libmonoruntime.a ../io-layer/.libs/libwapi.a ../utils/.libs/libmonoutils.a ../../libgc/.libs/libmonogc.a -L/usr/local/lib /usr/local/lib/libgthread-2.0.so /usr/local/lib/libgmodule-2.0.so /usr/local/lib/libglib-2.0.so /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -pthread -lm   -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
./.libs/libmonoruntime.a(boehm-gc.o)(.text+0x1d5): In function `mono_gc_is_gc_thread':
/usr/ports/lang/mono/work/mono-1.2.3.1/mono/metadata/boehm-gc.c:97: undefined reference to `GC_thread_is_registered'
./.libs/libmonoruntime.a(boehm-gc.o)(.text+0x20c): In function `mono_gc_register_thread':
/usr/ports/lang/mono/work/mono-1.2.3.1/mono/metadata/boehm-gc.c:109: undefined reference to `GC_thread_register_foreign'
gmake[3]: *** [pedump] Error 1
gmake[3]: Leaving directory `/usr/ports/lang/mono/work/mono-1.2.3.1/mono/metadata'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/lang/mono/work/mono-1.2.3.1/mono'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/lang/mono/work/mono-1.2.3.1'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/lang/mono.
>How-To-Repeat:
Compile mono
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710211534.l9LFYnlD081288>