Skip to main content

MR4 Romizer build error..

3 replies [Last post]
gaganmalik
Offline
Joined: 2008-06-11

Hi,

I was trying to build the MR4 release for windows i386 and getting the following error in the last step - for building "phoneME Feature Software Reference Port"

C:\my\projects\vaporizer\mr4\phoneme_feature\midp\src\highlevelui\lcdlf\lfjava\resource\skin\imageitem.image_btn1.png
C:\my\projects\vaporizer\mr4\phoneme_feature\midp\src\highlevelui\lcdlf\lfjava\resource\skin\imageitem.image_btn2.png
C:\my\projects\vaporizer\mr4\phoneme_feature\midp\src\highlevelui\lcdlf\lfjava\resource\skin\imageitem.image_btn3.png
C:\my\projects\vaporizer\mr4\phoneme_feature\midp\src\highlevelui\lcdlf\lfjava\resource\skin\imageitem.image_btn4.png
C:\my\projects\vaporizer\mr4\phoneme_feature\midp\src\highlevelui\lcdlf\lfjava\resource\skin\imageitem.image_btn5.png
C:\my\projects\vaporizer\mr4\phoneme_feature\midp\src\highlevelui\lcdlf\lfjava\resource\skin\imageitem.image_btn6.png
C:\my\projects\vaporizer\mr4\phoneme_feature\midp\src\highlevelui\lcdlf\lfjava\resource\skin\imageitem.image_btn7.png
C:\my\projects\vaporizer\mr4\phoneme_feature\midp\src\highlevelui\lcdlf\lfjava\resource\skin\imageitem.image_btn8.png
... C:/my/projects/vaporizer/mr4/build_output/midp/tools_classes/Romizer.manifest
... building Romizer
... C:/my/projects/vaporizer/mr4/build_output/midp/bin/i386/Romizer.jar
Syntax error: end of file unexpected (expecting "fi")
make[1]: *** [C:/my/projects/vaporizer/mr4/build_output/midp/classes.zip] Error 2
make[1]: Leaving directory `C:/my/projects/vaporizer/mr4/phoneme_feature/midp/build/javacall'
make: *** [build_classes] Error 2
make: Leaving directory `C:/my/projects/vaporizer/mr4/phoneme_feature/midp/build/javacall'

I'm building on 32 bit Windows XP(SP3), VS 2005, JDK 1.6
Any clues as to what might be wrong??

Thanks for the help..

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
gaganmalik
Offline
Joined: 2008-06-11

ok I just noticed something.. I get the above error when I set USE_MULTIPLE_ISOLATES=true I get the above error.. but when this is not set during javacall and cldc, then the above step is passed.
But the build fails just afterwards with the following error (while building the feature software reference port):

