Current and diablo-jdk
anrays at gmail.com
Fri Sep 21 10:22:18 PDT 2007
Thu, 20 Sep 2007 20:17:01 +0200, Zahemszky Gábor wrote:
> > On the other hand, diablo jdk functionality is enough to build
> > java/jdk15 and java/jdk16 ports, that work good enough for me.
> OK, I tried to compile it. But I cannot. Here is an excerpt from the
> make output. How to go on?
> 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
> readObjectNoDataMethod.invoke(obj, null); ^
> gmake: *** [.compile.classlist] Error 4
> gmake: Leaving directory
> gmake: *** [optimized] Error 2 gmake: Leaving directory
> gmake: *** [all] Error 1 gmake: Leaving directory
> `/usr/ports/java/jdk15/work/j2se/make/sun/javac/recompile' gmake:
> *** [all] Error 1 gmake: Leaving directory
> `/usr/ports/java/jdk15/work/j2se/make/sun/javac' gmake: *** [all]
> Error 2 gmake: Leaving directory
> `/usr/ports/java/jdk15/work/j2se/make/java/javac' gmake: *** [all]
> Error 1 gmake: Leaving directory
> `/usr/ports/java/jdk15/work/j2se/make/java' gmake: *** [all] Error 1
> gmake: Leaving directory `/usr/ports/java/jdk15/work/j2se/make'
> gmake: *** [j2se-build] Error 2
> *** Error code 2
It's gcc4 problem. Add to CFLAGS `-fno-tree-vrp'.
More information about the freebsd-java