[Mono-dev] GC_PROTO undefined ?

KISHIMOTO, Makoto ksmakoto at dd.iij4u.or.jp
Fri Apr 29 18:21:59 EDT 2011


Hello,

In my FreeBSD Box, mono trunk build failed.
The following is build log.

$ gmake
gmake  all-recursive
gmake[1]: Entering directory `/export/home/ksmakoto/Mono/BUILD'

(snip)

Making all in arch
gmake[3]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/arch'
gmake[4]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/arch'
gmake[4]: Nothing to be done for `all-am'.
gmake[4]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/arch'
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/arch'
Making all in mini
gmake[3]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
gmake  all-am
gmake[4]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
../../doltlibtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../mono/mono/mini -I../..   -DGC_FREEBSD_THREADS -DPLATFORM_BSD -I/usr/local/include  -D__default_codegen__ -I../../../mono -I../../../mono/eglib/src -I../../eglib/src    -DHAVE_BOEHM_GC -DHAVE_GC_H -DUSE_INCLUDED_LIBGC -DHAVE_GC_GCJ_MALLOC -DHAVE_GC_ENABLE -I../../../mono/libgc/include -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 -Wwrite-strings -mno-tls-direct-seg-refs -MT libmono_2_0_la-mini.lo -MD -MP -MF .deps/libmono_2_0_la-mini.Tpo -c -o libmono_2_0_la-mini.lo `test -f 'mini.c' || echo '../../../mono/mono/mini/'`mini.c
In file included from ../../../mono/mono/utils/gc_wrapper.h:43,
                 from ../../../mono/mono/metadata/gc-internal.h:15,
                 from ../../../mono/mono/mini/mini.c:44:
../../../mono/libgc/include/gc_typed.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_PROTO'
../../../mono/libgc/include/gc_typed.h:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_malloc_explicitly_typed'
../../../mono/libgc/include/gc_typed.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_malloc_explicitly_typed_ignore_off_page'
../../../mono/libgc/include/gc_typed.h:86: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_calloc_explicitly_typed'
In file included from ../../../mono/mono/utils/gc_wrapper.h:44,
                 from ../../../mono/mono/metadata/gc-internal.h:15,
                 from ../../../mono/mono/mini/mini.c:44:
../../../mono/libgc/include/gc_mark.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_PROTO'
../../../mono/libgc/include/gc_mark.h:109: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_least_plausible_heap_addr'
../../../mono/libgc/include/gc_mark.h:110: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_greatest_plausible_heap_addr'
../../../mono/libgc/include/gc_mark.h:134: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_PROTO'
../../../mono/libgc/include/gc_mark.h:156: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_PROTO'
../../../mono/libgc/include/gc_mark.h:157: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_PROTO'
../../../mono/libgc/include/gc_mark.h:160: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_PROTO'
../../../mono/libgc/include/gc_mark.h:163: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_PROTO'
../../../mono/libgc/include/gc_mark.h:170: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_PROTO'
../../../mono/libgc/include/gc_mark.h:171: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_PROTO'
../../../mono/libgc/include/gc_mark.h:179: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_PROTO'
../../../mono/libgc/include/gc_mark.h:183: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_PROTO'
../../../mono/libgc/include/gc_mark.h:197: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_PROTO'
../../../mono/mono/mini/mini.c:80: warning: data definition has no type or storage class
../../../mono/mono/mini/mini.c:80: warning: type defaults to 'int' in declaration of 'MONO_FAST_TLS_DECLARE'
../../../mono/mono/mini/mini.c:80: warning: parameter names (without types) in function declaration
gmake[4]: *** [libmono_2_0_la-mini.lo] Error 1
gmake[4]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/home/ksmakoto/Mono/BUILD'
gmake: *** [all] Error 2


More information about the Mono-devel-list mailing list