compiling j2me for sparc/rtems

Per-Olof.Wallin at esa.int Per-Olof.Wallin at esa.int
Tue May 28 16:02:03 UTC 2002


Hi

I'm trying to compile the j2me port for rtems, made by Rosimildo da Silva.
During the compilation I get the following error message:


-------------------------------------------------------------------------------------------------------------------------------------------
make[3]: Entering directory `/users/pwallin/j2me_cldc_1.0_rtems/tools/jcc'
... nativeFunctionTableRtems.c
WARNING: Class com/sun/cldc/io/j2me/socket/Protocol has an impure constant
pool
which refers to the following undefined elements:
class com/sun/cldc/io/j2me/socket/PrivateInputStreamWithBuffer
make[3]: Leaving directory `/users/pwallin/j2me_cldc_1.0_rtems/tools/jcc'
make[3]: Entering directory `/users/pwallin/j2me_cldc_1.0_rtems/tools/jcc'
... ROMjavaRtems.c
WARNING: Class com/sun/cldc/io/j2me/socket/Protocol has an impure constant
pool
which refers to the following undefined elements:
class com/sun/cldc/io/j2me/socket/PrivateInputStreamWithBuffer
Unresolved class constant: Class:
com/sun/cldc/io/j2me/socket/PrivateInputStreamWithBuffer
Unresolved method constant: MethodRef:
com/sun/cldc/io/j2me/socket/PrivateInputStreamWithBuffer . <init> :
(Lcom/sun/cldc/io/j2me/socket/Protocol;I)V
Cannot write UTF entry:
"com/sun/cldc/io/j2me/socket/PrivateInputStreamWithBuffer"
ERROR: constant 12141 Total Classes
1246 method blocks
30679 bytes of Java code
78 catch frames
394 field blocks
2106 constant pool entries
251 Java strings
make[3]: *** [ROMjavaRtems.c] Error 1
make[3]: Leaving directory `/users/pwallin/j2me_cldc_1.0_rtems/tools/jcc'
make[2]: *** [ROMjavaRtems.c] Error 2
make[2]: Leaving directory `/users/pwallin/j2me_cldc_1.0_rtems/tools/jcc'
make[1]: *** [jccRtems] Error 2
make[1]: Leaving directory
`/users/pwallin/j2me_cldc_1.0_rtems/kvm/VmRtems/build'
make: *** [all] Error 1
-------------------------------------------------------------------------------------------------------------------------------------------

I have searched for the class PrivateInputStreamWithBuffer, but have not been
able to locate, nor have I been able to locate where in the class
com/sun/cldc/io/j2me/socket/Protocol it is referenced.

Can someone help me with this?
Does anyone have any similar experience with using this j2me port?

Regards

Per-Olof Wallin
---------------------------------------------------------------------------------

Young Graduate Trainee
European Space Agency - ESTEC
Office phone: +31-71-565 5621
Per-Olof.Wallin at esa.int





More information about the users mailing list