[kaffe] kaffe is not compiling on cygwin

Michael Nascimento Santos mister__m@hotmail.com
Fri Dec 5 04:17:02 2003


Hi folks,

I am trying to install kaffe 1.1.2 or kaffe 1.0.7 on cygwin, but I'm getting
compiler errors with both versions. I'd like to know if these versions have
been tested with cygwin and what I should do to make it work for me. I have
googled through the archives but couldn't find an answer to my problem. Any
help will be appreciated.

Here is the compiler error I get with version 1.0.7:

----------------------------------------------------------------------------
-------------------------------

gcc -DHAVE_CONFIG_H -I. -I. -I../../../config -I../../../include -I../../../
kaff
e/kaffevm/systems/unix-jthreads -I.. -I./.. -DTRANSLATOR -DKVER=\"1.0.7\" -I
/tmp
/kaffe-1.0.7/./kaffe/kaffevm -I/tmp/kaffe-1.0.7/./kaffe/kaffevm/systems/unix
-jth
reads -I../../../config -I../../../include -I/usr/local/include -g -O2 -Wall
 -Ws
trict-prototypes -c funcs.c    -DDLL_EXPORT -DPIC -o funcs.lo
funcs.c:38:1: warning: "OUT" redefined
In file included from /usr/include/w32api/rpc.h:34,
                 from /usr/include/w32api/windows.h:82,
                 from /usr/include/w32api/rpc.h:2,
                 from /usr/include/w32api/wtypes.h:1,
                 from ../../../config/config-std.h:43,
                 from funcs.c:12:
/usr/include/w32api/rpcdce.h:13:1: warning: this is the location of the
previous
 definition
In file included from trampolines.c:1,
                 from funcs.c:45:
./../../config/i386/trampolines.c:36:39: missing terminating " character
In file included from trampolines.c:1,
                 from funcs.c:45:
./../../config/i386/trampolines.c:37: error: syntax error before "call"
./../../config/i386/trampolines.c:37: error: stray '\' in program
./../../config/i386/trampolines.c:38: error: stray '\' in program
./../../config/i386/trampolines.c:39:22: missing terminating " character
./../../config/i386/trampolines.c:51:37: missing terminating " character
./../../config/i386/trampolines.c:61:1: missing terminating " character
make[3]: *** [funcs.lo] Error 1
make[3]: Leaving directory `/tmp/kaffe-1.0.7/kaffe/kaffevm/jit'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/kaffe-1.0.7/kaffe/kaffevm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/kaffe-1.0.7/kaffe'
make: *** [all-recursive] Error 1

----------------------------------------------------------------------------
-------------------------------

Here is the error I get with 1.1.2

----------------------------------------------------------------------------
-------------------------------

fi
In file included from ../../config/md.h:1,
                 from ../kaffevm/classMethod.h:18,
                 from support.c:23:
./../config/i386/cygwin32/md.h:25:2: #error Signal handlers are not
supported o
n CygWin32.
make[2]: *** [support.o] Error 1
make[2]: Leaving directory `/tmp/kaffe-1.1.2/kaffe/kaffeh'
make[1]: *** [stamp-kaffeh] Error 2
make[1]: Leaving directory `/tmp/kaffe-1.1.2/include'
make: *** [all-recursive] Error 1

----------------------------------------------------------------------------
-------------------------------