[Mono-devel-list] runtime build got broken under windows

Atsushi Eno atsushi at ximian.com
Thu Sep 2 13:06:32 EDT 2004


Hello,

Today I tried mono runtime build on windows as usual, but it
failed under mono/metadata:

/bin/bash ../../libtool --mode=link gcc -mno-cygwin -g -O -I
/opt/gnome2.4.1/include -fno-strict-aliasing -g -Wall -Wunused
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual
-Wcast-align -Wwrite-strings  -L/opt/gnome2.4.1/bin -L/usr/local/bin
 -o mono.exe  -export-dynamic -Wl,-version-script=./ldscript main.o
libmono-static.la -L/opt/gnome2.4.1/lib -lgthread-2.0 -lglib-2.0 -lintl
-liconv   -L/opt/gnome2.4.1/lib -lgmodule-2.0 -lglib-2.0 -lintl -liconv
  -lm -L/opt/gnome2.4.1/lib -licuuc -licuin -lws2_32 -lpsapi
./.libs/libmint.a(appdomain.o)(.text+0x2005): In function
`mono_domain_unload':
/home/_/cvs/mono/mono/metadata/appdomain.c:1288: undefined reference to
`_GC_CreateThread'
./.libs/libmint.a(threads.o)(.text+0x2f4): In function `mono_thread_create':
/home/_/cvs/mono/mono/metadata/threads.c:339: undefined reference to
`_GC_CreateThread'
Info: resolving _GC_enable by linking to __imp__GC_enable (auto-import)
collect2: ld returned 1 exit status

Actually, there were many traps to reach here.

First, I had to specify "--with-gc=boehm" which had not been
required until a few days ago. Now it rejects conf_flags written in
autogen.sh[*1], and when I removed them, it started to complain
variable names[*2]. With the option above, I could build and run
mono for a few recent days.

Second, today's "make" failed to stop when gmake faced against the
error above. So I found this compilation error at "make install"
stage. This had not happened until today.

I haven't updated cygwin stuff since the last successful build (and
for a while). At least I made clean build yesterday.

[*1]
configure: error: invalid feature name: maintainer-mode
configure: error: /bin/bash './configure' failed for libgc

[*2]
configure: error: invalid variable name: CFLAGS

Any ideas to recover from those problems?

Thanks,
Atsushi Eno




More information about the Mono-devel-list mailing list