[Mono-list] mono fails to build on windows

Guenther Roith groith@tcrz.net
Sat, 1 Jun 2002 13:56:49 +0200


make[3]: Entering directory `/cygdrive/c/mono-0.10/mono/mono/metadata'
source='sysmath.c' object='sysmath.o' libtool=no \
depfile='.deps/sysmath.Po' tmpdepfile='.deps/sysmath.TPo' \
depmode=gcc /bin/sh ../../depcomp \
gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../.. -Ic:/mono-0.10/install/inclu
de/g
lib-2.0 -Ic:/mono-0.10/install/lib/glib-2.0/include   -Ic:/mono-0.10/install
/inc
lude/glib-2.0 -Ic:/mono-0.10/install/lib/glib-2.0/include   -I../..     -I..
/../
mono -DMONO_ASSEMBLIES=\""c:/mono-0.10/install/lib"\"             -I/cygdriv
e/c/
mono-0.10/install/include -Id:/unix/usr/include/mingw -I/cygdrive/c/mono-0.1
0/li
bgc/include -Id:/unix/usr/include/w32api  -g -Wall -Wunused -Wmissing-protot
ypes
 -Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes -Wnested-e
xter
ns -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -mno-cygwin -
c `t
est -f sysmath.c || echo './'`sysmath.c
In file included from c:/mono-0.10/install/include/glib-2.0/glib.h:48,
                 from ../../mono/metadata/sysmath.h:14,
                 from sysmath.c:5:
c:/mono-0.10/install/include/glib-2.0/glib/gmarkup.h:43: warning: function
decla
ration isn't a prototype
sysmath.c: In function `ves_icall_System_Math_Acos':
sysmath.c:47: `NAN' undeclared (first use in this function)
sysmath.c:47: (Each undeclared identifier is reported only once
sysmath.c:47: for each function it appears in.)
sysmath.c: In function `ves_icall_System_Math_Asin':
sysmath.c:56: `NAN' undeclared (first use in this function)
sysmath.c: In function `ves_icall_System_Math_Log':
sysmath.c:85: `NAN' undeclared (first use in this function)
sysmath.c: In function `ves_icall_System_Math_Log10':
sysmath.c:96: `NAN' undeclared (first use in this function)
sysmath.c: In function `ves_icall_System_Math_Sqrt':
sysmath.c:111: `NAN' undeclared (first use in this function)
make[3]: *** [sysmath.o] Error 1
make[3]: Leaving directory `/cygdrive/c/mono-0.10/mono/mono/metadata'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/cygdrive/c/mono-0.10/mono/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/mono-0.10/mono'
make: *** [all] Error 2