[Mono-list] Unable to compile the runtime

Lluis Sanchez lsg@ctv.es
Sun, 19 Jan 2003 22:23:10 +0100


Hello,

The runtime does not compile on Windows. I've updated the code from CVS
right
now. I get the following error:

debug.c: In function `initialize_debugger_support':
debug.c:1452: warning: passing arg 3 of `CreateThread' from incompatible
pointer
 type
debug.c: In function `mono_debugger_jit_exec':
debug.c:1621: warning: implicit declaration of function `kill'
debug.c:1621: `SIGKILL' undeclared (first use in this function)
debug.c:1621: (Each undeclared identifier is reported only once
debug.c:1621: for each function it appears in.)

and if I replace SIGKILL for 9, I get another error:

gcc -mno-cygwin -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declaration
s -W
strict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno
-cas
t-qual -Wcast-align -Wwrite-strings -o mono.exe mono.o win32-exception.o
codegen
-x86.o emit-x86.o regset.o debug.o debug-stabs.o debug-dwarf2.o jit.o
trampoline
.o exception.o linear-scan.o
elpers.o -Wl,--export-dynamic  -L/home/Lluis/insta
ll/lib ../metadata/.libs/libmonoruntime.al ../metadata/.libs/libmetadata.al
../i
o-layer/.libs/libwapi.al ../utils/.libs/libmonoutils.al
../os/.libs/libmonoos.al
 -lgmodule-2.0 -lglib-2.0 .libs/libimp-cygintl-2.a -L/usr/lib
.libs/libimp-cygic
onv-2.a -lgc -lws2_32 -lpsapi
debug.o(.text+0x3910): In function `initialize_debugger_support':
/home/Lluis/mono/mono/jit/debug.c:1464: undefined reference to
`mono_debugger_in
it_thread_debug'
debug.o(.text+0x3ca1): In function `mono_debugger_jit_exec':
/home/Lluis/mono/mono/jit/debug.c:1621: undefined reference to `kill'

Regards,
Lluis.