Build openjdk in Ubuntu 11.10

mark.reinhold at oracle.com mark.reinhold at oracle.com
Fri Jan 13 17:54:20 UTC 2012


2012/1/13 9:33 -0800, michael.j.silverstri at gmail.com:
> I am getting the following error when building openjdk 7.0 on ubuntu 11.10
> But I already have the package libasound2-dev installed.

This is 7110396.  You need this patch:

diff --git a/make/javax/sound/jsoundalsa/Makefile b/make/javax/sound/jsoundalsa/Makefile
--- a/make/javax/sound/jsoundalsa/Makefile
+++ b/make/javax/sound/jsoundalsa/Makefile
@@ -65,7 +65,7 @@
 	$(MIDIFILES_export) \
 	$(PORTFILES_export)
 
-LDFLAGS += -lasound
+OTHER_LDLIBS += -lasound
 
 CPPFLAGS += \
 	-DUSE_DAUDIO=TRUE \

This is a tiny revision of the patch I originally proposed [1].
If someone could review this then I'll merge and push it.

- Mark


[1] http://mail.openjdk.java.net/pipermail/build-dev/2011-November/005188.html



More information about the build-dev mailing list