Compilation failed. Log attached
jburet at free.fr
jburet at free.fr
Mon May 30 05:03:56 PDT 2011
Hi,
Same problem this morning, solved with the reinstall of Java package.
I've installed : Java for Mac OS X Developer Preview 10M3415 (https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20809)
See the JIRA : http://java.net/jira/browse/MACOSX_PORT-50
Julien
----- Mail Original -----
De: "Nicolas Peeters" <nicolists at gmail.com>
À: macosx-port-dev at openjdk.java.net
Envoyé: Lundi 30 Mai 2011 13h33:29 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne
Objet: Compilation failed. Log attached
Hi there,
I followed the instructions<http://wikis.sun.com/display/OpenJDK/Mac+OS+X+Port>on
the mailing list to compile the OpenJDK on my MBP but the build
failed.
The last comments from the log are:
...
/Users/devel/code/java/jdk7/macosx-port/jdk/src/macosx//native/sun/awt/AWTWindow.h:40:
error: expected specifier-qualifier-list before ‘JNFWeakJObjectWrapper’
/Users/devel/code/java/jdk7/macosx-port/jdk/src/macosx//native/sun/awt/AWTWindow.h:53:
error: expected ‘)’ before ‘JNFWeakJObjectWrapper’
/Users/devel/code/java/jdk7/macosx-port/jdk/src/macosx//native/sun/awt/AWTWindow.h:47:
error: expected specifier-qualifier-list before ‘JNFWeakJObjectWrapper’
/Users/devel/code/java/jdk7/macosx-port/jdk/src/macosx//native/sun/awt/AWTWindow.h:53:
error: expected ‘)’ before ‘JNFWeakJObjectWrapper’
lipo: lipo: can't figure out the architecture type of:
/var/folders/2N/2Noum2rfEnWdaySBtIKCV++++TM/-Tmp-//ccneT9TH.out
can't figure out the architecture type of:
/var/folders/2N/2Noum2rfEnWdaySBtIKCV++++TM/-Tmp-//cc10Vlud.out
make[5]: ***
[/Users/devel/code/java/jdk7/macosx-port/build/macosx-universal/tmp/sun/sun.lwawt/lwawt/obj/CGLSurfaceData.o]
Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: ***
[/Users/devel/code/java/jdk7/macosx-port/build/macosx-universal/tmp/sun/sun.lwawt/lwawt/obj/CGLGraphicsConfig.o]
Error 1
make[4]: *** [library_parallel_compile] Error 2
make[3]: *** [all] Error 1
make[2]: *** [all] Error 1
make[1]: *** [jdk-build] Error 2
make: *** [build_product_image] Error 2
Any idea what I can do? I attached the whole log.
Thanks,
Nicolas
PS: In the meantime, I went with the pre-compiled dmg's from:
http://code.google.com/p/openjdk-osx-build/ (Is that recommended?)
More information about the macosx-port-dev
mailing list