Re: Java Compilation on 6.0
- From: "Robert Kopp" <koppr@xxxxxxxxxxx>
- Date: Mon, 2 Jan 2006 02:32:55 -0800
(Apropos of my earlier post, this applied to a somewhat similar situation:
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
******************************************************************
Hell, no! Why should I have done that? It looks as if the "add" refers to
something in fstab (though this post does not explicitly say that). If
so--and is that so?--do you have to reboot to make fstab work? After that
it's fairly clear what to do. Then, a couple more hours of compilation.
Maybe it will work this time... "Robert Kopp" <koppr@xxxxxxxxxxx> wrote in
message news:11rhrccs14si069@xxxxxxxxxxxxxxxxxxxxx
>I suppose the compilation of Java is supposed to be painful, so you'll
> really appreciate it. Apparently all the dependencies in distfiles are
> satisfied, but there is still some trouble. I hope I have reproduced
> enough
> of the output below for diagnostic purposes, but hope to get some advice
> before doing it over, because it takes a couple of hours whether it is
> successful or not.
>
> Is "recompile with -Xlint" all I need to do? And how do you do it: I
> suppose
> that a change in the Makefile is indicated?
>
>
> 2: 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
>
>
> --
> Robert Kopp
> http://analytic.tripod.com
.
- Follow-Ups:
- Re: Java Compilation on 6.0
- From: Heiko Recktenwald
- Re: Java Compilation on 6.0
- From: silverlokk
- Re: Java Compilation on 6.0
- References:
- Java Compilation on 6.0
- From: Robert Kopp
- Java Compilation on 6.0
- Prev by Date: Re: Quick HOWTO: Configuring CUPS To Print On A Windows Printer Using smb
- Next by Date: Re: NFS Client Problems
- Previous by thread: Java Compilation on 6.0
- Next by thread: Re: Java Compilation on 6.0
- Index(es):
Relevant Pages
|
Loading