From owner-freebsd-java Sat Aug 25 11: 3:48 2001 Delivered-To: freebsd-java@freebsd.org Received: from daedalus.cs.brandeis.edu (daedalus.cs.brandeis.edu [129.64.3.179]) by hub.freebsd.org (Postfix) with ESMTP id 5374D37B405 for ; Sat, 25 Aug 2001 11:03:42 -0700 (PDT) (envelope-from meshko@daedalus.cs.brandeis.edu) Received: from localhost (meshko@localhost) by daedalus.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id OAA11394; Sat, 25 Aug 2001 14:03:29 -0400 Date: Sat, 25 Aug 2001 14:03:29 -0400 (EDT) From: Mikhail Kruk To: Fuyuhiko Maruyama Cc: Greg Lewis , Subject: native jdk1.3.1 OpenJIT In-Reply-To: <55wv3sqxtc.wl@tripper.private> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=KOI8-R Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > In fact, I haven't try OpenJIT with jdk1.3.1 on FreeBSD yet. It is > known to work with jdk1.3.x in Solaris and Linux, once you have > OpenJIT compiled against jdk1.3.1, it will work for FreeBSD's jdk1.3.1 > as well. To do so, it may need some patch for OpenJIT to fix the path > problem: the name of directory includes JDK's system dependent header > files are changed from jdk1.2.2-patchset10 days, it is used to > {include,include-old}/freebsd, but now it is > {include,include-old}/bsd. > > Making symbolic link > /usr/local/jdk1.3.1/include/freebsd->/usr/local/jdk1.3.1/include/bsd > and > /usr/local/jdk1.3.1/include-old/freebsd->/usr/local/jdk1.3.1/include-old/bsd > may also fix the problem. I've made the links, but when I try to compile openjit it complains that jni.h is not found. In file included from OpenJIT.h:57, from api.c:52: /home/meshko/tmp/java/j2sdk1.3.1/build/bsd-i386/include-old/interpreter.h:24: jni.h: No such file or directory In file included from /home/meshko/tmp/java/j2sdk1.3.1/build/bsd-i386/include-old/interpreter.h:25, from OpenJIT.h:57, from api.c:52: /home/meshko/tmp/java/j2sdk1.3.1/build/bsd-i386/include-old/jvm.h:17: jni.h: No such file or directory In file included from /home/meshko/tmp/java/j2sdk1.3.1/build/bsd-i386/include-old/interpreter.h:28, from OpenJIT.h:57, from api.c:52: /home/meshko/tmp/java/j2sdk1.3.1/build/bsd-i386/include-old/dll.h:14: jni.h: No such file or directory etc I've tried forcing it to -I/home/meshko/tmp/java/j2sdk1.3.1/build/bsd-i386/include and /home/meshko/tmp/java/j2sdk1.3.1/build/bsd-i386/include/bsd (which it didnot before) but then I got this: api.c: In function `OpenJIT_PCinCompiledCode': api.c:473: `uint_t' undeclared (first use in this function) api.c:473: (Each undeclared identifier is reported only once api.c:473: for each function it appears in.) api.c:473: syntax error before `pc' api.c:473: syntax error before `mb' api.c:474: warning: control reaches end of non-void function gmake[1]: *** [obj/api.o] ïÛÉÂËÁ 1 Well, I gotta run now. Hopefully I will get back to this later. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message