[Mono-devel-list] mono-debugger wrapper.c does not build

Piyush, Garyali (IE10) Piyush.Garyali at honeywell.com
Fri Sep 24 11:19:41 EDT 2004


I was not able to find out a mailing list for mono debugger so I thought of
posting it here. 

I tried to build the latest mono-debbugger (0.9) (from Martin's site) and I
am getting the following errors in wrapper.c


source='wrapper.c' object='wrapper.o' libtool=no \
depfile='.deps/wrapper.Po' tmpdepfile='.deps/wrapper.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"MonoDebuggerJitWrapper\"
-D_REENTRANT -pthread -I/usr/local/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include      -g -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes
-Wnested-externs  -Wshadow -Wpointer-arith -Wno-cast-qual -Wcast-align
-Wwrite-strings -c `test -f 'wrapper.c' || echo './'`wrapper.c
wrapper.c: In function `debugger_class_get_static_field_data':
wrapper.c:123: dereferencing pointer to incomplete type
wrapper.c: In function `debugger_event_handler':
wrapper.c:138: warning: enumeration value
wrapper.c: At top level:
wrapper.c:142: warning: initialization from incompatible pointer type
wrapper.c: In function `mono_debugger_main':
wrapper.c:231: dereferencing pointer to incomplete type
wrapper.c:231: dereferencing pointer to incomplete type
make: *** [wrapper.o] Error 1
[piyush at localhost wrapper]$


Though by commenting these lines in wrapper.c I was able to complete the
build, the debugger would not work properly.

Has anyone seen these errors as well? If yes, is there any patch available
for wrapper.c? (I am running on Red Hat 9)

- Piyush 

More information about the Mono-devel-list mailing list