From owner-freebsd-java@FreeBSD.ORG Fri Dec 17 16:05:26 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E682116A4CE for ; Fri, 17 Dec 2004 16:05:25 +0000 (GMT) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB84943D55 for ; Fri, 17 Dec 2004 16:05:05 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) iBHG54OS013169; Fri, 17 Dec 2004 09:05:04 -0700 (MST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.11/8.12.11/Submit) id iBHG53ek013168; Fri, 17 Dec 2004 09:05:03 -0700 (MST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 17 Dec 2004 09:05:03 -0700 From: Greg Lewis To: Nick Sayer Message-ID: <20041217160503.GB13021@misty.eyesbeyond.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i cc: freebsd-java@freebsd.org Subject: Re: Still cannot build native JDK1.4 with FreeBSD 5.3. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Dec 2004 16:05:26 -0000 Hi Nick, On Thu, Dec 16, 2004 at 11:19:12PM -0800, Nick Sayer wrote: > A month ago, I reported problems building the native JDK14 port. I > haven't gotten any responses. I can't believe I'm the only one in the > world who is seeing this failure. Just lucky? ;) > I'm running with RELENG_5_3. I have a working Linux 1.4 JDK installed. > > To recap, the build fails spitting out about a hundred errors about > various interfaces not being public and what not. At the bottom, it > looks like this: > > ../../../src/share/classes/java/net/SocksSocketImpl.java:335: cannot > resolve symbol > symbol : method getHostName () > location: class java.net.InetSocketAddress > out.write(epoint.getHostName().length()); > ^ > Note: Some input files use or override a deprecated API. > Note: Recompile with -deprecation for details. > 100 errors Which is just the maximum number of errors it reports before dying. Can you please post the top of the error too please? I.e. the actual javac command that is being executed. Some other questions (assuming your Linux JDK is the Sun JDK): 1. Is the Sun JDK up to date? I've never seen this error, but it doesn't hurt to make sure everything is up to date. 2. Have you tried the Blackdown or IBM JDKs to do the bootstrapping? Do they report the same error? You'll have to tweak the LINUX_BOOTSTRAP_JDKS variable in the Makefile to try this. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org