Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 39517 invoked from network); 16 Nov 2005 20:23:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Nov 2005 20:23:35 -0000 Received: (qmail 60504 invoked by uid 500); 16 Nov 2005 20:23:30 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 60411 invoked by uid 500); 16 Nov 2005 20:23:29 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 60400 invoked by uid 99); 16 Nov 2005 20:23:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Nov 2005 12:23:29 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: unknown (asf.osuosl.org: error in processing during lookup of archie@dellroad.org) Received: from [216.239.128.26] (HELO smtp.omnis.com) (216.239.128.26) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Nov 2005 12:25:02 -0800 Received: from [10.3.2.13] (unknown [208.63.111.51]) by smtp-relay.omnis.com (Postfix) with ESMTP id 08C791407DDB for ; Wed, 16 Nov 2005 12:23:04 -0800 (PST) Message-ID: <437B9527.4070005@dellroad.org> Date: Wed, 16 Nov 2005 14:23:03 -0600 From: Archie Cobbs User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129 X-Accept-Language: en-us, en MIME-Version: 1.0 To: harmony-dev@incubator.apache.org Subject: Re: JCHEVM builds and runs References: <4377BAEC.70207@dellroad.org> <437B8CA8.3040607@telefonica.net> In-Reply-To: <437B8CA8.3040607@telefonica.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Jean-frederic Clere wrote: > Archie Cobbs wrote: > >> For anyone who wants to play with the JCHEVM contribution, the code in >> https://svn.apache.org/repos/asf/incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm >> >> should now be buildable and runnable (on x86 machines only). > > > I have probably done something wrong: > +++ > gcc -DHAVE_CONFIG_H -I. -I. -I../include -I./native -I./arch > -I/opt/SMAWPlus/openssl/include -I/opt/SMAWPlus/include -g -O2 -g -O3 > -pipe -Wall -Waggregate-return -Wcast-align -Wchar-subscripts -Wcomment > -Wformat -Wimplicit -Wmissing-declarations -Wmissing-prototypes > -Wnested-externs -Wno-long-long -Wparentheses -Wpointer-arith > -Wredundant-decls -Wreturn-type -Wswitch -Wtrigraphs -Wuninitialized > -Wunused -Wwrite-strings -D_AC_INCLUDEDIR=\"/usr/local/include\" > -D_AC_DATADIR=\"/usr/local/share\" -D_AC_LIBDIR=\"/usr/local/lib\" > -D_AC_SYSCONFDIR=\"/usr/local/etc\" > -D_JC_CLASSPATH_HOME=\"/usr/local/classpath\" > -D_JC_BOOTSTRAP_JAVA=\"/home/jfclere/JAVA/j2sdk1.4.2_06/bin/java\" > -D_JC_GNU_COMPILER=\"/usr/bin/gcc\" -g -O2 -MT vm.lo -MD -MP -MF > .deps/vm.Tpo -c vm.c -fPIC -DPIC -o .libs/vm.o > vm.c:22:30: java_lang_Thread.h: No such file or directory > vm.c: In function `_jc_create_vm': > vm.c:215: `java_lang_Thread_MIN_PRIORITY' undeclared (first use in this > function) > vm.c:215: (Each undeclared identifier is reported only once > vm.c:215: for each function it appears in.) > vm.c:216: `java_lang_Thread_MAX_PRIORITY' undeclared (first use in this > function) > vm.c:217: `java_lang_Thread_NORM_PRIORITY' undeclared (first use in this > function) > make[2]: *** [vm.lo] Error 1 > make[2]: Leaving directory > `/home/jfclere/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/libjc' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/home/jfclere/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/libjc' > make: *** [all-recursive] Error 1 > +++ > > Any hints? Yes.. you are trying to build from the SVN checkout rather than creating a distribution first and building from that.. see instructions in APACHE.README for how to build the distribution first, etc. This is a result of the fact that in order to avoid stale/redundant info, some files required for build are not checked in, e.g., the jcjavah generated native header files (which is what is causing the above failure). -Archie __________________________________________________________________________ Archie Cobbs * CTO, Awarix * http://www.awarix.com