[kaffe] Problem in build

Pinaki Mukherjee pinaki at ics.uci.edu
Sun Aug 22 18:01:26 PDT 2004


Hi,

I am trying to build Kaffe after making some changes in the VM (some
files in the .../kaffe/kaffevm and .../kaffe/kaffevm/intrp directories).
I am getting the following error message:

**************************************

.........
.........
Making all in test
make[1]: Entering directory `/workspace/pinaki/kaffe-1.1.4/test'
Making all in regression
make[2]: Entering directory
`/workspace/pinaki/kaffe-1.1.4/test/regression'
Making all in compile_time
make[3]: Entering directory
`/workspace/pinaki/kaffe-1.1.4/test/regression/compile_time'
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/NullPointerException
        at java.lang.System.arraycopy(System.java:native)
        at java.lang.String.getChars(String.java:299)
        at java.lang.StringBuffer.append(StringBuffer.java:297)
        at java.lang.Runtime.loadLibrary(Runtime.java:153)
        at java.lang.System.loadLibrary(System.java:123)
        at java.io.FileDescriptor.<clinit>(FileDescriptor.java:80)
        at java.lang.System.<clinit>(System.java:48)
        at java.lang.ClassLoader.<init>(ClassLoader.java:114)
        at java.lang.ClassLoader.<init>(ClassLoader.java:110)
        at
java.security.SecureClassLoader.<init>(SecureClassLoader.java:23)
        at java.net.URLClassLoader.<init>(URLClassLoader.java:541)
        at kaffe.lang.AppClassLoader.<init>(AppClassLoader.java:239)
        at kaffe.lang.AppClassLoader.<clinit>(AppClassLoader.java:38)
make[3]: *** [ClassToInterface.class] Aborted
make[3]: Leaving directory
`/workspace/pinaki/kaffe-1.1.4/test/regression/compile_time'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/workspace/pinaki/kaffe-1.1.4/test/regression'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/workspace/pinaki/kaffe-1.1.4/test'
make: *** [all-recursive] Error 1

*******************************

Can somebody please tell me what's wrong. It seems there is some problem
with the files in the
`/workspace/pinaki/kaffe-1.1.4/test/regression/compile_time' directory,
though I haven't touched it at all. As a matter of fact, earlier I was
being able to build the executable. I have been using the following
options with 'configure' : --enable-pure-java-math, --prefix <some
directory name> and --with-engine=intrp.

Please help.

Thanks a lot.

Pinaki




More information about the kaffe mailing list