From owner-freebsd-java Fri Dec 15 13:37:51 2000 From owner-freebsd-java@FreeBSD.ORG Fri Dec 15 13:37:48 2000 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id AB48B37B400 for ; Fri, 15 Dec 2000 13:37:42 -0800 (PST) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id IAA12859; Sat, 16 Dec 2000 08:07:38 +1030 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200012152137.IAA12859@ares.trc.adelaide.edu.au> Subject: Re: OpenJIT, scene II In-Reply-To: <200012151152.MAA00847@kuti.cetelem.hu> from Zsolt Kuti at "Dec 15, 2000 12:52:31 pm" To: Zsolt Kuti Date: Sat, 16 Dec 2000 08:07:38 +1030 (CST) Cc: freebsd-java@freebsd.org X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: glewis@ares.trc.adelaide.edu.au Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Zsolt Kuti wrote: > Hello! > > The hints helped somewhat. I updated my jdk1.2.2/lib/tools.jar with a FreeBSD_i386.properties (empty) file from the work/src/share/classes/com/sun/tools/javah/resources. Then OpenJIT gmake continued, now producing an error expected. I had the files in CClassHeaders and changed according to the guide (line 178 in 1.1.15). > But now other problem occurs: > > gmake ./libOpenJIT_g.so VARIANT=DBG > gmake[1]: Entering directory `/usr/home/kuti/OpenJIT-1.1.15' > gcc -g -Wall -Wno-unknown-pragmas -DDEBUG -DJCOV -DHAVE_ALIGNED_DOUBLES -DHAVE_ALIGNED_LONGLONGS -I/usr/local/jdk1.2.2/include-old -I/usr/local/jdk1.2.2/include-old/freebsd -I./CClassHeaders -DARCH=\"X86\" -DJDK_VERSION_STRING=\"1.2.2\" -c -o obj_g/api.o api.c > In file included from /usr/local/jdk1.2.2/include-old/oobj.h:25, > from OpenJIT.h:56, > from api.c:52: > /usr/local/jdk1.2.2/include-old/typedefs.h:18: typedefs_md.h: No such file or directory > In file included from /usr/local/jdk1.2.2/include-old/oobj.h:29, > from OpenJIT.h:56, > from api.c:52: > /usr/local/jdk1.2.2/include-old/util.h:20: miscdefs_md.h: No such file or directory > In file included from /usr/local/jdk1.2.2/include-old/interpreter.h:24, > from OpenJIT.h:57, > [..cut..] > /usr/local/jdk1.2.2/include-old/typecodes.h:15: miscdefs_md.h: No such file or directory > In file included from OpenJIT.h:63, > from api.c:52: > /usr/local/jdk1.2.2/include-old/jmath.h:24: jmath_md.h: No such file or directory > gmake[1]: *** [obj_g/api.o] Error 1 > gmake[1]: Leaving directory `/usr/home/kuti/OpenJIT-1.1.15' > gmake: *** [debug] Error 2 > > So, header files in include-old refers in some cases to non-existent ones. > Any idea how to proceed? Your JDK installation is really broken. All these files are in /usr/local/jdk1.2.2/include-old/freebsd, which is being correctly listed in the compilation line. Which version of FreeBSD do you have? I'm sorry if you mentioned this earlier, but I can't recall what it was. This is all too weird. - Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message