Building OpenJDK on Ubuntu 11.10
Kelly O'Hair
kelly.ohair at oracle.com
Fri Oct 21 09:13:55 PDT 2011
I don't know of anyone building on 10.11 and I am sure we would like to fix this.
-kto
On Oct 21, 2011, at 7:42 AM, Tim Ellison wrote:
> Is anyone else building OpenJDK 7 on Ubuntu 10.11? I found I need a
> couple of extra definitions to work around problems not seen on 10.4.
>
> 1) "This OS is not supported"
>
> The Hotspot build checks that the Linux kernel version number is in a
> known list. As Ubuntu 10.11 has kernel 3.0.0 you either need to
> bypass the version check (DISABLE_HOTSPOT_OS_VERSION_CHECK=ok), or add
> 3.0 to the supported versions, i.e.
>
> diff -r 9b0ca45cd756 make/linux/Makefile
> --- a/make/linux/Makefile Tue Jun 28 10:57:38 2011 -0700
> +++ b/make/linux/Makefile Fri Oct 21 15:15:20 2011 +0100
> @@ -230,7 +230,7 @@
> # Solaris 2.5.1, 2.6).
> # Disable this check by setting DISABLE_HOTSPOT_OS_VERSION_CHECK=ok.
>
> -SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 2.7%
> +SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 2.7% 3.0%
> OS_VERSION := $(shell uname -r)
> EMPTY_IF_NOT_SUPPORTED = $(filter $(SUPPORTED_OS_VERSION),$(OS_VERSION))
>
>
> 2) Can't find asound lib
>
> To get jsoundalsa to link successfully I found I need to specify
> "EXTRA_LIBS=/usr/lib/i386-linux-gnu/libasound.so" to pick up
> libasound.so (from pkg libasound2-dev) as it is no longer in /usr/lib.
>
>
> Anyone else come across these? Any interest to have OpenJDK build on
> Ubuntu 10.11 straight out of the box?
>
> Thoughts?
> Tim
More information about the porters-dev
mailing list