From owner-freebsd-questions@FreeBSD.ORG Sun Jun 5 01:34:08 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21FE116A41C for ; Sun, 5 Jun 2005 01:34:08 +0000 (GMT) (envelope-from delta.ski@verizon.net) Received: from vms042pub.verizon.net (vms042pub.verizon.net [206.46.252.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id E00F443D1F for ; Sun, 5 Jun 2005 01:34:07 +0000 (GMT) (envelope-from delta.ski@verizon.net) Received: from [192.168.1.45] ([71.114.163.198]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IHL00JWB8CRIOA3@vms042.mailsrvcs.net> for freebsd-questions@freebsd.org; Sat, 04 Jun 2005 20:34:04 -0500 (CDT) Date: Sat, 04 Jun 2005 20:38:14 -0500 From: delta.ski@verizon.net In-reply-to: <200506041628.23639.vizion@vizion.occoxmail.com> To: freebsd-questions@freebsd.org Message-id: <200506042038.14851.delta.ski@verizon.net> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-6 Content-transfer-encoding: 7bit Content-disposition: inline References: <1117927668.91910.15.camel@chaucer> <200506041628.23639.vizion@vizion.occoxmail.com> User-Agent: KMail/1.7.2 Subject: Re: JDK 1.5 port fails to compile X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2005 01:34:08 -0000 On Saturday 04 June 2005 06:28 pm, Vizion wrote: > On Saturday 04 June 2005 16:27, the author Mike Jeays contributed to the > dialogue on- > > JDK 1.5 port fails to compile: > >I downloaded the required sources for jdk15, but the port fails to > >compile; here are the final messages. Did I fail to do something > >important? > > > > FreeBSD 5.3, with an up to date ports tree. > > > > > >../../../src/share/classes/com/sun/jmx/mbeanserver/MBeanInstantiatorImpl.j > >av a:162: warning: non-varargs call of varargs method with inexact > > argument type for last parameter; cast to java.lang.Object for a varargs > > call cast to java.lang.Object[] for a non-varargs call and to suppress > > this warning > > moi= cons.newInstance(null); > > ^ > >Note: * uses or overrides a deprecated API. > >Note: Recompile with -Xlint:deprecation for details. > >Note: Some input files use unchecked or unsafe operations. > >Note: Recompile with -Xlint:unchecked for details. > >21 errors > >12 warnings > >gmake[3]: *** [.compile.classlist] Error 1 > >gmake[3]: Leaving directory > >`/usr/ports/java/jdk15/work/j2se/make/java/java' > >gmake[2]: *** [all] Error 1 > >gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java' > >gmake[1]: *** [all] Error 1 > >gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make' > >gmake: *** [j2se-build] Error 2 > >*** Error code 2 > > > >Stop in /usr/ports/java/jdk15. > > did you add > linprocfs /compat/linux/proc linprocfs rw 0 0 > > and then, as root, execute the commands: > > kldload linprocfs > mount /compat/linux/proc > > ?? > > If not you will, need to make clean and recompile > > David > > >_______________________________________________ > >freebsd-questions@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" Lets backup to the beginning please. JDK 1.5 has some VERY different build requirements. The instructions for this are in the READ.ME file that is included with the compressed file you downloaded. Follow the instructions and it will work.