[vbox-dev] Problem compiling SVN openSUSE 12.1
Perry Halbert
phalbert at cox.net
Tue Nov 29 18:29:01 PST 2011
I really would like to know what is happening here.
Any clue/suggestion would be nice.
On 11/19/2011 05:08 PM, Perry Halbert wrote:
> openSUSE 12.1 does not come with SUN Java now (some kind of license
> issue according to them) and javac can not be found in any of the
> other JVM/JDK packages that are installed. So I installed the latest
> Oracle JAVA JDK and added the location to the LocalConfig.kmk.
>
> VBOX_JAVA_HOME := /usr/java/jdk1.7.0_01
>
> Note: During pre-release they did have the SUN JDK and it did in fact
> work, but the release version does not.
>
> Strange things seem to be happening and wondered if anyone has seen this.
>
>
>
> Here are the error messages which forces a failure.
>
>
> /trunk/out/linux.amd64/release/obj/vboxjxpcom-gen/jxpcomgen/java/glue/Helper.java:123:
> error: name clash: unwrap(List<Integer>) and unwrap(List<Short>) have
> the same erasure
> public static int[] unwrap(List<Integer> vals) {
> ^
> /trunk/out/linux.amd64/release/obj/vboxjxpcom-gen/jxpcomgen/java/glue/Helper.java:135:
> error: name clash: unwrap(List<Long>) and unwrap(List<Short>) have the
> same erasure
> public static long[] unwrap(List<Long> vals) {
> ^
> /trunk/out/linux.amd64/release/obj/vboxjxpcom-gen/jxpcomgen/java/glue/Helper.java:147:
> error: name clash: unwrap(List<Boolean>) and unwrap(List<Short>) have
> the same erasure
> public static boolean[] unwrap(List<Boolean> vals) {
> ^
> /trunk/out/linux.amd64/release/obj/vboxjxpcom-gen/jxpcomgen/java/glue/Helper.java:159:
> error: name clash: unwrap(List<String>) and unwrap(List<Short>) have
> the same erasure
> public static String[] unwrap(List<String> vals) {
> ^
> kBuild: Compiling VBox-xpcom-nspr -
> /trunk/src/libs/xpcom18a4/nsprpub/pr/src/malloc/prmem.c
> kBuild: Compiling VBox-xpcom-nspr -
> /trunk/src/libs/xpcom18a4/nsprpub/pr/src/md/prosdep.c
> kBuild: Compiling VBox-xpcom-nspr -
> /trunk/src/libs/xpcom18a4/nsprpub/pr/src/memory/prseg.c
> kBuild: Compiling VBox-xpcom-nspr -
> /trunk/src/libs/xpcom18a4/nsprpub/pr/src/memory/prshm.c
> kBuild: Compiling VBox-xpcom-nspr -
> /trunk/src/libs/xpcom18a4/nsprpub/pr/src/memory/prshma.c
> kBuild: Compiling VBox-xpcom-nspr -
> /trunk/src/libs/xpcom18a4/nsprpub/pr/src/misc/pralarm.c
> kBuild: Compiling VBox-xpcom-nspr -
> /trunk/src/libs/xpcom18a4/nsprpub/pr/src/misc/pratom.c
> kBuild: Compiling VBox-xpcom-nspr -
> /trunk/src/libs/xpcom18a4/nsprpub/pr/src/misc/prcountr.c
> 4 errors
> 1 warning
> kmk: ***
> [/trunk/out/linux.amd64/release/obj/VBoxJXpcom-inst-jar/vboxjxpcom.jar] Error
> 1
> kmk: *** Waiting for unfinished jobs....
> kmk: *** Exiting with status 2
> suse at suse-121:~>
>
>
>
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> https://www.virtualbox.org/mailman/listinfo/vbox-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.virtualbox.org/pipermail/vbox-dev/attachments/20111129/6e47c9d5/attachment-0001.html
More information about the vbox-dev
mailing list