Unsatisfied symbols

Pavel.Roskin at ecsoft.co.uk Pavel.Roskin at ecsoft.co.uk
Tue Aug 25 02:50:32 PDT 1998




Hello!

I have upgraded Kaffe from the CVS and this is what I have now:

collect2: ld returned 1 exit status
/bin/ld: Unsatisfied symbols:
   java_lang_SecurityManager_getClassContext (code)
   java_lang_SecurityManager_currentLoadedClass0 (code)
   java_lang_Thread_finalize0 (code)
   java_lang_SecurityManager_classLoaderDepth (code)
   java_lang_SecurityManager_currentClassLoader (code)
   java_lang_SecurityManager_classDepth (code)

Following patch fixes the problem, but it would be much better to ask for
the patch the creators of this problem.

===========================================
--- kaffe/libraries/clib/native/external_wrappers.h.orig        Fri Aug  7
09:01:29 1998
+++ kaffe/libraries/clib/native/external_wrappers.h     Tue Aug 25 09:39:25
 1998
@@ -171,11 +171,7 @@
 KAFFE_NATIVE(java_lang_Runtime_traceInstructions)
 KAFFE_NATIVE(java_lang_Runtime_traceMethodCalls)
 KAFFE_NATIVE(java_lang_Runtime_runFinalizersOnExit0)
-KAFFE_NATIVE(java_lang_SecurityManager_getClassContext)
-KAFFE_NATIVE(java_lang_SecurityManager_currentClassLoader)
-KAFFE_NATIVE(java_lang_SecurityManager_classDepth)
-KAFFE_NATIVE(java_lang_SecurityManager_classLoaderDepth)
-KAFFE_NATIVE(java_lang_SecurityManager_currentLoadedClass0)
+KAFFE_NATIVE(java_lang_SecurityManager_getClassContext0)
 KAFFE_NATIVE(java_lang_String_intern)
 KAFFE_NATIVE(java_lang_String_unintern)
 KAFFE_NATIVE(java_lang_System_arraycopy)
@@ -197,7 +193,6 @@
 KAFFE_NATIVE(java_lang_Thread_resume0)
 KAFFE_NATIVE(java_lang_Thread_isInterrupted)
 KAFFE_NATIVE(java_lang_Thread_interrupt0)
-KAFFE_NATIVE(java_lang_Thread_finalize0)
 KAFFE_NATIVE(java_lang_Throwable_fillInStackTrace)
 KAFFE_NATIVE(java_lang_Throwable_printStackTrace0)
 KAFFE_NATIVE(Java_kaffe_lang_UNIXProcess_forkAndExec)
===========================================

Pavel Roskin <pavel.roskin at ecsoft.co.uk>




More information about the kaffe mailing list