SUGGESTED FIX
--- old/make/sun/splashscreen/Makefile 2007-10-11 13:50:27.000000000 +0400
+++ new/make/sun/splashscreen/Makefile 2007-10-11 13:50:27.000000000 +0400
@@ -85,3 +85,11 @@
CPPFLAGS += -I$(PLATFORM_SRC)/native/$(PKGDIR)/splashscreen -I$(SHARE_SRC)/native/$(PKGDIR)/splashscreen
CPPFLAGS += -I$(SHARE_SRC)/native/$(PKGDIR)/image/jpeg -I$(SHARE_SRC)/native/java/util/zip/zlib-1.1.3
+ifeq ($(ARCH_DATA_MODEL), 64)
+ # 64-bit compilers have problems compiling MMX instructions.
+ # Google it for more details. Possibly the newer versions of
+ # the PNG-library and/or the new compilers will not need this
+ # option in the future.
+ CPPFLAGS += -DPNG_NO_MMX_CODE
+endif
+
|