From owner-freebsd-java Tue Jun 6 3:59: 2 2000 Delivered-To: freebsd-java@freebsd.org Received: from ntua.gr (achilles.noc.ntua.gr [147.102.222.210]) by hub.freebsd.org (Postfix) with ESMTP id 02CF337B816 for ; Tue, 6 Jun 2000 03:58:53 -0700 (PDT) (envelope-from past@netmode.ece.ntua.gr) Received: from netmode.ece.ntua.gr (dolly.netmode.ece.ntua.gr [147.102.13.10]) by ntua.gr (8.9.3/8.9.3) with ESMTP id NAA01383; Tue, 6 Jun 2000 13:58:47 +0300 (EET DST) Received: by netmode.ece.ntua.gr (Postfix, from userid 410) id 09B5685C3; Tue, 6 Jun 2000 13:47:46 +0300 (EET DST) Date: Tue, 6 Jun 2000 13:47:46 +0300 From: Panagiotis Astithas To: John Daniels Cc: freebsd-java@FreeBSD.ORG Subject: Re: OpenJIT install Message-ID: <20000606134746.A25825@netmode.ece.ntua.gr> Reply-To: past@netmode.ntua.gr References: <20000606071431.87090.qmail@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000606071431.87090.qmail@hotmail.com>; from jmd526@hotmail.com on Tue, Jun 06, 2000 at 03:14:31AM -0400 X-Organizational-Unit: Network Management and Optimal Design Laboratory X-Organization: National Technical University of Athens, GREECE X-Work-Phone: +30-1-772-1-450 X-Work-FAX: +30-1-772-1-452 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Jun 06, 2000 at 03:14:31AM -0400, John Daniels wrote: > Hi: > > I got the following warning after I did the second gmake while installing > OpenJIT for native JDK1.2.2 on a 4.0-STABLE machine: > > /work/build/freebsd/include-old > -I/home/johnd/source-jdk1.2.2/work/build/freebsd/include-old/freebsd > -I./CClassHeaders -DARCH=\"X86\" -DJDK_VERSION_STRING=\"1.2.2\" -c -o > obj/rt-X86.o rt-X86.c > rt-X86.c: In function `dispatchJVM': > rt-X86.c:1027: warning: passing arg 7 of pointer to function from > incompatible pointer type > rt-X86.c: In function `OpenJIT_SignalHandler': > rt-X86.c:2383: warning: unused variable `ebp' > ld -G -o libOpenJIT.so obj/api.o obj/stubs.o obj/jdklink.o obj/rt-X86.o > gmake[1]: Leaving directory `/usr/home/johnd/OpenJIT-1.1.12' It is harmless (or it should be :-). > I followed the directions on kjkoster's website. > > Question: Is there a step missing? After the buildscript is run, the next > paragraph is "Install and use" but there is no install command (like "gmake > install"), only an "export PATH..." command. You should 'gmake install' after building. The page mentions this now that I looked. > I would like to install PostgreSQL which, as described in an earlier post, > installs one of two JDBC drivers, depending on the JDK installed. Has > anyone done this (Edward Wolpert?) and/or how can I install the JDK1.2.2 > like a port so that it will be detected (my guess: copy the release > directory to /usr/local/jdk1.2.2; do something like a pkg_install). Should > I have done this before I installed OpenJIT (since OpenJIT asks for the path > to the JDK)? That's right. If you do this before building OpenJIT and modify your PATH, OpenJIT should find you native 1.2.2 installation on its own. -past To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message