Opened 16 years ago

Last modified 15 years ago

#18330 closed defect

Mono fails to build — at Initial Version

Reported by: michael.g.ross.98@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: mono

Description

Upgrading Mono produced the following:

sudo port upgrade outdated ---> Building mono Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mono/work/mono-2.0.1" && make all " returned error 2 Command output: ../../doltcompile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/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_THREAD_SAFE -DGC_MACOSX_THREADS -DPLATFORM_MACOSX -DUSE_MMAP -DUSE_MUNMAP -DGetCurrentProcess=MonoGetCurrentProcess -DGetCurrentThread=MonoGetCurrentThread -DCreateEvent=MonoCreateEvent -O2 -D_NONSTD_SOURCE -fno-strict-aliasing -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-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: syntax error before 'GC_PROTO' ../../libgc/include/gc_typed.h:77: error: syntax error before 'GC_malloc_explicitly_typed' ../../libgc/include/gc_typed.h:83: error: syntax error before 'GC_malloc_explicitly_typed_ignore_off_page' ../../libgc/include/gc_typed.h:86: error: syntax 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: syntax error before 'GC_PROTO' ../../libgc/include/gc_mark.h:109: error: syntax 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: syntax 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: syntax error before 'GC_PROTO' ../../libgc/include/gc_mark.h:156: error: syntax error before 'GC_PROTO' ../../libgc/include/gc_mark.h:157: error: syntax error before 'GC_PROTO' ../../libgc/include/gc_mark.h:160: error: syntax error before 'GC_PROTO' ../../libgc/include/gc_mark.h:163: error: syntax error before 'GC_PROTO' ../../libgc/include/gc_mark.h:170: error: syntax error before 'GC_PROTO' ../../libgc/include/gc_mark.h:171: error: syntax error before 'GC_PROTO' ../../libgc/include/gc_mark.h:179: error: syntax error before 'GC_PROTO' ../../libgc/include/gc_mark.h:183: error: syntax error before 'GC_PROTO' ../../libgc/include/gc_mark.h:197: error: syntax 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

Error: Unable to upgrade port: 1

Change History (0)

Note: See TracTickets for help on using tickets.