[MacPorts] #17996: mono 2.4.2.3 does not build: dereferencing pointer to incomplete type (was: mono 2.0.1 does not build: parse error before GC_PROTO)

MacPorts noreply at macports.org
Sat Sep 12 00:04:23 PDT 2009


#17996: mono 2.4.2.3 does not build: dereferencing pointer to incomplete type
--------------------------------------+-------------------------------------
 Reporter:  pgijnxn02@…               |       Owner:  mww@…           
     Type:  defect                    |      Status:  new             
 Priority:  Normal                    |   Milestone:                  
Component:  ports                     |     Version:  1.7.0           
 Keywords:                            |        Port:  mono            
--------------------------------------+-------------------------------------

Comment(by jeremyhu@…):

 It is still failing to build on Leopard/ppc ...

 {{{
 /bin/sh ../../libtool --quiet --tag=CC   --mode=compile /usr/bin/gcc-4.0
 -I/opt/local/var/macports/build/_Users_jeremy_src_macports-
 trunk_dports_devel_mono/work/mono-2.4.2.3/libgc/include -DHAVE_CONFIG_H
 -I. -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
 -D__mono_ppc__ -I../.. -I../../libgc/include -D_REENTRANT
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/include     -O2 -D_NONSTD_SOURCE -arch ppc -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 exceptions-ppc.lo -MD -MP
 -MF .deps/exceptions-ppc.Tpo -c -o exceptions-ppc.lo exceptions-ppc.c
 exceptions-ppc.c: In function 'mono_arch_sigctx_to_monoctx':
 exceptions-ppc.c:601: error: dereferencing pointer to incomplete type
 exceptions-ppc.c:602: error: dereferencing pointer to incomplete type
 exceptions-ppc.c:603: error: dereferencing pointer to incomplete type
 exceptions-ppc.c:604: error: dereferencing pointer to incomplete type
 exceptions-ppc.c: In function 'mono_arch_monoctx_to_sigctx':
 exceptions-ppc.c:612: error: dereferencing pointer to incomplete type
 exceptions-ppc.c:613: error: dereferencing pointer to incomplete type
 exceptions-ppc.c:614: error: dereferencing pointer to incomplete type
 exceptions-ppc.c:615: error: dereferencing pointer to incomplete type
 exceptions-ppc.c: In function 'mono_arch_ip_from_context':
 exceptions-ppc.c:622: error: dereferencing pointer to incomplete type
 exceptions-ppc.c: In function 'mono_arch_handle_altstack_exception':
 exceptions-ppc.c:641: warning: initialization from incompatible pointer
 type
 exceptions-ppc.c:650: error: dereferencing pointer to incomplete type
 exceptions-ppc.c:670: error: dereferencing pointer to incomplete type
 exceptions-ppc.c:673: warning: assignment from incompatible pointer type
 exceptions-ppc.c:674: error: invalid application of 'sizeof' to incomplete
 type 'os_ucontext'
 exceptions-ppc.c:680: error: dereferencing pointer to incomplete type
 exceptions-ppc.c:680: error: dereferencing pointer to incomplete type
 exceptions-ppc.c:689: error: dereferencing pointer to incomplete type
 exceptions-ppc.c:691: error: dereferencing pointer to incomplete type
 exceptions-ppc.c:692: error: dereferencing pointer to incomplete type
 exceptions-ppc.c:693: error: dereferencing pointer to incomplete type
 exceptions-ppc.c:694: error: dereferencing pointer to incomplete type
 make[4]: *** [exceptions-ppc.lo] Error 1
 make[4]: *** Waiting for unfinished jobs....
 mv -f .deps/unwind.Tpo .deps/unwind.Plo
 mv -f .deps/tramp-ppc.Tpo .deps/tramp-ppc.Plo
 mini-ppc.c:5035: warning: 'try_offset_access' defined but not used
 mv -f .deps/mini-ppc.Tpo .deps/mini-ppc.Plo
 mv -f .deps/method-to-ir.Tpo .deps/method-to-ir.Plo
 make[3]: *** [all] Error 2
 make[2]: *** [all-recursive] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_Users_jeremy_src_macports-
 trunk_dports_devel_mono/work/mono-2.4.2.3" && /usr/bin/make -j5 all "
 returned error 2

 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/17996#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list