#17996: mono 2.0.1 does not build: parse error before GC_PROTO --------------------------------------+------------------------------------- Reporter: pgijnxn02@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: --------------------------------------+------------------------------------- Tiger 10.4.11 Mac Mini PPC Here's where the errors begin: {{{ /bin/sh ../../libtool --quiet --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/l ib/glib-2.0/include -I/opt/local/include -I../../libgc/include -DMONO_BINDIR=\""/opt/local/bin"\" -I../.. -I/opt/local/include -no- cpp-precomp -D_THRE AD_SAFE -DGC_MACOSX_THREADS -DPLATFORM_MACOSX -DUSE_MMAP -DUSE_MUNMAP -DGetCurrentProcess=MonoGetCurrentProcess -DGetCurrentThread=MonoGetCurrentThread -DCrea teEvent=MonoCreateEvent -O2 -fno-strict-aliasing -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wn ested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -MT handles.lo -MD -MP -MF .deps/handles.Tpo -c -o handles.lo handles.c In file included from ../../mono/os/gc_wrapper.h:39, from handles.c:23: ../../libgc/include/gc_typed.h:50: error: parse error before 'GC_PROTO' ../../libgc/include/gc_typed.h:77: error: parse error before 'GC_malloc_explicitly_typed' ../../libgc/include/gc_typed.h:83: error: parse error before 'GC_malloc_explicitly_typed_ignore_off_page' ../../libgc/include/gc_typed.h:86: error: parse error before 'GC_calloc_explicitly_typed' In file included from ../../mono/os/gc_wrapper.h:40, from handles.c:23: ../../libgc/include/gc_mark.h:56: error: parse error before 'GC_PROTO' ../../libgc/include/gc_mark.h:109: error: parse error before 'GC_least_plausible_heap_addr' ../../libgc/include/gc_mark.h:109: warning: type defaults to 'int' in declaration of 'GC_least_plausible_heap_addr' ../../libgc/include/gc_mark.h:109: warning: data definition has no type or storage class ../../libgc/include/gc_mark.h:110: error: parse error before 'GC_greatest_plausible_heap_addr' ../../libgc/include/gc_mark.h:110: warning: type defaults to 'int' in declaration of 'GC_greatest_plausible_heap_addr' ../../libgc/include/gc_mark.h:110: warning: data definition has no type or storage class ../../libgc/include/gc_mark.h:134: error: parse error before 'GC_PROTO' ../../libgc/include/gc_mark.h:156: error: parse error before 'GC_PROTO' ../../libgc/include/gc_mark.h:157: error: parse error before 'GC_PROTO' ../../libgc/include/gc_mark.h:160: error: parse error before 'GC_PROTO' ../../libgc/include/gc_mark.h:163: error: parse error before 'GC_PROTO' ../../libgc/include/gc_mark.h:170: error: parse error before 'GC_PROTO' ../../libgc/include/gc_mark.h:171: error: parse error before 'GC_PROTO' ../../libgc/include/gc_mark.h:179: error: parse error before 'GC_PROTO' ../../libgc/include/gc_mark.h:183: error: parse error before 'GC_PROTO' ../../libgc/include/gc_mark.h:197: error: parse error before 'GC_PROTO' make[3]: *** [handles.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 }}} -- Ticket URL: <http://trac.macports.org/ticket/17996> MacPorts <http://www.macports.org/> Ports system for Mac OS