[kaffe] library problem on darwin6

Riccardo zuse at libero.it
Tue Dec 7 14:51:30 PST 2004


Hey,

eager to check guilhem's patches, I updated to CVS and built stright 
away a pthread build.

It compiles but fails:

Compiling classes from  @all.files  using  /Users/multix/kaffe-cvs/
darwin-intrp/kaffe/kaffe/kaffe-bin -verbosegc -ss 500k -mx 512M at.dms.
kjc.Main
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/UnsatisfiedLinkError: dyld: /Users/multix/kaffe-cvs/darwin-
intrp/kaffe/kaffe/.libs/kaffe-bin can't open library: /usr/local/kaffe/
jre/lib/powerpc/libc????
Adding its directory to LD_LIBRARY_PATH may help.
        at java.lang.VMThrowable.fillInStackTrace(VMThrowable.java:
native)
        at java.lang.VMThrowable.fillInStackTrace(VMThrowable.java:76)
        at java.lang.Throwable.fillInStackTrace(Throwable.java:502)
        at java.lang.Throwable.<init>(Throwable.java:157)
        at java.lang.Error.<init>(Error.java:81)
        at java.lang.LinkageError.<init>(LinkageError.java:72)
        at java.lang.UnsatisfiedLinkError.<init>(UnsatisfiedLinkError.
java:72)
        at java.lang.Runtime.loadLibrary(Runtime.java:172)
        at java.lang.System.loadLibrary(System.java:140)
        at gnu.java.nio.channels.FileChannelImpl.<clinit>(
FileChannelImpl.java:81)
        at java.io.FileDescriptor.<clinit>(FileDescriptor.java:63)
        at java.lang.System.<clinit>(System.java:59)
        at java.lang.ClassLoader.<init>(ClassLoader.java:115)
        at java.lang.ClassLoader.<init>(ClassLoader.java:111)
        at java.security.SecureClassLoader.<init>(SecureClassLoader.java:
60)
        at java.net.URLClassLoader.<init>(URLClassLoader.java:548)
        at kaffe.lang.AppClassLoader.<init>(AppClassLoader.java:237)
        at kaffe.lang.AppClassLoader.<clinit>(AppClassLoader.java:35)
/rebuildLib: line 60: 12406 Abort trap              (core dumped) 
$JAVAC $VERBOSE $JAVAC_FLAGS -d $LIBDIR $CPATH ${1+"$@"}



note the funny chars after /usr/local/kaffe/jre/lib/powerpc/libc


I tried a jthread build, the same. I tried a clean build and rechecked 
out all files from cvs. The same. So something broke and it is probably 
not related to guilhem's work... but some other change.

-R





More information about the kaffe mailing list