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

    Loading...
  1. Dashboard
  2. Build
  3. Build Group
  4. Archived
  5. Known OpenJDK Build Problems

Page History

Versions Compared

Old Version 6

changes.mady.by.user Brian Beck

Saved on Jan 26, 2013

compared with

New Version Current

changes.mady.by.user Magnus Ihse Bursie

Saved on Feb 28, 2025

  • Previous Change: Difference between versions 5 and 6
  • View Page History

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

There are no constant list of known build problems. As new problems arise or are detected, they are constantly being fixed.

If you encounter a build problem, please start by running `make doctor`. If that does not help, ask for help on the `build-dev@openjdk.org` mailing list. 

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:

No Format

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:

No Format

--- 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

Windows CYGWIN Problems

Wrong make

There are some versions of CYGWIN make (/usr/bin/make.exe) that do not work with the drive letter paths. You need to get an older make.exe from say, http://www.cmake.org/files/cygwin/make.exe and displace the /usr/bin/make.exe with this version.

Cannot allocate heap

CYGWIN can conflict with other windows software, see http://cygwin.com/faq/faq.using.html#faq.using.bloda

One failure encountered looked something like:

...

Overview
Content Tools
ThemeBuilder

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.21
  • Kolekti ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Kolekti ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 334, "requestCorrelationId": "90f25c9ae948eeeb"}