Help with Kaffe 1.0b1 port

Jim Solderitsch jjs at wpllabs.com
Wed Aug 12 06:22:47 PDT 1998


I just joined the list and yesterday inquired about porting to the MachTen
4.1 environment (an 0.8x vintage kaffe is distributed with MachTen 4.1).

well I dove right into the porting waters and found the missing jpeg header
glitch that I fixed by getting the latest jpeg stuff via the link on
transvirtual's web pages but shortly hit another one.

The following is transcript from the make progress messages upto the error
at which I am stuck:

make[2]: Entering directory `/usr/local/src/kaffe-1.0.b1/kaffe/kaffevm'
gcc -g -fsigned-char -DNO_SHARED_LIBRARIES -DNO_SHARED_VMLIBRARY -I. -I.
-I./../../config -I../../config -I../../include -I./../../include
-DINTERPRETER
-I./intrp   -DKVER=\"1.00\"  -c  code.c -o code.o
gcc -g -fsigned-char -DNO_SHARED_LIBRARIES -DNO_SHARED_VMLIBRARY -I. -I.
-I./../../config -I../../config -I../../include -I./../../include
-DINTERPRETER
-I./intrp   -DKVER=\"1.00\"  -c  lookup.c -o lookup.o
gcc -g -fsigned-char -DNO_SHARED_LIBRARIES -DNO_SHARED_VMLIBRARY -I. -I.
-I./../../config -I../../config -I../../include -I./../../include
-DINTERPRETER
-I./intrp   -DKVER=\"1.00\"  -c  external.c -o external.o
gcc -g -fsigned-char -DNO_SHARED_LIBRARIES -DNO_SHARED_VMLIBRARY -I. -I.
-I./../../config -I../../config -I../../include -I./../../include
-DINTERPRETER
-I./intrp   -DKVER=\"1.00\"  -c  constants.c -o constants.o
gcc -g -fsigned-char -DNO_SHARED_LIBRARIES -DNO_SHARED_VMLIBRARY -I. -I.
-I./../../config -I../../config -I../../include -I./../../include
-DINTERPRETER
-I./intrp   -DKVER=\"1.00\"  -c  classMethod.c -o classMethod.o
gcc -g -fsigned-char -DNO_SHARED_LIBRARIES -DNO_SHARED_VMLIBRARY -I. -I.
-I./../../config -I../../config -I../../include -I./../../include
-DINTERPRETER
-I./intrp   -DKVER=\"1.00\"  -c  readClass.c -o readClass.o
gcc -g -fsigned-char -DNO_SHARED_LIBRARIES -DNO_SHARED_VMLIBRARY -I. -I.
-I./../../config -I../../config -I../../include -I./../../include
-DINTERPRETER
-I./intrp   -DKVER=\"1.00\"  -c  findInJar.c -o findInJar.o
gcc -g -fsigned-char -DNO_SHARED_LIBRARIES -DNO_SHARED_VMLIBRARY -I. -I.
-I./../../config -I../../config -I../../include -I./../../include
-DINTERPRETER
-I./intrp   -DKVER=\"1.00\"  -c  baseClasses.c -o baseClasses.o
gcc -g -fsigned-char -DNO_SHARED_LIBRARIES -DNO_SHARED_VMLIBRARY -I. -I.
-I./../../config -I../../config -I../../include -I./../../include
-DINTERPRETER
-I./intrp   -DKVER=\"1.00\"  -c  object.c -o object.o
gcc -g -fsigned-char -DNO_SHARED_LIBRARIES -DNO_SHARED_VMLIBRARY -I. -I.
-I./../../config -I../../config -I../../include -I./../../include
-DINTERPRETER
-I./intrp   -DKVER=\"1.00\"  -c  itypes.c -o itypes.o
gcc -g -fsigned-char -DNO_SHARED_LIBRARIES -DNO_SHARED_VMLIBRARY -I. -I.
-I./../../config -I../../config -I../../include -I./../../include
-DINTERPRETER
-I./intrp   -DKVER=\"1.00\"  -c  gc.c -o gc.o
gcc -g -fsigned-char -DNO_SHARED_LIBRARIES -DNO_SHARED_VMLIBRARY -I. -I.
-I./../../config -I../../config -I../../include -I./../../include
-DINTERPRETER
-I./intrp   -DKVER=\"1.00\"  -c  ./mem/gc-mem.c -o gc-mem.o
gcc -g -fsigned-char -DNO_SHARED_LIBRARIES -DNO_SHARED_VMLIBRARY -I. -I.
-I./../../config -I../../config -I../../include -I./../../include
-DINTERPRETER
-I./intrp   -DKVER=\"1.00\"  -c  thread.c -o thread.o
gcc -g -fsigned-char -DNO_SHARED_LIBRARIES -DNO_SHARED_VMLIBRARY -I. -I.
-I./../../config -I../../config -I../../include -I./../../include
-DINTERPRETER
-I./intrp   -DKVER=\"1.00\"  -c  locks.c -o locks.o
gcc -g -fsigned-char -DNO_SHARED_LIBRARIES -DNO_SHARED_VMLIBRARY -I. -I.
-I./../../config -I../../config -I../../include -I./../../include
-DINTERPRETER
-I./intrp   -DKVER=\"1.00\"  -c  support.c -o support.o
gcc -g -fsigned-char -DNO_SHARED_LIBRARIES -DNO_SHARED_VMLIBRARY -I. -I.
-I./../../config -I../../config -I../../include -I./../../include
-DINTERPRETER
-I./intrp   -DKVER=\"1.00\"  -c  soft.c -o soft.o
gcc -g -fsigned-char -DNO_SHARED_LIBRARIES -DNO_SHARED_VMLIBRARY -I. -I.
-I./../../config -I../../config -I../../include -I./../../include
-DINTERPRETER
-I./intrp   -DKVER=\"1.00\"  -c  string.c -o string.o
gcc -g -fsigned-char -DNO_SHARED_LIBRARIES -DNO_SHARED_VMLIBRARY -I. -I.
-I./../../config -I../../config -I../../include -I./../../include
-DINTERPRETER
-I./intrp   -DKVER=\"1.00\"  -c  verify.c -o verify.o
gcc -g -fsigned-char -DNO_SHARED_LIBRARIES -DNO_SHARED_VMLIBRARY -I. -I.
-I./../../config -I../../config -I../../include -I./../../include
-DINTERPRETER
-I./intrp   -DKVER=\"1.00\"  -c  code-analyse.c -o code-analyse.o
gcc -g -fsigned-char -DNO_SHARED_LIBRARIES -DNO_SHARED_VMLIBRARY -I. -I.
-I./../../config -I../../config -I../../include -I./../../include
-DINTERPRETER
-I./intrp   -DKVER=\"1.00\"  -c  exception.c -o exception.o
exception.c: In function `dispatchException':
exception.c:237: warning: `noreturn' function does return
gcc -g -fsigned-char -DNO_SHARED_LIBRARIES -DNO_SHARED_VMLIBRARY -I. -I.
-I./../../config -I../../config -I../../include -I./../../include
-DINTERPRETER
-I./intrp   -DKVER=\"1.00\"  -c  stackTrace.c -o stackTrace.o
gcc -g -fsigned-char -DNO_SHARED_LIBRARIES -DNO_SHARED_VMLIBRARY -I. -I.
-I./../../config -I../../config -I../../include -I./../../include
-DINTERPRETER
-I./intrp   -DKVER=\"1.00\"  -c  jar.c -o jar.o
gcc -g -fsigned-char -DNO_SHARED_LIBRARIES -DNO_SHARED_VMLIBRARY -I. -I.
-I./../../config -I../../config -I../../include -I./../../include
-DINTERPRETER
-I./intrp   -DKVER=\"1.00\"  -c  inflate.c -o inflate.o
gcc -g -fsigned-char -DNO_SHARED_LIBRARIES -DNO_SHARED_VMLIBRARY -I. -I.
-I./../../config -I../../config -I../../include -I./../../include
-DINTERPRETER
-I./intrp   -DKVER=\"1.00\"  -c  debug.c -o debug.o
gcc -g -fsigned-char -DNO_SHARED_LIBRARIES -DNO_SHARED_VMLIBRARY -I. -I.
-I./../../config -I../../config -I../../include -I./../../include
-DINTERPRETER
-I./intrp   -DKVER=\"1.00\"  -c  jni.c -o jni.o
gcc -g -fsigned-char -DNO_SHARED_LIBRARIES -DNO_SHARED_VMLIBRARY -I. -I.
-I./../../config -I../../config -I../../include -I./../../include
-DINTERPRETER
-I./intrp   -DKVER=\"1.00\"  -c  md.c -o md.o
gcc -g -fsigned-char -DNO_SHARED_LIBRARIES -DNO_SHARED_VMLIBRARY -I. -I.
-I./../../config -I../../config -I../../include -I./../../include
-DINTERPRETER
-I./intrp   -DKVER=\"1.00\"  -c  ./systems/unix-jthreads/internal.c -o
internal.o
./systems/unix-jthreads/internal.c:387: warning: initialization from
incompatible pointer type
./systems/unix-jthreads/internal.c:433: `sendto' undeclared here (not in a
function)
./systems/unix-jthreads/internal.c:433: initializer element for
`Kaffe_SystemCallInterface._sendto' is not constant
./systems/unix-jthreads/internal.c:434: `setsockopt' undeclared here (not in
a
function)
./systems/unix-jthreads/internal.c:434: initializer element for
`Kaffe_SystemCallInterface._setsockopt' is not constant
./systems/unix-jthreads/internal.c:435: `getsockopt' undeclared here (not in
a
function)
./systems/unix-jthreads/internal.c:435: initializer element for
`Kaffe_SystemCallInterface._getsockopt' is not constant
./systems/unix-jthreads/internal.c:436: `getsockname' undeclared here (not
in a
function)
./systems/unix-jthreads/internal.c:436: initializer element for
`Kaffe_SystemCallInterface._getsockname' is not constant
./systems/unix-jthreads/internal.c:437: `getpeername' undeclared here (not
in a
function)
./systems/unix-jthreads/internal.c:437: initializer element for
`Kaffe_SystemCallInterface._getpeername' is not constant
make[2]: *** [internal.o] Error 1
make[2]: Leaving directory `/usr/local/src/kaffe-1.0.b1/kaffe/kaffevm'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/usr/local/src/kaffe-1.0.b1/kaffe'
make: *** [all] Error 1

I will look through the mailing list archive for means to get passed the
error, but if this is familiar and/or the list members can suggest
work-arounds or patches, I would much appreciate hearing.

If this was already covered in a previous discussion thread, please forgive
my eagerness to broadcast my help as I have an Java application running on
Sun/Solaris that I need to get running under MachTen ASAP.

Thanks.

Jim
---
James Solderitsch
jjs at wpllabs.com
610-658-2362X228(FAX: 2361)



More information about the kaffe mailing list