From owner-freebsd-java@FreeBSD.ORG Fri Dec 17 10:45:32 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 3232B16A4CE for ; Fri, 17 Dec 2004 10:45:32 +0000 (GMT) Received: from matrix.gatewaynet.com (matrix.gatewaynet.com [217.19.69.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id E7D4D43D48 for ; Fri, 17 Dec 2004 10:45:30 +0000 (GMT) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (localhost.localdomain [127.0.0.1]) by matrix.gatewaynet.com (8.12.8/8.12.8) with ESMTP id iBHBIjT5027719; Fri, 17 Dec 2004 13:18:45 +0200 Received: from localhost (achill@localhost)iBHBIijq027715; Fri, 17 Dec 2004 13:18:44 +0200 Date: Fri, 17 Dec 2004 13:18:44 +0200 (EET) From: Achilleus Mantzios To: Nick Sayer In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-7 Content-Transfer-Encoding: 8BIT 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 10:45:32 -0000 O Nick Sayer έγραψε στις Dec 16, 2004 : > 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. > > I'm running with RELENG_5_3. I have a working Linux 1.4 JDK installed. Have you tried to verify that your linux linux-sun-jdk-1.4.2.0x is working indeed? (try some apps, especially javac) > > 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 > gmake[4]: *** [.compile.classlist] Error 1 > gmake[4]: Leaving directory > `/usr/ports/java/jdk14/work/j2se/make/java/java' > gmake[3]: *** [optimized] Error 2 > gmake[3]: Leaving directory > `/usr/ports/java/jdk14/work/j2se/make/java/java' > gmake[2]: *** [all] Error 1 > gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java' > gmake[1]: *** [all] Error 1 > gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make' > gmake: *** [j2se-build] Error 2 > *** Error code 2 > > Stop in /usr/ports/java/jdk14. > Have you tried make clean and start all over the build? Also a check for mem,disk,CPU overheating, would be very good. When it seems that we are the only people in the world who have a problem, then most of the cases it is a hardware problem. FreeBSD (unlike window$,linux) does not like bad hardware. Once i was building some world, i got a compile error on gcc source on a line like #dufine ... ... As far as i could remember, this was the first (and last) occasion in my life that i encountered this mysterious precompiler directive! My CPU was probably overheated, or my memory was bad. (I changed CPU,mem,disk). The funny thing is that in a lot of bad memory related cases, other s/w (including previous releases of FreeBSD) may have run fine, leading to many false alarms about a new release. -- -Achilleus