[Mono-list] mono-build-w32.sh problems

John BouAntoun John.BouAntoun@rogen.com.au
Wed, 5 Feb 2003 21:57:33 +1100


This is a multi-part message in MIME format.

------_=_NextPart_001_01C2CD05.62778908
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

so after applying the following changes to the gc.h file
from:

#if defined(WIN32_THREADS)
#    define GC_WIN32_THREADS
#endif

to:

#if defined(WIN32_THREADS)
# ifndef GC_WIN32_THREADS
#    define GC_WIN32_THREADS
# endif
#endif

I ran the shell script and it went away for 5 minutes or so, and finally =
came back with this:


c'
./.libs/libmetadata.al(domain.lo)(.text+0x3f9):/monocvs/mono/mono/metadat=
a/domai
n.c:173: undefined reference to `_imp__GC_register_finalizer'
../utils/.libs/libmonoutils.al(mono-hash.lo.b)(.text+0x39): In function =
`mono_g_
hash_table_new_full':
/monocvs/mono/mono/utils/mono-hash.c:152: undefined reference to =
`_imp__GC_mallo
c'
../utils/.libs/libmonoutils.al(mono-hash.lo.b)(.text+0xa1):/monocvs/mono/=
mono/ut
ils/mono-hash.c:163: undefined reference to `_imp__GC_malloc'
../utils/.libs/libmonoutils.al(mono-hash.lo.b)(.text+0xd78): In function =
`g_hash
_table_resize':
/monocvs/mono/mono/utils/mono-hash.c:606: undefined reference to =
`_imp__GC_mallo
c'
../utils/.libs/libmonoutils.al(mono-hash.lo.b)(.text+0xe7e): In function =
`g_hash
_node_new':
/monocvs/mono/mono/utils/mono-hash.c:645: undefined reference to =
`_imp__GC_mallo
c'
make[3]: *** [pedump.exe] Error 1
make[3]: Leaving directory `/monocvs/mono/mono/metadata'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/monocvs/mono/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/monocvs/mono'
make: *** [all-recursive-am] Error 2

any help here would be much appreciated

JBA

------_=_NextPart_001_01C2CD05.62778908
Content-Type: text/html;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DWindows-1252">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.0.5770.91">
<TITLE>mono-build-w32.sh problems</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=3D2>so after applying the following changes to the gc.h =
file<BR>
from:<BR>
<BR>
#if defined(WIN32_THREADS)<BR>
#&nbsp;&nbsp;&nbsp; define GC_WIN32_THREADS<BR>
#endif<BR>
<BR>
to:<BR>
<BR>
#if defined(WIN32_THREADS)<BR>
# ifndef GC_WIN32_THREADS<BR>
#&nbsp;&nbsp;&nbsp; define GC_WIN32_THREADS<BR>
# endif<BR>
#endif<BR>
<BR>
I ran the shell script and it went away for 5 minutes or so, and finally =
came back with this:<BR>
<BR>
<BR>
c'<BR>
./.libs/libmetadata.al(domain.lo)(.text+0x3f9):/monocvs/mono/mono/metadat=
a/domai<BR>
n.c:173: undefined reference to `_imp__GC_register_finalizer'<BR>
../utils/.libs/libmonoutils.al(mono-hash.lo.b)(.text+0x39): In function =
`mono_g_<BR>
hash_table_new_full':<BR>
/monocvs/mono/mono/utils/mono-hash.c:152: undefined reference to =
`_imp__GC_mallo<BR>
c'<BR>
../utils/.libs/libmonoutils.al(mono-hash.lo.b)(.text+0xa1):/monocvs/mono/=
mono/ut<BR>
ils/mono-hash.c:163: undefined reference to `_imp__GC_malloc'<BR>
../utils/.libs/libmonoutils.al(mono-hash.lo.b)(.text+0xd78): In function =
`g_hash<BR>
_table_resize':<BR>
/monocvs/mono/mono/utils/mono-hash.c:606: undefined reference to =
`_imp__GC_mallo<BR>
c'<BR>
../utils/.libs/libmonoutils.al(mono-hash.lo.b)(.text+0xe7e): In function =
`g_hash<BR>
_node_new':<BR>
/monocvs/mono/mono/utils/mono-hash.c:645: undefined reference to =
`_imp__GC_mallo<BR>
c'<BR>
make[3]: *** [pedump.exe] Error 1<BR>
make[3]: Leaving directory `/monocvs/mono/mono/metadata'<BR>
make[2]: *** [all-recursive] Error 1<BR>
make[2]: Leaving directory `/monocvs/mono/mono'<BR>
make[1]: *** [all-recursive] Error 1<BR>
make[1]: Leaving directory `/monocvs/mono'<BR>
make: *** [all-recursive-am] Error 2<BR>
<BR>
any help here would be much appreciated<BR>
<BR>
JBA</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C2CD05.62778908--