This is the home page for the Misc Notes on Building the OpenJDK space.
JDKGlossaryOfTerms
KnownOpenJDKBuildProblems
Known Build Problems
x86_64 Linux
libspashscreen / libpng Error
When building jdk7/build/linux-amd64/lib/amd64/libsplashscreen.so, a series of link errors occur, such as this one:
jdk7/build/linux-amd64/tmp/sun/sun.awt/splashscreen/obj64/png.o(.text+0xc3c): In function `png_init_mmx_flags': : undefined reference to `png_mmx_support'
It has been reported that this problem is fixed internally, but hasn't been integrated into the public mercurial repo yet: http://mail.openjdk.java.net/pipermail/discuss/2007-December/000945.html
In the meantime, there is workaround. Here is a simple patch:
--- jdk/make/sun/splashscreen/Makefile~ 2008-02-01 04:18:40.000000000 -0500 +++ jdk/make/sun/splashscreen/Makefile 2008-02-07 15:50:54.000000000 -0500 @@ -59,7 +59,7 @@ # C Flags # -CFLAGS += -DSPLASHSCREEN +CFLAGS += -DSPLASHSCREEN -DPNG_NO_MMX_CODE ifneq ($(PLATFORM), windows) CFLAGS += -DWITH_X11
Overview
Content Tools
ThemeBuilder