[kaffe] Can't find libawt?

Fabien Renaud renaud at nentec.de
Thu Jul 15 05:34:33 PDT 2004


Jerry wrote:

>Hi robilad:
>   Thx for your reply!
>
>  
>
>>>when i tryed program of qtopia,it return also these warnings,but that time
>>>      
>>>
>I
>  
>
>>>can pass "-qws" to the application,when there was a higher layer between
>>>      
>>>
>it
>  
>
>>>,how can I pass it to the application.I tryed "kaffe Calc -qws".It
>>>      
>>>
>doesn't
>  
>
>>>work.
>>>      
>>>
>
>  
>
>>>Internal error: caught an unexpected exception.
>>>Please check your CLASSPATH and your installation.
>>>java/lang/NullPointerException
>>>Aborted
>>>*******************************/
>>>
>>>the details of Debug msg was follow:
>>>
>>>/*******************************
>>>asked to translate = java/awt/Toolkit.tlkInit((Ljava/lang/String;)Z)
>>>Method = java/awt/Toolkit.tlkInit(Ljava/lang/String;)Z
>>>Native stub = 'java_awt_Toolkit_tlkInit'
>>>Couldn't find java_awt_Toolkit_tlkInit in library handle 0 == libnative.
>>>Error message is /cvs/xscale/jre/lib/arm/libkaffevm-1.1.x-cvs.so:
>>>      
>>>
>undefined
>  
>
>>>symbol: java_awt_Toolkit_tlkInit.
>>>Couldn't find java_awt_Toolkit_tlkInit in library handle 1 == libnio.
>>>Error message is /cvs/xscale/jre/lib/arm/libkaffevm-1.1.x-cvs.so:
>>>      
>>>
>undefined
>  
>
>>>symbol: java_awt_Toolkit_tlkInit.
>>>Couldn't find java_awt_Toolkit_tlkInit in library handle 2 == libio.
>>>Error message is /cvs/xscale/jre/lib/arm/libkaffevm-1.1.x-cvs.so:
>>>      
>>>
>undefined
>  
>
>>>symbol: java_awt_Toolkit_tlkInit.
>>>Couldn't find java_awt_Toolkit_tlkInit in library handle 3 == libawt.
>>>Error message is /cvs/xscale/jre/lib/arm/libkaffevm-1.1.x-cvs.so:
>>>      
>>>
>undefined
>  
>
>>>symbol: java_awt_Toolkit_tlkInit.
>>>Couldn't find Java_java_awt_Toolkit_tlkInit in library handle 0 ==
>>>libnative.
>>>Error message is /cvs/xscale/jre/lib/arm/libkaffevm-1.1.x-cvs.so:
>>>      
>>>
>undefined
>  
>
>>>symbol: Java_java_awt_Toolkit_tlkInit.
>>>Couldn't find Java_java_awt_Toolkit_tlkInit in library handle 1 ==
>>>      
>>>
>libnio.
>  
>
>>>Error message is /cvs/xscale/jre/lib/arm/libkaffevm-1.1.x-cvs.so:
>>>      
>>>
>undefined
>  
>
>>>symbol: Java_java_awt_Toolkit_tlkInit.
>>>Couldn't find Java_java_awt_Toolkit_tlkInit in library handle 2 == libio.
>>>Error message is /cvs/xscale/jre/lib/arm/libkaffevm-1.1.x-cvs.so:
>>>      
>>>
>undefined
>  
>
>>>symbol: Java_java_awt_Toolkit_tlkInit.
>>>      
>>>
>
>
>  
>
>>>Found Java_java_awt_Toolkit_tlkInit in library handle 3 == libawt.
>>>      
>>>
>
>I have tryed the arm-linux-nm,and the java_awt_Toolkit_tlkInit really just
>there.
>May be the debug msg above meant the method had been found.
>
>the QTE and the Kaffe,I all used arm-linux-gcc 3.2.1 to compile.And the QTDIR
>I had checked.
>
>the sp_offset of My Xscale was 8 against 20,so I had to modify
>config/arm/linux/md.h 
>#define SP_OFFSET 20 =>  #define SP_OFFSET 8
>before I modified it,not only the AWT,but also the HelloWorld can't pass.
>Is this any Questions?
>  
>

I think the problem does not come from here.
For me, the correct  value is 8 but I have 20 in md.h and everything 
works (since Dalibor wrote a patch changing asm into C)

Cheers,
Fabien

>Thx.
>Jerry
>
>  
>
>>You can use nm to figure out if Java_java_awt_Toolkit_tlkInit is really
>>in your libawt.
>>    
>>






More information about the kaffe mailing list