--------------------------------------------------------------------------------------------------------------------
C:\my\projects\vaporizer\mr4\phoneme_feature\midp\src\highlevelui\lcdlf\lfjava\resource\skin\imageitem.image_btn0.png
C:\my\projects\vaporizer\mr4\phoneme_feature\midp\src\highlevelui\lcdlf\lfjava\resource\skin\imageitem.image_btn1.png
C:\my\projects\vaporizer\mr4\phoneme_feature\midp\src\highlevelui\lcdlf\lfjava\resource\skin\imageitem.image_btn2.png
C:\my\projects\vaporizer\mr4\phoneme_feature\midp\src\highlevelui\lcdlf\lfjava\resource\skin\imageitem.image_btn3.png
C:\my\projects\vaporizer\mr4\phoneme_feature\midp\src\highlevelui\lcdlf\lfjava\resource\skin\imageitem.image_btn4.png
C:\my\projects\vaporizer\mr4\phoneme_feature\midp\src\highlevelui\lcdlf\lfjava\resource\skin\imageitem.image_btn5.png
C:\my\projects\vaporizer\mr4\phoneme_feature\midp\src\highlevelui\lcdlf\lfjava\resource\skin\imageitem.image_btn6.png
C:\my\projects\vaporizer\mr4\phoneme_feature\midp\src\highlevelui\lcdlf\lfjava\resource\skin\imageitem.image_btn7.png
C:\my\projects\vaporizer\mr4\phoneme_feature\midp\src\highlevelui\lcdlf\lfjava\resource\skin\imageitem.image_btn8.png
... C:/my/projects/vaporizer/mr4/build_output/midp/tools_classes/Romizer.manifest
... building Romizer
... C:/my/projects/vaporizer/mr4/build_output/midp/bin/i386/Romizer.jar
... uncompressing CLDC classes
... compiling 519 .java files and 7 generated .java files
... compiling subset API java files...
C:\my\projects\vaporizer\mr4\phoneme_feature\midp\src\highlevelui\lcdui\reference\classes\com\sun\midp\lcdui\GameCanvasLFImpl.java:106: warn
ing: as of release 5, 'enum' is a keyword, and may not be used as an identifier
(use -source 5 or higher to use 'enum' as a keyword)
Enumeration enum = gVector.elements();
^
C:\my\projects\vaporizer\mr4\phoneme_feature\midp\src\highlevelui\lcdui\reference\classes\com\sun\midp\lcdui\GameCanvasLFImpl.java:110: warn
ing: as of release 5, 'enum' is a keyword, and may not be used as an identifier
(use -source 5 or higher to use 'enum' as a keyword)
while (enum.hasMoreElements()) {
^
C:\my\projects\vaporizer\mr4\phoneme_feature\midp\src\highlevelui\lcdui\reference\classes\com\sun\midp\lcdui\GameCanvasLFImpl.java:111: warn
ing: as of release 5, 'enum' is a keyword, and may not be used as an identifier
(use -source 5 or higher to use 'enum' as a keyword)
wr = (WeakReference)enum.nextElement();
^
C:\my\projects\vaporizer\mr4\phoneme_feature\midp\src\highlevelui\lcdui\reference\classes\com\sun\midp\lcdui\GameCanvasLFImpl.java:152: warn
ing: as of release 5, 'enum' is a keyword, and may not be used as an identifier
(use -source 5 or higher to use 'enum' as a keyword)
Enumeration enum = gVector.elements();
^
C:\my\projects\vaporizer\mr4\phoneme_feature\midp\src\highlevelui\lcdui\reference\classes\com\sun\midp\lcdui\GameCanvasLFImpl.java:156: warn
ing: as of release 5, 'enum' is a keyword, and may not be used as an identifier
(use -source 5 or higher to use 'enum' as a keyword)
while (enum.hasMoreElements()) {
^
C:\my\projects\vaporizer\mr4\phoneme_feature\midp\src\highlevelui\lcdui\reference\classes\com\sun\midp\lcdui\GameCanvasLFImpl.java:157: warn
ing: as of release 5, 'enum' is a keyword, and may not be used as an identifier
(use -source 5 or higher to use 'enum' as a keyword)
wr = (WeakReference)enum.nextElement();
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
6 warnings
... preverifying 621 .class files
... C:/my/projects/vaporizer/mr4/build_output/midp/classes.zip
make[1]: Leaving directory `C:/my/projects/vaporizer/mr4/phoneme_feature/midp/build/javacall'
... searching updated .java files
... uncompressing CLDC classes
... no need to recompile .java files
... generating C:/my/projects/vaporizer/mr4/build_output/midp/ROMImage.cpp
C:/my/projects/vaporizer/mr4/build_output/cldc/javacall_i386_vc/dist/bin/romgen.exe -romconfig C:/my/projects/vaporizer/mr4/build_output/mid
p/generated/rom_configs.lst +GenerateROMStructs +EnableROMCompilation +EnableAllROMOptimizations -cp C:/my/projects/vaporizer/mr4/build_outp
ut/midp/classes.zip -romize =HeapCapacity96M -romincludepath C:/my/projects/vaporizer/mr4/build_output/cldc/javacall_i386_vc/dist/lib -romin
cludepath C:/my/projects/vaporizer/mr4/phoneme_feature/midp/build/common/config

If romizer fails, increase your heap size.
E.g., =HeapCapacity80M

Starting free heap = 78574 KB
Loading classes...Miranda method in class: com/sun/jme/remoting/BasicObjectSkeleton
-> added com/sun/jme/remoting/ObjectSkeleton.processNextCommand

TraceExceptions: #java/lang/NoClassDefFoundError msg: String "com/sun/midp/services/SystemServiceConnectionClosedException"
Failed to verify class com/sun/midp/odd/ODTEngine$Autotester
Uncaught exception: java.lang.NoClassDefFoundError: com/sun/midp/services/SystemServiceConnectionClosedException
(stack trace incomplete)
Signal 127
make: *** [C:/my/projects/vaporizer/mr4/build_output/midp/ROMImage.cpp] Error 255
make: Leaving directory `C:/my/projects/vaporizer/mr4/phoneme_feature/midp/build/javacall'
--------------------------------------------------------------------------------------------------------------------

any clues? anyone?

danila
Offline
Joined: 2006-09-25

Check that SystemServiceConnectionClosedException is present in the classes.zip at
C:/my/projects/vaporizer/mr4/build_output/midp/classes.zip.
If not, try clean rebuild.

gaganmalik
Offline
Joined: 2008-06-11

hey.. thanks for getting back..

the class didn't exist in the classes.zip file, so I triggered a clean build.. but its giving the same error again..

com/sun/midp/services/SystemServiceConnectionClosedException is just not created..

any idea what could be the problem?