[kaffe] Can't find libawt?

Jerry zhgjerry at eyou.com
Wed Jul 14 19:38:59 PDT 2004


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?

Thx.
Jerry

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








--http://www.eyou.com
--Îȶ¨¿É¿¿µÄµç×ÓÐÅÏä  ÓïÒôÓʼþ  Òƶ¯ÊéÇ©  ÈÕÀú·þÎñ  ÍøÂç´æ´¢...ÒÚÓÊδ¾¡

--http://vip.eyou.com
--¿ì¿ìµÇ¼ÒÚÓÊVIPÐÅÏä  ×¢²áÄúÖÐÒâµÄÓû§Ãû






More information about the kaffe mailing list