Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jun 2005 16:28:23 -0700
From:      Vizion <vizion@vizion.occoxmail.com>
To:        freebsd-questions@freebsd.org
Cc:        Mike Jeays <Mike.Jeays@rogers.com>
Subject:   Re: JDK 1.5 port fails to compile
Message-ID:  <200506041628.23639.vizion@vizion.occoxmail.com>
In-Reply-To: <1117927668.91910.15.camel@chaucer>
References:  <1117927668.91910.15.camel@chaucer>

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

-- 
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing May/June bound for Europe via Panama 
Canal.



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