Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <009201c296a8$e32610b0$c518718c@Worker2> From: To: "Elfyn McBratney" , References: Subject: Re: [Problem] Compile KVM on Windows using Cygwin Date: Thu, 28 Nov 2002 14:39:22 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 > Im not sure exactly what your compiling (a java compiler maybe? if so you > could use gcj as an alternative). KVM is a reference java virtual machine implementaion in sun's J2ME platform. > >Can anybody help to solve this problem? > >Or somebody has similiar experiences? > >Any reply will be appreciated. > Were there any other errors? Im not that into java so i don't know what > parent in this means (class thing?) but it sounds as though something is > missing in the source tree or in the jsdk. > What are the installation requirements of ...j2me_cldc...? Does your cygwin > install meet those requirements? According to the README of j2me_cldc, it can be built with Visual C++ or Gnu C++ on Cygwin. With some modifications of its Makefile, the compiling works. However, during the last stage, the error I reported occurs. More specific, the error occurs when executing the following command: $ java -classpath classes JavaCodeCompact -nq -arch KVM -o ROMjavaWin.c classesWin.zip It seems that the virtual machine "java" executes the "JavaCodeCompact" class file, with some parameters to feed to the class file. But it turns out that some classes go wrong. I have no idea how to fix the problem, and I hope there will be somebody helping out. Thanks for your replying. :.> **************************************************** > >The compiling process fails on "tools/jcc" > >The debugging messages are as follows. > > > >make[1]: Entering directory `/home/USER/j2me_cldc_103/api' > >make[1]: Leaving directory `/home/USER/j2me_cldc_103/api' > >... classes.zip > >make[1]: Entering directory `/home/USER/j2me_cldc_103/tools/jcc' > >... nativeFunctionTableWin.c > >make[1]: Leaving directory `/home/USER/j2me_cldc_103/tools/jcc' > >make[1]: Entering directory `/home/USER/j2me_cldc_103/tools/jcc' > >... ROMjavaWin.c > >Failed on com/sun/cldc/i18n/Helper.class > >Failed on com/sun/cldc/i18n/j2me/ISO8859_1_Reader.class > >Failed on com/sun/cldc/i18n/j2me/ISO8859_1_Writer.class > >Failed on com/sun/cldc/i18n/StreamReader.class > >Failed on com/sun/cldc/i18n/StreamWriter.class > >Failed on com/sun/cldc/i18n/uclc/DefaultCaseConverter.class > >Failed on com/sun/cldc/io/ConnectionBase.class > >Failed on com/sun/cldc/io/ConnectionBaseInterface.class > >Failed on com/sun/cldc/io/connections/HttpConnection.class > >... > >... > >Failed on javax/microedition/io/OutputConnection.class > >Failed on javax/microedition/io/StreamConnectionNotifier.class > >Class javax/microedition/io/StreamConnection is missing parent > >java/lang/Object > >Class java/util/Enumeration is missing parent java/lang/Object > >Class java/lang/Runnable is missing parent java/lang/Object > >make[1]: *** [ROMjavaWin.c] Error 1 > >make[1]: Leaving directory `/home/USER/j2me_cldc_103/tools/jcc' > >make: *** [ROMjavaWin.c] Error 2 ----------------------------------------------------------------- < ¨C¤Ñ³£ Yahoo!©_¼¯ > www.yahoo.com.tw -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/