[Mono-list] Error running mono-build-w32.sh

Kenneth Benson sdhmis@sheratondover.com
Fri, 26 Jul 2002 17:43:35 -0400


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C234ED.7EBA0950
Content-Type: text/plain;
	charset="iso-8859-1"

I'm getting the following error when running mono-build-w32.sh. I'm running
on a win2000 pro PC with cygwin and VS.net release version installed. Can
anyone figure out what's going wrong?

----start of error text----

make[3]: Entering directory `/home/mis/mono/mono/interpreter'
source='interp.c' object='interp.o' libtool=no \
depfile='.deps/interp.Po' tmpdepfile='.deps/interp.TPo' \
depmode=gcc /bin/bash ../../depcomp \
gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../.. -I../..
-ID:/cygwin/home/mis/ins
tall/include/glib-2.0 -ID:/cygwin/home/mis/install/lib/glib-2.0/include
-ID:/c
ygwin/home/mis/install/include/glib-2.0
-ID:/cygwin/home/mis/install/lib/glib-2.
0/include                         -I/home/mis/install/include  -g -Wall
-Wunused
 -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
-Wmissing-prot
otypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align
-Wwrite-stri
ngs -mno-cygwin -c `test -f 'interp.c' || echo './'`interp.c
interp.c:65: warning: `isnan' redefined
/usr/include/mingw/math.h:309: warning: this is the location of the previous
def
inition
In file included from interp.c:18:
/usr/include/mingw/stdio.h:218: warning: no previous prototype for
`vsnprintf'
/usr/include/mingw/stdio.h:371: warning: no previous prototype for
`vsnwprintf'
In file included from interp.c:20:
/usr/include/mingw/stdlib.h:301: warning: no previous prototype for `strtof'
/usr/include/mingw/stdlib.h:312: warning: no previous prototype for `wcstof'
/usr/include/mingw/stdlib.h:447: warning: no previous prototype for `llabs'
In file included from D:/cygwin/home/mis/install/include/glib-2.0/glib.h:48,
                 from interp.c:21:
D:/cygwin/home/mis/install/include/glib-2.0/glib/gmarkup.h:43: warning:
function
 declaration isn't a prototype
In file included from interp.c:26:
/home/mis/install/include/gc/gc.h:203: warning: function declaration isn't a
pro
totype
/home/mis/install/include/gc/gc.h:896: warning: function declaration isn't a
pro
totype
In file included from hacks.h:5,
                 from interp.c:62:
/usr/include/mingw/math.h:268: warning: no previous prototype for
`__fpclassifyl
'
/usr/include/mingw/math.h:281: warning: no previous prototype for `__isnan'
/usr/include/mingw/math.h:290: warning: no previous prototype for `__isnanf'
/usr/include/mingw/math.h:299: warning: no previous prototype for `__isnanl'
/usr/include/mingw/math.h:316: warning: no previous prototype for
`__signbit'
/usr/include/mingw/math.h:322: warning: no previous prototype for
`__signbitf'
/usr/include/mingw/math.h:327: warning: no previous prototype for
`__signbitl'
/usr/include/mingw/math.h:358: warning: no previous prototype for
`__fp_unordere
d_compare'
/usr/include/mingw/math.h:382: warning: no previous prototype for `rint'
/usr/include/mingw/math.h:389: warning: no previous prototype for `rintf'
/usr/include/mingw/math.h:396: warning: no previous prototype for `rintl'
interp.c: In function `ves_runtime_method':
interp.c:722: warning: passing arg 1 of `mono_thread_pool_add' from
incompatible
 pointer type
