[vbox-dev] Problem compiling SVN openSUSE 12.1

Perry Halbert phalbert at cox.net
Wed Nov 30 17:20:49 GMT 2011


Why yes it does!  I was able to remove and install the 1.6.0 u27 (after 
I found it) and there you have it.  Situation solved.  At least now I 
know that it will need some tweaking to be able to use 1.7.

Thank you Frank.


On 11/30/2011 07:48 AM, Frank Mehnert wrote:
> Hi Perry,
>
> unfortunately our Java bindings are currently unmaintained. We will
> try to fix the openSUSE issue sooner or later, but the pressure to
> do this is currently not that high because we are currently using
> the 1.6.0 u27 JDK. VBox builds fine with that JDK on openSUSE 12.1.
> And I assume it would also build fine using the java-1_6_0-openjdk
> package.
>
> Kind regards,
>
> Frank
>
> On Wednesday 30 November 2011 03:29:01 Perry Halbert wrote:
>> 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/Hel
>>> per.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/Hel
>>> per.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/Hel
>>> per.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/Hel
>>> per.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
>
>
> _______________________________________________
> 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/20111130/54195b7d/attachment.html>


More information about the vbox-dev mailing list