From owner-freebsd-java Sat Aug 24 11:38:37 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7DB0937B40D for ; Sat, 24 Aug 2002 11:38:23 -0700 (PDT) Received: from IG88.GOOBSOFT.COM (h-66-134-6-202.DLLATX37.covad.net [66.134.6.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EAF643E7B for ; Sat, 24 Aug 2002 11:38:22 -0700 (PDT) (envelope-from skeetz@8thdeadlysim.com) Received: from qwerty1234 ([192.168.254.24]) by IG88.GOOBSOFT.COM (8.11.6/8.11.6) with SMTP id g7OIfI085048 for ; Sat, 24 Aug 2002 13:41:19 -0500 (CDT) (envelope-from skeetz@8thdeadlysim.com) From: "skeetz" To: Subject: building native hotspot Date: Sat, 24 Aug 2002 01:38:31 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Importance: Normal Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hey all, I'm looking at the java options again for Freebsd. I'm trying to build the hotspot for my jdk13 port. I found this message instructing me how to do it. http://www.geocrawler.com/lists/3/FreeBSD/162/0/9147806/ I'm running a 4.3 box and a 4.6 release, but I'm trying to get things working on my 4.3 box for testing purposes. If I go into /usr/ports/java/jdk13/work/hotspot1.3.1/build/ , I see that there is a bsd directory now. Is that the one I'm supposed to use instead of linux? USING BSD DIRECTORY I first had to edit ./makefiles/top.make and add in DISABLE_HOTSPOT_OS_VERSION_CHECK=ok then I setenv ALT_BOOTDIR /usr/local/linux-sun-jdk1.3.1/ is this right? building hot spot requires the linux sun jvm? why can't I use the one I just made /usr/local/jdk1.3.1? then I try running gmake core and I get gmake[1]: Entering directory `/usr/ports/java/jdk13/work/hotspot1.3.1/build/bsd/bsd_i486_core/jvmg' gmake[2]: Entering directory `/usr/ports/java/jdk13/work/hotspot1.3.1/build/bsd/bsd_i486_core/jvmg' Compiling /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/runtime/functionAtStart .cpp In file included from ../generated/incls/_functionAtStart.cpp.incl:2, from /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/runtime/functionAtStart .cpp:18: /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefinit ions_gcc.hpp:27: wchar.h: No such file or directory In file included from ../generated/incls/_functionAtStart.cpp.incl:2, from /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/runtime/functionAtStart .cpp:18: /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefinit ions_gcc.hpp:91: integer constant out of range /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefinit ions_gcc.hpp:92: integer constant out of range /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefinit ions_gcc.hpp: In function `int g_isnan(double)': /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefinit ions_gcc.hpp:107: implicit declaration of function `int isnand(...)' /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefinit ions_gcc.hpp: In function `int wcslen(const jchar *)': /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefinit ions_gcc.hpp:123: passing `const __wchar_t *' as argument 1 of `wcslen(const jchar *)' gmake[2]: *** [functionAtStart.o] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk13/work/hotspot1.3.1/build/bsd/bsd_i486_core/jvmg' gmake[1]: *** [the_vm] Error 2 gmake[1]: Leaving directory `/usr/ports/java/jdk13/work/hotspot1.3.1/build/bsd/bsd_i486_core/jvmg' gmake: *** [jvmgcore] Error 2 USING LINUX DIRECTORY sh /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../build/linux/makefi les/buildATree.sh core /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../.. linux i486 gmake: *** [linux_i486_core/jvmg] Error 1 SUMMARY I can't seem to figure out how I am supposed to do this. Is the problem that I'm running Freebsd STABLE? I would appreciate if someone pointed me in the right direction. Also, now that we have a licence to distribute a native FreeBSD version of java, doesn't that mean that we should be able to download just the binaries instead of downloading the src and building all of the code? If not, then what exactly does it mean? Chad Skeeters To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message