[Mono-dev] Compiling mono under windows

olivier dufour olivier.duff at gmail.com
Thu Sep 13 13:55:24 EDT 2007


So,

I have found the error for resource temporary unavailable.
In fact, I have antivirus, antispyware,... which try to analyse all done by
make...
So; it have well started but not succeed thanks to error in mono/mono/utils:
I have try to fill a bug in novell bugzilla without succeed ;( (mono is not
in list)

I send you a part of my log.

/bin/sh ../../libtool --tag=CC   --mode=compile gcc -mno-cygwin -g
-DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../mono -I../../libgc/include
-I/devel/target/glib-2.6.6/include/glib-2.0 -I/devel/target/glib-2.6.6
/lib/glib-2.0/include    -DWIN32_THREADS -DFD_SETSIZE=1024 -DUNICODE
-D_UNICODE  -g -O2 -fno-strict-aliasing -Wdeclaration-after-statement -g
-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
-Wstrict-prototypes  -Wmissing-prototypes -Wnested-externs -Wpointer-arith
-Wno-cast-qual -Wcast-align -Wwrite-strings -mno-tls-direct-seg-refs -MT
mono-hash.lo -MD -MP -MF .deps/mono-hash.Tpo -c -o mono-hash.lo mono-hash.c
 gcc -mno-cygwin -g -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../mono
-I../../libgc/include
-I/devel/target/glib-2.6.6/include/glib-2.0-I/devel/target/glib-
2.6.6/lib/glib-2.0/include -DWIN32_THREADS -DFD_SETSIZE=1024 -DUNICODE
-D_UNICODE -g -O2 -fno-strict-aliasing -Wdeclaration-after-statement -g
-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith
-Wno-cast-qual -Wcast-align -Wwrite-strings -mno-tls-direct-seg-refs -MT
mono-hash.lo -MD -MP -MF .deps/mono-hash.Tpo -c mono-hash.c  -DDLL_EXPORT
-DPIC -o .libs/mono-hash.o
mono-hash.c:39:18: glib.h: No such file or directory
In file included from ../../mono/os/gc_wrapper.h:37,
                 from mono-hash.c:40:
../../libgc/include/gc.h:1008: warning: function declaration isn't a
prototype
In file included from mono-hash.c:41:
mono-hash.h:40: error: syntax error before "typedef"
mono-hash.h:42: error: parse error before '*' token
mono-hash.h:42: error: parse error before "key"
mono-hash.h:43: warning: type defaults to `int' in declaration of `gpointer'
mono-hash.h:43: warning: function declaration isn't a prototype
mono-hash.h:43: error: `gpointer' declared as function returning a function
mono-hash.h:43: warning: function declaration isn't a prototype
mono-hash.h:55: error: parse error before "hash_func"
mono-hash.h:56: warning: function declaration isn't a prototype
mono-hash.h:57: error: parse error before "hash_func"
mono-hash.h:59: warning: function declaration isn't a prototype
mono-hash.h:60: error: parse error before "hash_func"
mono-hash.h:63: warning: function declaration isn't a prototype
mono-hash.h:71: error: parse error before "mono_g_hash_table_remove"
mono-hash.h:72: error: parse error before "gconstpointer"
mono-hash.h:72: warning: type defaults to `int' in declaration of
`mono_g_hash_table_remove'
mono-hash.h:72: warning: function declaration isn't a prototype
mono-hash.h:72: warning: data definition has no type or storage class
mono-hash.h:73: error: parse error before "mono_g_hash_table_steal"
mono-hash.h:74: error: parse error before "gconstpointer"
mono-hash.h:74: warning: type defaults to `int' in declaration of
`mono_g_hash_table_steal'
mono-hash.h:74: warning: function declaration isn't a prototype
mono-hash.h:74: warning: data definition has no type or storage class
mono-hash.h:76: error: parse error before "gconstpointer"
mono-hash.h:76: error: `mono_g_hash_table_lookup' declared as function
returning a function
mono-hash.h:76: warning: function declaration isn't a prototype
mono-hash.h:77: error: parse error before
"mono_g_hash_table_lookup_extended"
mono-hash.h:78: error: parse error before "gconstpointer"
mono-hash.h:80: warning: type defaults to `int' in declaration of
`mono_g_hash_table_lookup_extended'
mono-hash.h:80: warning: function declaration isn't a prototype
mono-hash.h:80: warning: data definition has no type or storage class
mono-hash.h:82: error: parse error before "GHFunc"
mono-hash.h:83: warning: function declaration isn't a prototype
mono-hash.h:84: error: parse error before "mono_g_hash_table_foreach_remove"
mono-hash.h:85: error: parse error before "GHRFunc"
mono-hash.h:86: warning: type defaults to `int' in declaration of
`mono_g_hash_table_foreach_remove'
mono-hash.h:86: warning: function declaration isn't a prototype
mono-hash.h:86: warning: data definition has no type or storage class
mono-hash.h:87: error: parse error before "mono_g_hash_table_foreach_steal"
mono-hash.h:88: error: parse error before "GHRFunc"
mono-hash.h:89: warning: type defaults to `int' in declaration of
`mono_g_hash_table_foreach_steal'
mono-hash.h:89: warning: function declaration isn't a prototype
mono-hash.h:89: warning: data definition has no type or storage class
mono-hash.h:90: error: parse error before "mono_g_hash_table_size"
mono-hash.h:90: warning: type defaults to `int' in declaration of
`mono_g_hash_table_size'
mono-hash.h:90: warning: data definition has no type or storage class
mono-hash.h:93: error: parse error before "MonoGRemapperFunc"
mono-hash.h:94: warning: function declaration isn't a prototype
In file included from ../../mono/metadata/metadata.h:7,
                 from ../../mono/metadata/class.h:4,
                 from ../../mono/metadata/object.h:4,
                 from ../../mono/metadata/object-internals.h:4,
                 from ../../mono/metadata/gc-internal.h:13,
                 from mono-hash.c:42:
../../mono/metadata/blob.h:11: error: syntax error before "typedef"
In file included from ../../mono/metadata/metadata.h:9,
                 from ../../mono/metadata/class.h:4,
                 from ../../mono/metadata/object.h:4,
                 from ../../mono/metadata/object-internals.h:4,
                 from ../../mono/metadata/gc-internal.h:13,
                 from mono-hash.c:42:
../../mono/metadata/image.h:9: error: syntax error before "typedef"
../../mono/metadata/image.h:19: warning: type defaults to `int' in
declaration of `guint8'
../../mono/metadata/image.h:19: warning: no semicolon at end of struct or
union
../../mono/metadata/image.h:19: error: parse error before '*' token
../../mono/metadata/image.h:21: warning: type defaults to `int' in
declaration of `public_key_token'
../../mono/metadata/image.h:21: warning: data definition has no type or
storage class
../../mono/metadata/image.h:22: error: parse error before "hash_alg"
../../mono/metadata/image.h:22: warning: type defaults to `int' in
declaration of `hash_alg'
../../mono/metadata/image.h:22: warning: data definition has no type or
storage class
../../mono/metadata/image.h:23: error: parse error before "hash_len"
../../mono/metadata/image.h:23: warning: type defaults to `int' in
declaration of `hash_len'
../../mono/metadata/image.h:23: warning: data definition has no type or
storage class
../../mono/metadata/image.h:24: error: parse error before "flags"


....

mono-hash.c: At top level:
mono-hash.c:752: error: parse error before "GDestroyNotify"
mono-hash.c:754: warning: function declaration isn't a prototype
mono-hash.c: In function `g_hash_node_destroy':
mono-hash.c:756: error: `hash_node' undeclared (first use in this function)
mono-hash.c:756: error: called object is not a function
mono-hash.c:758: error: called object is not a function
mono-hash.c:763: warning: nested extern declaration of `G_LOCK'
mono-hash.c:763: error: `g_hash_global' undeclared (first use in this
function)
mono-hash.c:771: warning: nested extern declaration of `G_UNLOCK'
mono-hash.c: At top level:
mono-hash.c:777: error: parse error before "GFreeFunc"
mono-hash.c:779: warning: function declaration isn't a prototype
mono-hash.c: In function `g_hash_nodes_destroy':
mono-hash.c:780: error: `hash_node' undeclared (first use in this function)
mono-hash.c:787: error: called object is not a function
mono-hash.c:789: error: called object is not a function
mono-hash.c:798: error: called object is not a function
mono-hash.c:800: error: called object is not a function
mono-hash.c:805: warning: nested extern declaration of `G_LOCK'
mono-hash.c:805: error: `g_hash_global' undeclared (first use in this
function)
mono-hash.c:813: warning: nested extern declaration of `G_UNLOCK'
mono-hash.c: At top level:
mono-hash.c:713: warning: 'g_hash_table_resize' defined but not used
make: *** [mono-hash.lo] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070913/bcdb1ae1/attachment.html 


More information about the Mono-devel-list mailing list