[kaffe] --with-static{bin,lib,vm} does not work
Kiyo Inaba
inaba at src.ricoh.co.jp
Fri Apr 27 03:47:58 PDT 2007
When I specify '--with-static{bin,lib,vm}' for CVS-head the generated
code does not work. This was happened for ia32/linux and several other
ports.
When I specify only --with-staticvm, I got
-------------------------------------------------------------------------
Failed to locate native library "/home/inaba/src/kaffe-070215-dds3/libraries/clib/security/.libs/libkaffevm" in path:
/home/inaba/src/kaffe-070215-dds3/kaffe/kaffevm/.libs:/home/inaba/src/kaffe-070215-dds3/libraries/clib/net/.libs:/home/inaba/src/kaffe-070215-dds3/libraries/clib/io/.libs:/home/inaba/src/kaffe-070215-dds3/libraries/javalib/external/classpath/native/jni/java-lang/.libs:/home/inaba/src/kaffe-070215-dds3/libraries/javalib/external/classpath/native/jni/java-nio/.libs:/home/inaba/src/kaffe-070215-dds3/libraries/javalib/external/classpath/native/jni/java-net/.libs:/home/inaba/src/kaffe-070215-dds3/libraries/javalib/external/classpath/native/jni/java-io/.libs:/home/inaba/src/kaffe-070215-dds3/libraries/javalib/external/classpath/native/jni/java-util/.libs:/home/inaba/src/kaffe-070215-dds3/libraries/clib/zip/.libs:/home/inaba/src/kaffe-070215-dds3/libraries/clib/management/.libs:/home/inaba/src/kaffe-070215-dds3/libraries/clib/security/.libs
Aborting.
-------------------------------------------------------------------------
And, when I specify three '-with-staticX' config options I got
-------------------------------------------------------------------------
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/ExceptionInInitializerError
at java.lang.ClassLoader.getSystemClassLoader (ClassLoader.java:799)
caused by java/lang/NullPointerException:
at java.lang.VMRuntime.nativeLoad (VMRuntime.java:native)
at java.lang.Runtime.loadLib (Runtime.java:699)
at java.lang.Runtime.loadLibrary (Runtime.java:761)
at java.lang.System.loadLibrary (System.java:591)
at gnu.java.nio.FileChannelImpl.<clinit> (FileChannelImpl.java:87)
at java.io.FileDescriptor.<clinit> (FileDescriptor.java:63)
at java.lang.VMSystem.makeStandardInputStream (VMSystem.java:231)
at java.lang.System.<clinit> (System.java:74)
at java.io.File.checkRead (File.java:1338)
at java.io.File.isDirectory (File.java:650)
at java.lang.VMClassLoader.getResources (VMClassLoader.java:190)
at java.lang.VMClassLoader.getResource (VMClassLoader.java:169)
at java.lang.VMClassLoader.getBootPackages (VMClassLoader.java:247)
at java.lang.VMClassLoader.<clinit> (VMClassLoader.java:88)
at java.lang.ClassLoader$StaticData.<clinit> (ClassLoader.java:154)
at java.lang.ClassLoader.getSystemClassLoader (ClassLoader.java:799)
-------------------------------------------------------------------------
Kiyo
More information about the kaffe
mailing list