interp.c: In function `ves_exec_method':
interp.c:1272: warning: int format, long int arg (arg 2)
interp.c:1277: warning: int format, long int arg (arg 2)
interp.c:1288: warning: int format, long int arg (arg 2)
interp.c:1296: warning: int format, long int arg (arg 2)
interp.c:1303: warning: int format, long int arg (arg 2)
interp.c:1311: warning: int format, long int arg (arg 2)
interp.c:1388: warning: int format, long int arg (arg 2)
interp.c:1749: warning: int format, long int arg (arg 2)
interp.c:3958: warning: unused variable `message'
interp.c:4020: warning: int format, long int arg (arg 2)
interp.c:4032: warning: passing arg 2 of `g_slist_append' discards
qualifiers fr
om pointer target type
interp.c:4088: warning: int format, long int arg (arg 2)
interp.c: At top level:
interp.c:1088: warning: `verify_method' defined but not used
/bin/bash ../../libtool --mode=link gcc -mno-cygwin  -g -Wall -Wunused
-Wmissing
-prototypes -Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes
-Wn
ested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings
-mno-c
ygwin  -L/home/mis/install/lib -o mint.exe  interp.o ../arch/libmonoarch.la
../m
etadata/libmonoruntime.la -LD:/cygwin/home/mis/install/lib -lglib-1.3
-liconv -l
intl   -Wl,--export-dynamic  -LD:/cygwin/home/mis/install/lib -lgmodule-1.3
-lgl
ib-1.3 -liconv -lintl   -lm -lgc -lws2_32
mkdir .libs
gcc -mno-cygwin -g -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations -W
strict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith
-Wno-cas
t-qual -Wcast-align -Wwrite-strings -mno-cygwin -o mint.exe interp.o
-Wl,--expor
t-dynamic  -L/home/mis/install/lib ../arch/.libs/libmonoarch.a
../metadata/.libs
/libmonoruntime.a -LD:/cygwin/home/mis/install/lib -lgmodule-1.3 -lglib-1.3
/usr
/lib/libintl.dll.a -L/usr/lib /usr/lib/libiconv.dll.a -lgc -lws2_32
interp.o: In function `ves_exec_method':
/home/mis/mono/mono/interpreter/interp.c:1940: undefined reference to
`__fp_unor
dered_compare'
/home/mis/mono/mono/interpreter/interp.c:1964: undefined reference to
`__fp_unor
dered_compare'
/home/mis/mono/mono/interpreter/interp.c:1987: undefined reference to
`__fp_unor
dered_compare'
/home/mis/mono/mono/interpreter/interp.c:2010: undefined reference to
`__fp_unor
dered_compare'
/home/mis/mono/mono/interpreter/interp.c:2033: undefined reference to
`__fp_unor
dered_compare'
collect2: ld returned 1 exit status
make[3]: *** [mint.exe] Error 1
make[3]: Leaving directory `/home/mis/mono/mono/interpreter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mis/mono/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mis/mono'
make: *** [all] Error 2

----end of error text----

Thanks for any help!

------_=_NextPart_001_01C234ED.7EBA0950
Content-Type: text/html;
	charset="iso-8859-1"
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=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>Error running mono-build-w32.sh</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>I'm getting the following error when running =
mono-build-w32.sh. I'm running on a win2000 pro PC with cygwin and =
VS.net release version installed. Can anyone figure out what's going =
wrong?</FONT></P>

<P><FONT SIZE=3D2>----start of error text----</FONT>
</P>

<P><FONT SIZE=3D2>make[3]: Entering directory =
`/home/mis/mono/mono/interpreter'</FONT>
<BR><FONT SIZE=3D2>source=3D'interp.c' object=3D'interp.o' libtool=3Dno =
\</FONT>
<BR><FONT SIZE=3D2>depfile=3D'.deps/interp.Po' =
tmpdepfile=3D'.deps/interp.TPo' \</FONT>
<BR><FONT SIZE=3D2>depmode=3Dgcc /bin/bash ../../depcomp \</FONT>
<BR><FONT SIZE=3D2>gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../.. =
-I../.. -ID:/cygwin/home/mis/ins</FONT>
<BR><FONT SIZE=3D2>tall/include/glib-2.0 =
-ID:/cygwin/home/mis/install/lib/glib-2.0/include&nbsp;&nbsp; =
-ID:/c</FONT>
<BR><FONT SIZE=3D2>ygwin/home/mis/install/include/glib-2.0 =
-ID:/cygwin/home/mis/install/lib/glib-2.</FONT>
<BR><FONT =
SIZE=3D2>0/include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp; -I/home/mis/install/include&nbsp; -g -Wall =
-Wunused</FONT>
<BR><FONT SIZE=3D2>&nbsp;-Wmissing-prototypes -Wmissing-declarations =
-Wstrict-prototypes&nbsp; -Wmissing-prot</FONT>
<BR><FONT SIZE=3D2>otypes -Wnested-externs -Wpointer-arith =
-Wno-cast-qual -Wcast-align -Wwrite-stri</FONT>
<BR><FONT SIZE=3D2>ngs -mno-cygwin -c `test -f 'interp.c' || echo =
'./'`interp.c</FONT>
<BR><FONT SIZE=3D2>interp.c:65: warning: `isnan' redefined</FONT>
<BR><FONT SIZE=3D2>/usr/include/mingw/math.h:309: warning: this is the =
location of the previous def</FONT>
<BR><FONT SIZE=3D2>inition</FONT>
<BR><FONT SIZE=3D2>In file included from interp.c:18:</FONT>
<BR><FONT SIZE=3D2>/usr/include/mingw/stdio.h:218: warning: no previous =
prototype for `vsnprintf'</FONT>
<BR><FONT SIZE=3D2>/usr/include/mingw/stdio.h:371: warning: no previous =
prototype for `vsnwprintf'</FONT>
<BR><FONT SIZE=3D2>In file included from interp.c:20:</FONT>
<BR><FONT SIZE=3D2>/usr/include/mingw/stdlib.h:301: warning: no =
previous prototype for `strtof'</FONT>
<BR><FONT SIZE=3D2>/usr/include/mingw/stdlib.h:312: warning: no =
previous prototype for `wcstof'</FONT>
<BR><FONT SIZE=3D2>/usr/include/mingw/stdlib.h:447: warning: no =
previous prototype for `llabs'</FONT>
<BR><FONT SIZE=3D2>In file included from =
D:/cygwin/home/mis/install/include/glib-2.0/glib.h:48,</FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from interp.c:21:</FONT>
<BR><FONT =
SIZE=3D2>D:/cygwin/home/mis/install/include/glib-2.0/glib/gmarkup.h:43: =
warning: function</FONT>
<BR><FONT SIZE=3D2>&nbsp;declaration isn't a prototype</FONT>
<BR><FONT SIZE=3D2>In file included from interp.c:26:</FONT>
<BR><FONT SIZE=3D2>/home/mis/install/include/gc/gc.h:203: warning: =
function declaration isn't a pro</FONT>
<BR><FONT SIZE=3D2>totype</FONT>
<BR><FONT SIZE=3D2>/home/mis/install/include/gc/gc.h:896: warning: =
function declaration isn't a pro</FONT>
<BR><FONT SIZE=3D2>totype</FONT>
<BR><FONT SIZE=3D2>In file included from hacks.h:5,</FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from interp.c:62:</FONT>
<BR><FONT SIZE=3D2>/usr/include/mingw/math.h:268: warning: no previous =
prototype for `__fpclassifyl</FONT>
<BR><FONT SIZE=3D2>'</FONT>
<BR><FONT SIZE=3D2>/usr/include/mingw/math.h:281: warning: no previous =
prototype for `__isnan'</FONT>
<BR><FONT SIZE=3D2>/usr/include/mingw/math.h:290: warning: no previous =
prototype for `__isnanf'</FONT>
<BR><FONT SIZE=3D2>/usr/include/mingw/math.h:299: warning: no previous =
prototype for `__isnanl'</FONT>
<BR><FONT SIZE=3D2>/usr/include/mingw/math.h:316: warning: no previous =
prototype for `__signbit'</FONT>
<BR><FONT SIZE=3D2>/usr/include/mingw/math.h:322: warning: no previous =
prototype for `__signbitf'</FONT>
<BR><FONT SIZE=3D2>/usr/include/mingw/math.h:327: warning: no previous =
prototype for `__signbitl'</FONT>
<BR><FONT SIZE=3D2>/usr/include/mingw/math.h:358: warning: no previous =
prototype for `__fp_unordere</FONT>
<BR><FONT SIZE=3D2>d_compare'</FONT>
<BR><FONT SIZE=3D2>/usr/include/mingw/math.h:382: warning: no previous =
prototype for `rint'</FONT>
<BR><FONT SIZE=3D2>/usr/include/mingw/math.h:389: warning: no previous =
prototype for `rintf'</FONT>
<BR><FONT SIZE=3D2>/usr/include/mingw/math.h:396: warning: no previous =
prototype for `rintl'</FONT>
<BR><FONT SIZE=3D2>interp.c: In function `ves_runtime_method':</FONT>
<BR><FONT SIZE=3D2>interp.c:722: warning: passing arg 1 of =
`mono_thread_pool_add' from incompatible</FONT>
<BR><FONT SIZE=3D2>&nbsp;pointer type</FONT>
<BR><FONT SIZE=3D2>interp.c: In function `ves_exec_method':</FONT>
<BR><FONT SIZE=3D2>interp.c:1272: warning: int format, long int arg =
(arg 2)</FONT>
<BR><FONT SIZE=3D2>interp.c:1277: warning: int format, long int arg =
(arg 2)</FONT>
<BR><FONT SIZE=3D2>interp.c:1288: warning: int format, long int arg =
(arg 2)</FONT>
<BR><FONT SIZE=3D2>interp.c:1296: warning: int format, long int arg =
(arg 2)</FONT>
<BR><FONT SIZE=3D2>interp.c:1303: warning: int format, long int arg =
(arg 2)</FONT>
<BR><FONT SIZE=3D2>interp.c:1311: warning: int format, long int arg =
(arg 2)</FONT>
<BR><FONT SIZE=3D2>interp.c:1388: warning: int format, long int arg =
(arg 2)</FONT>
<BR><FONT SIZE=3D2>interp.c:1749: warning: int format, long int arg =
(arg 2)</FONT>
<BR><FONT SIZE=3D2>interp.c:3958: warning: unused variable =
`message'</FONT>
<BR><FONT SIZE=3D2>interp.c:4020: warning: int format, long int arg =
(arg 2)</FONT>
<BR><FONT SIZE=3D2>interp.c:4032: warning: passing arg 2 of =
`g_slist_append' discards qualifiers fr</FONT>
<BR><FONT SIZE=3D2>om pointer target type</FONT>
<BR><FONT SIZE=3D2>interp.c:4088: warning: int format, long int arg =
(arg 2)</FONT>
<BR><FONT SIZE=3D2>interp.c: At top level:</FONT>
<BR><FONT SIZE=3D2>interp.c:1088: warning: `verify_method' defined but =
not used</FONT>
<BR><FONT SIZE=3D2>/bin/bash ../../libtool --mode=3Dlink gcc =
-mno-cygwin&nbsp; -g -Wall -Wunused -Wmissing</FONT>
<BR><FONT SIZE=3D2>-prototypes -Wmissing-declarations =
-Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wn</FONT>
<BR><FONT SIZE=3D2>ested-externs -Wpointer-arith -Wno-cast-qual =
-Wcast-align -Wwrite-strings -mno-c</FONT>
<BR><FONT SIZE=3D2>ygwin&nbsp; -L/home/mis/install/lib -o =
mint.exe&nbsp; interp.o ../arch/libmonoarch.la ../m</FONT>
<BR><FONT SIZE=3D2>etadata/libmonoruntime.la =
-LD:/cygwin/home/mis/install/lib -lglib-1.3 -liconv -l</FONT>
<BR><FONT SIZE=3D2>intl&nbsp;&nbsp; -Wl,--export-dynamic&nbsp; =
-LD:/cygwin/home/mis/install/lib -lgmodule-1.3 -lgl</FONT>
<BR><FONT SIZE=3D2>ib-1.3 -liconv -lintl&nbsp;&nbsp; -lm -lgc =
-lws2_32</FONT>
<BR><FONT SIZE=3D2>mkdir .libs</FONT>
<BR><FONT SIZE=3D2>gcc -mno-cygwin -g -Wall -Wunused =
-Wmissing-prototypes -Wmissing-declarations -W</FONT>
<BR><FONT SIZE=3D2>strict-prototypes -Wmissing-prototypes =
-Wnested-externs -Wpointer-arith -Wno-cas</FONT>
<BR><FONT SIZE=3D2>t-qual -Wcast-align -Wwrite-strings -mno-cygwin -o =
mint.exe interp.o -Wl,--expor</FONT>
<BR><FONT SIZE=3D2>t-dynamic&nbsp; -L/home/mis/install/lib =
../arch/.libs/libmonoarch.a ../metadata/.libs</FONT>
<BR><FONT SIZE=3D2>/libmonoruntime.a -LD:/cygwin/home/mis/install/lib =
-lgmodule-1.3 -lglib-1.3 /usr</FONT>
<BR><FONT SIZE=3D2>/lib/libintl.dll.a -L/usr/lib =
/usr/lib/libiconv.dll.a -lgc -lws2_32</FONT>
<BR><FONT SIZE=3D2>interp.o: In function `ves_exec_method':</FONT>
<BR><FONT SIZE=3D2>/home/mis/mono/mono/interpreter/interp.c:1940: =
undefined reference to `__fp_unor</FONT>
<BR><FONT SIZE=3D2>dered_compare'</FONT>
<BR><FONT SIZE=3D2>/home/mis/mono/mono/interpreter/interp.c:1964: =
undefined reference to `__fp_unor</FONT>
<BR><FONT SIZE=3D2>dered_compare'</FONT>
<BR><FONT SIZE=3D2>/home/mis/mono/mono/interpreter/interp.c:1987: =
undefined reference to `__fp_unor</FONT>
<BR><FONT SIZE=3D2>dered_compare'</FONT>
<BR><FONT SIZE=3D2>/home/mis/mono/mono/interpreter/interp.c:2010: =
undefined reference to `__fp_unor</FONT>
<BR><FONT SIZE=3D2>dered_compare'</FONT>
<BR><FONT SIZE=3D2>/home/mis/mono/mono/interpreter/interp.c:2033: =
undefined reference to `__fp_unor</FONT>
<BR><FONT SIZE=3D2>dered_compare'</FONT>
<BR><FONT SIZE=3D2>collect2: ld returned 1 exit status</FONT>
<BR><FONT SIZE=3D2>make[3]: *** [mint.exe] Error 1</FONT>
<BR><FONT SIZE=3D2>make[3]: Leaving directory =
`/home/mis/mono/mono/interpreter'</FONT>
<BR><FONT SIZE=3D2>make[2]: *** [all-recursive] Error 1</FONT>
<BR><FONT SIZE=3D2>make[2]: Leaving directory =
`/home/mis/mono/mono'</FONT>
<BR><FONT SIZE=3D2>make[1]: *** [all-recursive] Error 1</FONT>
<BR><FONT SIZE=3D2>make[1]: Leaving directory `/home/mis/mono'</FONT>
<BR><FONT SIZE=3D2>make: *** [all] Error 2</FONT>
</P>

<P><FONT SIZE=3D2>----end of error text----</FONT>
</P>

<P><FONT SIZE=3D2>Thanks for any help!</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C234ED.7EBA0950--