Re: [Midpath-general] Compile error with current cvs
Brought to you by:
guillaum1
From: Guillaume L. <gl...@th...> - 2008-03-10 23:05:27
|
I guess the GNU_CLASSPATH_PATH variable is not set correctly on top of the build.sh script. This variable must point to the Java SE standard classes. By default it's /usr/share/classpath/glibj.zip for Classpath on the Debian distribution. Modify it to fit your environment. If you use the Sun JDK, the path should be $YOUR_JDK_HOME/jre/lib/rt.jar Guillaume 2008/3/10, Simon Kagstrom <sim...@gm...>: > On Sat, 8 Mar 2008 01:17:24 +0100 > "Guillaume Legris" <gl...@th...> wrote: > > > Some classes are missing in your cldc1.1.jar. It's probably due to the > > fact that build.sh was broken under SVN: classes in > > components/cldc-glue (like java.util.Timer) were not added to the jar > > anymore. > > > > I've updated the build.sh script. It should work now. > > > Thanks! It got further this time, but stops on the messages below now. > > // Simon > > ecj -bootclasspath /home/ska/j2me/midpath/dist/cldc1.1.jar:/usr/share/classpath/glibj.zip:/home/ska/j2me/midpath/dist/sdljava-cldc.jar:/home/ska/j2me/midpath/dist/escher-x11-cldc.jar:/home/ska/j2me/midpath/lib/swt.jar -sourcepath /home/ska/j2me/midpath/components/microbackend -source 1.3 -target 1.1 org/thenesis/microbackend/ui/awt/AWTBackend.java > ---------- > 1. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 20) > import java.awt.Dimension; > ^^^^^^^^ > The import java.awt cannot be resolved > ---------- > 2. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 21) > import java.awt.Frame; > ^^^^^^^^ > The import java.awt cannot be resolved > ---------- > 3. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 22) > import java.awt.Graphics; > ^^^^^^^^ > The import java.awt cannot be resolved > ---------- > 4. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 23) > import java.awt.Panel; > ^^^^^^^^ > The import java.awt cannot be resolved > ---------- > 5. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 24) > import java.awt.event.KeyEvent; > ^^^^^^^^ > The import java.awt cannot be resolved > ---------- > 6. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 25) > import java.awt.event.KeyListener; > ^^^^^^^^ > The import java.awt cannot be resolved > ---------- > 7. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 26) > import java.awt.event.MouseEvent; > ^^^^^^^^ > The import java.awt cannot be resolved > ---------- > 8. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 27) > import java.awt.event.MouseListener; > ^^^^^^^^ > The import java.awt cannot be resolved > ---------- > 9. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 28) > import java.awt.event.MouseMotionListener; > ^^^^^^^^ > The import java.awt cannot be resolved > ---------- > 10. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 29) > import java.awt.event.WindowEvent; > ^^^^^^^^ > The import java.awt cannot be resolved > ---------- > 11. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 30) > import java.awt.event.WindowListener; > ^^^^^^^^ > The import java.awt cannot be resolved > ---------- > 12. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 31) > import java.awt.image.BufferedImage; > ^^^^^^^^ > The import java.awt cannot be resolved > ---------- > 13. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 41) > private Panel panel; > ^^^^^ > Panel cannot be resolved to a type > ---------- > 14. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 42) > private Frame frame; > ^^^^^ > Frame cannot be resolved to a type > ---------- > 15. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 43) > protected BufferedImage screenImage; > ^^^^^^^^^^^^^ > BufferedImage cannot be resolved to a type > ---------- > 16. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 72) > final Dimension dimension = new Dimension(canvasWidth, canvasHeight); > ^^^^^^^^^ > Dimension cannot be resolved to a type > ---------- > 17. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 72) > final Dimension dimension = new Dimension(canvasWidth, canvasHeight); > ^^^^^^^^^ > Dimension cannot be resolved to a type > ---------- > 18. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 73) > panel = new Panel() { > ^^^^^ > panel cannot be resolved > ---------- > 19. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 73) > panel = new Panel() { > ^^^^^ > Panel cannot be resolved to a type > ---------- > 20. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 96) > frame = new Frame(); > ^^^^^ > frame cannot be resolved > ---------- > 21. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 96) > frame = new Frame(); > ^^^^^ > Frame cannot be resolved to a type > ---------- > 22. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 97) > frame.addWindowListener(listener); > ^^^^^ > frame cannot be resolved > ---------- > 23. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 98) > panel.addKeyListener(listener); > ^^^^^ > panel cannot be resolved > ---------- > 24. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 99) > panel.addMouseListener(listener); > ^^^^^ > panel cannot be resolved > ---------- > 25. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 100) > panel.addMouseMotionListener(listener); > ^^^^^ > panel cannot be resolved > ---------- > 26. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 101) > frame.add(panel); > ^^^^^ > frame cannot be resolved > ---------- > 27. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 101) > frame.add(panel); > ^^^^^ > panel cannot be resolved > ---------- > 28. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 102) > frame.setResizable(false); > ^^^^^ > frame cannot be resolved > ---------- > 29. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 103) > frame.pack(); > ^^^^^ > frame cannot be resolved > ---------- > 30. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 104) > frame.setVisible(true); > ^^^^^ > frame cannot be resolved > ---------- > 31. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 105) > panel.requestFocus(); > ^^^^^ > panel cannot be resolved > ---------- > 32. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 114) > if (screenImage == null) { > ^^^^^^^^^^^ > screenImage cannot be resolved > ---------- > 33. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 115) > screenImage = new BufferedImage(w, h, BufferedImage.TYPE_INT_RGB); > ^^^^^^^^^^^ > screenImage cannot be resolved > ---------- > 34. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 115) > screenImage = new BufferedImage(w, h, BufferedImage.TYPE_INT_RGB); > ^^^^^^^^^^^^^ > BufferedImage cannot be resolved to a type > ---------- > 35. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 115) > screenImage = new BufferedImage(w, h, BufferedImage.TYPE_INT_RGB); > ^^^^^^^^^^^^^ > BufferedImage cannot be resolved > ---------- > 36. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 118) > screenImage.setRGB(0, 0, w, h, argbPixels, 0, w); > ^^^^^^^^^^^ > screenImage cannot be resolved > ---------- > 37. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 119) > panel.repaint(); > ^^^^^ > panel cannot be resolved > ---------- > 38. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 123) > frame.dispose(); > ^^^^^ > frame cannot be resolved > ---------- > 39. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 128) > private class AWTEventConverter implements KeyListener, MouseListener, MouseMotionListener, WindowListener { > ^^^^^^^^^^^ > KeyListener cannot be resolved to a type > ---------- > 40. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 128) > private class AWTEventConverter implements KeyListener, MouseListener, MouseMotionListener, WindowListener { > ^^^^^^^^^^^^^ > MouseListener cannot be resolved to a type > ---------- > 41. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 128) > private class AWTEventConverter implements KeyListener, MouseListener, MouseMotionListener, WindowListener { > ^^^^^^^^^^^^^^^^^^^ > MouseMotionListener cannot be resolved to a type > ---------- > 42. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 128) > private class AWTEventConverter implements KeyListener, MouseListener, MouseMotionListener, WindowListener { > ^^^^^^^^^^^^^^ > WindowListener cannot be resolved to a type > ---------- > 43. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 130) > public void keyPressed(KeyEvent e) { > ^^^^^^^^ > KeyEvent cannot be resolved to a type > ---------- > 44. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 135) > public void keyReleased(KeyEvent e) { > ^^^^^^^^ > KeyEvent cannot be resolved to a type > ---------- > 45. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 141) > public void keyTyped(KeyEvent e) {} > ^^^^^^^^ > KeyEvent cannot be resolved to a type > ---------- > 46. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 142) > public void mouseClicked(MouseEvent e) {} > ^^^^^^^^^^ > MouseEvent cannot be resolved to a type > ---------- > 47. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 143) > public void mouseEntered(MouseEvent e) {} > ^^^^^^^^^^ > MouseEvent cannot be resolved to a type > ---------- > 48. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 144) > public void mouseExited(MouseEvent e) {} > ^^^^^^^^^^ > MouseEvent cannot be resolved to a type > ---------- > 49. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 145) > public void mouseDragged(MouseEvent e) {} > ^^^^^^^^^^ > MouseEvent cannot be resolved to a type > ---------- > 50. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 147) > public void mousePressed(MouseEvent e) { > ^^^^^^^^^^ > MouseEvent cannot be resolved to a type > ---------- > 51. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 152) > public void mouseReleased(MouseEvent e) { > ^^^^^^^^^^ > MouseEvent cannot be resolved to a type > ---------- > 52. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 157) > public void mouseMoved(MouseEvent e) { > ^^^^^^^^^^ > MouseEvent cannot be resolved to a type > ---------- > 53. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 162) > public void windowClosing(WindowEvent e) { > ^^^^^^^^^^^ > WindowEvent cannot be resolved to a type > ---------- > 54. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 167) > public void windowClosed(WindowEvent e) {} > ^^^^^^^^^^^ > WindowEvent cannot be resolved to a type > ---------- > 55. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 168) > public void windowActivated(WindowEvent arg0) {} > ^^^^^^^^^^^ > WindowEvent cannot be resolved to a type > ---------- > 56. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 169) > public void windowDeactivated(WindowEvent arg0) {} > ^^^^^^^^^^^ > WindowEvent cannot be resolved to a type > ---------- > 57. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 170) > public void windowDeiconified(WindowEvent arg0) {} > ^^^^^^^^^^^ > WindowEvent cannot be resolved to a type > ---------- > 58. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 171) > public void windowIconified(WindowEvent arg0) {} > ^^^^^^^^^^^ > WindowEvent cannot be resolved to a type > ---------- > 59. ERROR in org/thenesis/microbackend/ui/awt/AWTBackend.java (at line 172) > public void windowOpened(WindowEvent arg0) {} > ^^^^^^^^^^^ > WindowEvent cannot be resolved to a type > ---------- > 59 problems (59 errors)make: *** [org/thenesis/microbackend/ui/awt/AWTBackend.class] Error 255 > |