Michael Franz wrote:

I can not find any patch attached to your email.



Ooops. Sorry, here it is.

On Thu, 30 Dec 2004 15:41:16 +0100, Guilhem Lavaux <[EMAIL PROTECTED]> wrote:


Michael Franz wrote:



Hi,

I have been trying to build HEAD and am having problems on darwin 7.
This is the output from make check.





Hi,

I've seen that this may be due to the subsystem which guesses the type
of error when loading a native library from the error string.
What happens if you apply the attached patch ? The problem is that we
weaken the condition... the ideal would be to test the existence using
access or a system equivalent. Maybe we'll have to add a generic method
which we'll implement in replace.

Regards,

Guilhem Lavaux.



Making check in compile_time
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/UnsatisfiedLinkError: dlcompat: file
"/Users/mfranz/development/kaffe-dev/intrp/kaffe/libraries/clib/native/libnio.so"
not found
      at java.lang.Runtime.linkLibrary(Runtime.java:native)
      at java.lang.Runtime.loadLibrary(Runtime.java:187)
      at java.lang.System.loadLibrary(System.java:132)
      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:44)
      at java.security.SecureClassLoader.<init>(SecureClassLoader.java:61)
      at java.net.URLClassLoader.<init>(URLClassLoader.java:548)
      at kaffe.lang.AppClassLoader.<init>(AppClassLoader.java:237)
      at kaffe.lang.AppClassLoader.<clinit>(AppClassLoader.java:35)
      at java.lang.VMClassLoader.getSystemClassLoader(VMClassLoader.java:293)
      at java.lang.ClassLoader$StaticData.<clinit>(ClassLoader.java:160)
      at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:772)
make[5]: *** [ClassToInterface.class] Abort trap
make[4]: *** [check-recursive] Error 1

_______________________________________________
kaffe mailing list
[email protected]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe











Index: kaffe/kaffevm/external.c
===================================================================
RCS file: /cvs/kaffe/kaffe/kaffe/kaffevm/external.c,v
retrieving revision 1.76
diff -u -r1.76 external.c
--- kaffe/kaffevm/external.c    22 Dec 2004 00:22:03 -0000      1.76
+++ kaffe/kaffevm/external.c    30 Dec 2004 14:41:29 -0000
@@ -275,7 +275,7 @@
                                                        "Unknown error",
                                                        errsiz);
                                }
-                               else if( (strstr(err, "ile not found") ||
+                               else if( (strstr(err, " not found") ||
                                          strstr(err, "annot open")) )
                                {
                                 char *last_sep = strrchr (path, 
file_separator[0]);
_______________________________________________
kaffe mailing list
[email protected]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to