Build Problem
Kelly O'Hair
kelly.ohair at oracle.com
Wed Mar 7 18:46:33 UTC 2012
You really aren't providing enough information to go on here.
As of now, building 32bit requires a 32bit OS, and building 64bit requires a 64bit OS.
The amd64 is a 64bit library, the i386 is a 32bit library, these libraries will not mix at runtime.
So there are lots of facts you are leaving out here:
* What OS are you using (specific version arch distro etc.)
* What is the make command line you are using
* Have you looked at http://hg.openjdk.java.net/jdk6/jdk6/raw-file/tip/README-builds.html
-kto
On Mar 5, 2012, at 2:26 PM, Jason Van Cleve wrote:
> Hi,
>
> I hope it's okay to ask questions here, as I've been having trouble
> building "openjdk-6-src-b24-14_nov_2011". I am getting the "cannot find
> -ljvm" error, which library it seems to want to find at
> "jre/lib/amd64/client/libjvm.so" in my bootstrap JDK. But I have three
> JDKs installed, and none of them has that path. I'm building on a
> 64-bit linux system, and what I have is as follows:
>
> /opt/jdk1.6.0_19/jre/lib/i386/client/libjvm.so
> /opt/jdk1.6.0_19/jre/lib/i386/server/libjvm.so
> /opt/jdk1.6.0_25_x86-64/jre/lib/amd64/server/libjvm.so
> /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server/libj
> vm.so
>
> Using all three of these JDKs, I have tried copying "libjvm.so" into the
> expected path, in various ways, but that breaks the build in other ways.
>
> Can I even build OpenJDK on a 64-bit machine?
>
> Thank you,
>
> --Jason
>
More information about the build-dev
mailing list