From owner-freebsd-java Tue Jul 17 21:36: 1 2001 Delivered-To: freebsd-java@freebsd.org Received: from mail.xmission.com (mail.xmission.com [198.60.22.22]) by hub.freebsd.org (Postfix) with ESMTP id 7582C37B403 for ; Tue, 17 Jul 2001 21:35:58 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.7.209] (helo=misty.eyesbeyond.com) by mail.xmission.com with esmtp (Exim 3.22 #1) id 15Mj40-0002ZI-00; Tue, 17 Jul 2001 22:35:56 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f6I4Zod47837; Wed, 18 Jul 2001 14:05:50 +0930 (CST) (envelope-from glewis) Date: Wed, 18 Jul 2001 14:05:50 +0930 From: Greg Lewis To: Carlo Dapor Cc: Greg Lewis , Stu Brown , freebsd-java@FreeBSD.ORG Subject: Re: Porting JDK1.2.2 to OpenBSD Message-ID: <20010718140550.A47815@misty.eyesbeyond.com> References: <20010717205213.BA7D6275B7@naboo.ethz.ch> <20010718035902.E644F275B7@naboo.ethz.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010718035902.E644F275B7@naboo.ethz.ch>; from carlo@vis.ethz.ch on Wed, Jul 18, 2001 at 05:59:02AM +0200 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 Hi Carlo, On Wed, Jul 18, 2001 at 05:59:02AM +0200, Carlo Dapor wrote: > Now, I use > gmake LINK.c=gcc LINK.cc=g++ > only. There are two hick-ups, though. I'm not sure why you need the LINK definitions. Can you maybe post the errors you experience when you don't use them? I haven't had to do this. > For some weird reason, the file > invokers.c never gets build. I remember that I never was able to have it gene- > rated through the Linux binaries, not even with jdk 1.2.2. I cheat by compiling > InvokerGen.java, run java InvokerGen < invokers.txt > invokers.c with the native > BSD (1.2.2) binaries ; and when I successfully built everything, I re-generate > invokers.c, only this time with the brand-new binaries. > No difference between the two, not even their md5 checksums. Right, I recall that some people had this problem with the 1.2.2, but I don't think anybody tracked down why it happened to some and not others. > The second hickup is the fact that some libraries (X11, verify, dps, etc) are > not found. > Here the solution was to symbolically link the offending libs into > $LIBj/classic, since this directory is referred to in link-edit steps every- > where. Not a clean way, but it works for now. This shouldn't be the case. All the X libraries are looked for in OPENWINHOME (I think -- haven't check this 100%). So if you have that specified correctly you should be ok. Same with dps. libverify is something that is built along the way... -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Mobile: 0419 868 494 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message