[Mono-list] Build on OS X errors

Abe Gillespie abe.gillespie at gmail.com
Sun Apr 18 16:44:13 EDT 2010


I want to add some trace calls to mono's core so I can track down a
bug.  But I'm getting the following when I try to build.  Thanks for
the help.

-Abe

In file included from ../../mono/utils/gc_wrapper.h:43,
                 from handles.c:31:
../../libgc/include/gc_typed.h:50: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘GC_PROTO’
../../libgc/include/gc_typed.h:77: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘GC_malloc_explicitly_typed’
../../libgc/include/gc_typed.h:83: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before
‘GC_malloc_explicitly_typed_ignore_off_page’
../../libgc/include/gc_typed.h:86: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘GC_calloc_explicitly_typed’
In file included from ../../mono/utils/gc_wrapper.h:44,
                 from handles.c:31:
../../libgc/include/gc_mark.h:56: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
or ‘__attribute__’ before ‘GC_PROTO’
../../libgc/include/gc_mark.h:109: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘GC_least_plausible_heap_addr’
../../libgc/include/gc_mark.h:110: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘GC_greatest_plausible_heap_addr’
../../libgc/include/gc_mark.h:134: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘GC_PROTO’
../../libgc/include/gc_mark.h:156: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘GC_PROTO’
../../libgc/include/gc_mark.h:157: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘GC_PROTO’
../../libgc/include/gc_mark.h:160: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘GC_PROTO’
../../libgc/include/gc_mark.h:163: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘GC_PROTO’
../../libgc/include/gc_mark.h:170: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘GC_PROTO’
../../libgc/include/gc_mark.h:171: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘GC_PROTO’
../../libgc/include/gc_mark.h:179: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘GC_PROTO’
../../libgc/include/gc_mark.h:183: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘GC_PROTO’
../../libgc/include/gc_mark.h:197: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘GC_PROTO’
make[4]: *** [handles.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [do-build-mono-mcs] Error 2


More information about the Mono-list mailing list