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