|
I’m using a W2K pc with cygwin loaded and up to date as of 1 Jan. Ok…I just updated from cvs and tried to make mcs and mono. Mcs compiled
fine but I got this error in using mono-build-w32.sh…. /bin/sh ../../libtool --mode=compile gcc -mno-cygwin -DHAVE_CONFIG_H -I.
-I. -I../.. -I/home/mis/ins tall/include/glib-2.0 -I/home/mis/install/lib/glib-2.0/include
-I/home/mis/install/include/glib-2. 0 -I/home/mis/install/lib/glib-2.0/include -I../.. -I../../mono -DMONO_ASSEMBLIES=\""D:/cygw in/home/mis/install/lib"\"
-DMONO_CFG_DIR=\""D:/cygwin/home/mis/install/etc"\" -I/home/mis/install/ include -DGC_WIN32_THREADS -DWIN32_THREADS -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declara tions -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual
-Wca st-align -Wwrite-strings -c appdomain.c rm -f .libs/appdomain.lo gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../..
-I/home/mis/install/include/glib-2.0 -I/home/mis/ins tall/lib/glib-2.0/include -I/home/mis/install/include/glib-2.0
-I/home/mis/install/lib/glib-2.0/incl ude -I../.. -I../../mono
-DMONO_ASSEMBLIES=\"D:/cygwin/home/mis/install/lib\"
-DMONO_CFG_DIR=\"D:/cy gwin/home/mis/install/etc\" -I/home/mis/install/include
-DGC_WIN32_THREADS -DWIN32_THREADS -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
-Wmissing-prototypes -Wnest ed-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings
-Wp,-MD,.deps/appdomain.pp -c appdomain.c
-DDLL_EXPORT -DPIC -o .libs/appdomain.lo In file included from ../../mono/os/gc_wrapper.h:6,
from appdomain.c:15: /home/mis/install/include/gc/gc.h:205: warning: function declaration
isn't a prototype /home/mis/install/include/gc/gc.h:840: warning: function declaration
isn't a prototype /home/mis/install/include/gc/gc.h:898: warning: function declaration
isn't a prototype In file included from ../../mono/metadata/image.h:4,
from ../../mono/metadata/metadata.h:9,
from ../../mono/metadata/class.h:4,
from ../../mono/metadata/object.h:4,
from appdomain.c:17: /usr/include/mingw/stdio.h:225: warning: no previous prototype for
`vsnprintf' /usr/include/mingw/stdio.h:380: warning: no previous prototype for
`vsnwprintf' appdomain.c: In function `mono_domain_try_type_resolve': appdomain.c:109: warning: implicit declaration of function `look_for_method_by_name' appdomain.c:109: warning: assignment makes pointer from integer without
a cast appdomain.c: In function `ves_icall_System_AppDomain_createDomain': appdomain.c:240: warning: unused variable `domain' appdomain.c: At top level: appdomain.c:309: warning: `look_for_method_by_name' was used with no
prototype before its definition appdomain.c:309: warning: `look_for_method_by_name' was declared
implicitly `extern' and later `stat ic' appdomain.c:109: warning: previous declaration of
`look_for_method_by_name' appdomain.c:309: warning: type mismatch with previous implicit
declaration appdomain.c:109: warning: previous implicit declaration of
`look_for_method_by_name' appdomain.c:309: warning: `look_for_method_by_name' was previously implicitly
declared to return `in t' appdomain.c: In function `ves_icall_System_AppDomain_InternalUnload': appdomain.c:744: parse error before `*' appdomain.c:745: `domain' undeclared (first use in this function) appdomain.c:745: (Each undeclared identifier is reported only once appdomain.c:745: for each function it appears in.) appdomain.c: In function `ves_icall_System_AppDomain_ExecuteAssembly': appdomain.c:783: warning: assignment from incompatible pointer type appdomain.c: At top level: appdomain.c:792: warning: no previous prototype for
`ves_icall_System_AppDomain_GetIDFromDomain' make[3]: *** [appdomain.lo] Error 1 make[3]: Leaving directory `/home/mis/mono/mono/metadata' 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-recursive-am] Error 2 mis@W9800893B ~ I’m not a really good programmer in C# yet and after one look at
appdomain.c, I decided to report in and not try to figure it out. :p I hope Dietmar or Patrik can figure this out soon. I need my mono fix *grin*. Ken Benson |
- RE: [Mono-list] Error in building Mono with mono-build-w32... Kenneth Benson
- RE: [Mono-list] Error in building Mono with mono-buil... Andrew Stopford
- RE: [Mono-list] Error in building Mono with mono-buil... Kenneth Benson
