Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jun 2000 13:47:46 +0300
From:      Panagiotis Astithas <past@netmode.ntua.gr>
To:        John Daniels <jmd526@hotmail.com>
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: OpenJIT install
Message-ID:  <20000606134746.A25825@netmode.ece.ntua.gr>
In-Reply-To: <20000606071431.87090.qmail@hotmail.com>; from jmd526@hotmail.com on Tue, Jun 06, 2000 at 03:14:31AM -0400
References:  <20000606071431.87090.qmail@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000606134746.A25825>