[Mono-list] Problem building mono --with-gc=included on Cygwin

Giovanni Zito gzito@mbox.thunder.it
Tue, 30 Dec 2003 23:48:19 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0007_01C3CF2F.66F06930
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I'm trying to building mono 0.29 on Cygwin,  starting from mono packaged
version.

I'm using

./configure --with-gc=3Dincluded

I'm getting the following error, while compiling libgc

gcc -DPACKAGE_NAME=3D\"libgc-mono\" -DPACKAGE_TARNAME=3D\"libgc-mono\" =
-DPACKAGE
_VERSION=3D\"6.2\" "-DPACKAGE_STRING=3D\"libgc-mono
6.2\"" -DPACKAGE_BUGREPORT=3D\"Hans_Boehm@hp.com\" =
-DGC_WIN32_THREADS=3D1 -DNO_G
ETENV=3D1 -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 =
-DHAVE_SYS_STASIGNALS=3D1 -DNO_E
XECUTE_PERMISSION=3D1 -DJAVA_FINALIZATION=3D1 -DGC_GCJ_SUPPORT=3D1 =
-DATOMIC_UNCOLL
ECTABLE=3D1 -D_IN_LIBGC=3D1 -I./include -I./include -fexceptions -g -O2 =
-fexcept
ions -c misc.c -Wp,-MD,.deps/misc.TPlo  -DDLL_EXPORT -DPIC -o =
.libs/misc.lo
misc.c:51: `PTHREAD_MUTEX_INITIALIZER' undeclared here (not in a =
function)



Any kind of help will be appreciated.

G.Z.

------=_NextPart_000_0007_01C3CF2F.66F06930
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" =
size=3D3>I'm trying to=20
building mono 0.29 on Cygwin,&nbsp; starting from mono=20
packaged<BR>version.<BR><BR>I'm using<BR><BR>./configure=20
--with-gc=3Dincluded<BR><BR>I'm getting the following error, while =
compiling=20
libgc<BR><BR>gcc -DPACKAGE_NAME=3D\"libgc-mono\" =
-DPACKAGE_TARNAME=3D\"libgc-mono\"=20
-DPACKAGE<BR>_VERSION=3D\"6.2\" =
"-DPACKAGE_STRING=3D\"libgc-mono<BR>6.2\""=20
-DPACKAGE_BUGREPORT=3D\"<A=20
href=3D"mailto:Hans_Boehm@hp.com\">Hans_Boehm@hp.com\</A>" =
-DGC_WIN32_THREADS=3D1=20
-DNO_G<BR>ETENV=3D1 -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 =
-DHAVE_SYS_STASIGNALS=3D1=20
-DNO_E<BR>XECUTE_PERMISSION=3D1 -DJAVA_FINALIZATION=3D1 =
-DGC_GCJ_SUPPORT=3D1=20
-DATOMIC_UNCOLL<BR>ECTABLE=3D1 -D_IN_LIBGC=3D1 -I./include -I./include =
-fexceptions=20
-g -O2 -fexcept<BR>ions -c misc.c -Wp,-MD,.deps/misc.TPlo&nbsp; =
-DDLL_EXPORT=20
-DPIC -o .libs/misc.lo<BR>misc.c:51: `PTHREAD_MUTEX_INITIALIZER' =
undeclared here=20
(not in a function)<BR><BR><BR><BR>Any kind of help will be=20
appreciated.<BR><BR>G.Z.<BR></FONT></FONT></DIV></FONT></DIV></BODY></HTM=
L>

------=_NextPart_000_0007_01C3CF2F.66F06930--