Build openjdk in Ubuntu 11.10
Kelly O'Hair
kelly.ohair at oracle.com
Wed Jan 18 17:38:36 UTC 2012
Patch looks fine to me.
-kto
On Jan 13, 2012, at 9:54 AM, mark.reinhold at oracle.com wrote:
> 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