Re: Java Compilation on 6.0



(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


.



Relevant Pages

  • Re: Learning C with Older books ?.
    ... It's nice to see that the comments about the signed/unsigned warning ... Your regular compilation environment must be different from mine. ... The 'usually useful' are those that are on by default in production ... the style choice to add redundant parentheses in certain ...
    (comp.lang.c)
  • Re: Learning C with Older books ?.
    ... It's nice to see that the comments about the signed/unsigned warning ... Your regular compilation environment must be different from mine. ... The 'usually useful' are those that are on by default in production ... the style choice to add redundant parentheses in certain ...
    (alt.comp.lang.learn.c-cpp)
  • Re: Inconsistent Program Results
    ... including one of them might trivially slow down compilation, ... I wrote the above (starting with "The standard headers"). ... return void, but there's no advantage in using that. ... You're cheating yourself by ignoring warning messages. ...
    (comp.lang.c)
  • Re: POWDER 102 Released
    ... I was a bit hesitant about the name entry creativeness being struck ... cycle my save games and also ... Creating a quad-menu entry for commands is also a very old item on my ... can remember were the Warning question marks were color coded ...
    (rec.games.roguelike.misc)
  • Re: Read data from the serial port
    ... Matlab gives the below indicated warning and couldn't get any answer. ... I have tried to read data from a serial port in matlab using ... I have exactly the same problem, get same warning and 0 bytes, even if I use binary read/write commands as fwrite and fread. ...
    (comp.soft-sys.matlab)

Loading