[vbox-dev] Problem compiling SVN openSUSE 12.1

Frank Mehnert frank.mehnert at oracle.com
Wed Nov 30 13:48:52 GMT 2011


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

-- 
Dr.-Ing. Frank Mehnert
Senior Manager Software Development Desktop Virtualization, VirtualBox
ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | 71384 Weinstadt, Germany

Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van der Ven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20111130/b291965e/attachment.sig>


More information about the vbox-dev mailing list