Date: Sat, 25 Aug 2001 14:03:29 -0400 (EDT) From: Mikhail Kruk <meshko@cs.brandeis.edu> To: Fuyuhiko Maruyama <fuyuhik8@is.titech.ac.jp> Cc: Greg Lewis <glewis@eyesbeyond.com>, <java@FreeBSD.ORG> Subject: native jdk1.3.1 OpenJIT Message-ID: <Pine.LNX.4.33.0108251353560.11278-100000@daedalus.cs.brandeis.edu> In-Reply-To: <55wv3sqxtc.wl@tripper.private>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.33.0108251353560.11278-100000>