• Home
    • View
    • Login
    This page
    • Normal
    • Export PDF
    • Page Information

    Loading...
  1. Dashboard
  2. Undefined Space
  3. Build
  4. Home

Home

  • Created by Kelly Ohair, last modified by J. Duke on Feb 09, 2008

This is the home page for the Misc Notes on Building the OpenJDK space.

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
  • No labels

Terms of Use
• License: GPLv2
• Privacy • Trademarks • Contact Us

Powered by a free Atlassian Confluence Open Source Project License granted to https://www.atlassian.com/software/views/opensource-community-additional-license-offer. Evaluate Confluence today.

  • Kolekti ThemeBuilder Powered by Atlassian Confluence 8.5.22
  • Kolekti ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Kolekti ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 147, "requestCorrelationId": "5e0124c2b4ecccc0"}