Aha--I had pulled down that patched make, but it wasn't on the path. Stupid.
When I build now, I get a ton of WARNING and ERROR reports. How many of these do I care about? (Full list below, partial list here.) ERROR: You do not have access to the Microsoft Layer for Unicode (MSLU) runtime files. Please check your access to /jre/bin/unicows.dll and/or check your value of ALT_UNICOWS_DLL_PATH ERROR: You do not have access to msvcrt.dll. Please check your access to C:/windows/system32/msvcrt.dll and/or check your value of ALT_MSVCRT_DLL_PATH. ERROR: You do not have access to msvcr71.dll. Please check your access to C:/windows/system32/msvcr71.dll and/or check your value of ALT_MSVCR71_DLL_PATH. ERROR: Your JAVA_HOME environment variable is set. This will most likely cause the build to fail. Please unset it and start your build again. ERROR: Can't locate pre-built libraries. Please check your access to C:\Prg\OpenJDK\BinaryPlugs/jre/bin and/or check your value of ALT_CLOSED_LIB_DIR. ERROR: Can't locate pre-built libraries. Please check your access to C:\Prg\OpenJDK\BinaryPlugs/jre/lib/rt.jar and/or check your value of ALT_CLOSED_JAR_FILE. ERROR: Can't locate t2k import library. Please check your access to C:\Prg\OpenJDK\BinaryPlugs/jre/bin/t2k.lib and/or check your value of ALT_CLOSED_LIB_DIR. Obviously JAVA_HOME and the DLL_PATH errors are easy to fix; the BinaryPlugs errors confuse me, though, given that the binary plugs install with a jdk1.7.0 prefix; am I correct that I need to point ALT_CLOSED_LIB_DIR to C:\Prg\OpenJDK\BinaryPlugs\jdk1.7.0? And is UNICOWS still needed? I thought that was for Unicode support on Win95; do we still need it in the all-NT world we find ourselves in today? And why does it tell me it's looking in "/jre/bin"? While we're at it, the SLASH_JAVA variable--obviously it's pointing to a shared drive inside of Sun; do I need to set that to something in order for my setup to work? Sorry for the hopelessly-dumb questions, I'm just trying to understand the build process as a whole more, and (hopefully) put some more information into the archives so others won't have to look so stupid. :-) Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com Full sanity report: CYGWIN:XPJAVA:Ted[285] cd control/make && make sanity make[1]: Entering directory `/cygdrive/c/Prg/openjdk/openjdk/j2se/make' make[1]: Leaving directory `/cygdrive/c/Prg/openjdk/openjdk/j2se/make' Build Machine Information: build machine = XPJAVA Build Directory Structure: CWD = /cygdrive/c/Prg/openjdk/openjdk/control/make TOPDIR = ../.. CONTROL_TOPDIR = ../../control HOTSPOT_TOPDIR = ../../hotspot J2SE_TOPDIR = ../../j2se Build Directives: BUILD_HOTSPOT = true BUILD_J2SE = true Hotspot Settings: HOTSPOT_BUILD_JOBS = HOTSPOT_OUTPUTDIR = c:/Prg/openjdk/openjdk/control/build/WINDOW~1/hotspot/outputdir HOTSPOT_EXPORT_PATH = c:/Prg/openjdk/openjdk/control/build/WINDOW~1/hotspot/import Bootstrap Settings: BOOTDIR = C:\Prg\jdk1.6.0 ALT_BOOTDIR = C:\Prg\jdk1.6.0 BOOT_VER = 1.6 [requires at least 1.5] OUTPUTDIR = c:/Prg/openjdk/openjdk/control/build/WINDOW~1 ALT_OUTPUTDIR = c:/Prg/openjdk/openjdk/control/build/WINDOW~1 ABS_OUTPUTDIR = c:/Prg/openjdk/openjdk/control/build/WINDOW~1 Build Tool Settings: SLASH_JAVA = J: ALT_SLASH_JAVA = VARIANT = OPT JDK_DEVTOOLS_DIR = J:/devtools ALT_JDK_DEVTOOLS_DIR = UNIXCOMMAND_PATH = /usr/bin/ ALT_UNIXCOMMAND_PATH = COMPILER_PATH = C:/Prg/MSVS2003/VC7/Bin/ ALT_COMPILER_PATH = DEVTOOLS_PATH = /usr/bin/ ALT_DEVTOOLS_PATH = MSVCRT_DLL_PATH = C:/windows/system32/msvcrt.dll ALT_MSVCRT_DLL_PATH = C:\windows\system32\msvcrt.dll MSVCR71_DLL_PATH = C:/windows/system32/msvcr71.dll ALT_MSVCR71_DLL_PATH = C:\windows\system32\msvcr71.dll MSDEVTOOLS_PATH = C:/Prg/MSVS2003/VC7/Bin/ ALT_MSDEVTOOLS_PATH = COMPILER_NAME = Visual Studio .NET 2003 Professional C++ COMPILER_VERSION = VS2003 CC_VER = 13.10.3077 [requires at least 13.10.3077] ZIP_VER = 2.32 [requires at least 2.2] UNZIP_VER = 5.52 [requires at least 5.12] LINK_VER = 7.10.3077 [requires at least 7.10.3077] PATH = /cygdrive/c/Prg/MSVS2003/Common7/IDE:/cygdrive/c/Prg/MSVS2003/VC7/BIN:/ cygdrive/c/Prg/MSVS2003/Common7/Tools:/cygdrive/c/Prg/MSVS2003/Common7/Tools /bin /prerelease:/cygdrive/c/Prg/MSVS2003/Common7/Tools/bin:/cygdrive/c/Prg/Micro soft .NET1.1/SDK/v1.1/bin:/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v1.1.4322:/ cygd rive/c/prg/jEdit4.2:/cygdrive/c/Windows:/cygdrive/c/Windows/System32:/cygdri ve/c /Prg/Subversion-1.3.2/bin:/cygdrive/c/Prg/apache-ant-1.6.2/bin:/cygdrive/c/P rg/O penJDK/bin:/usr/bin:/cygdrive/c/Prg/MSVS2003/Vc7/bin:/cygdrive/c/Prg/MSVS200 3/Co mmon7/IDE:/cygdrive/c/Prg/MSVS2003/Common7/Tools/bin/prerelease:/cygdrive/c/ Prg/ MSVS2003/Common7/Tools:/cygdrive/c/Prg/MSVS2003/SDK/v1.1/bin:/cygdrive/c/Prg /MSV S2003/Common7/Tools/bin:/usr/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WI NDOW S:/cygdrive/c/WINDOWS/System32/Wbem TEMPDIR = c:/Prg/openjdk/openjdk/control/build/WINDOW~1/tmp Build Directives: USE_ONLY_BOOTDIR_TOOLS = USE_HOTSPOT_INTERPRETER_MODE = PEDANTIC = DEV_ONLY = J2RE_ONLY = NO_DOCS = NO_IMAGES = TOOLS_ONLY = INSANE = COMPILE_APPROACH = normal FASTDEBUG = COMPILER_WARNINGS_FATAL = false COMPILER_WARNING_LEVEL = 3 INCREMENTAL_BUILD = false CC_HIGHEST_OPT = -O2 CC_HIGHER_OPT = -O1 CC_LOWER_OPT = -O1 CXXFLAGS = -O1 -Zi -nologo -MD /D _STATIC_CPPLIB -Fdc:/Prg/openjdk/openjdk/c ontrol/build/WINDOW~1/tmp/obj/.pdb -Fec:/Prg/openjdk/openjdk/control/build/WINDO W~1/tmp/obj/.obj -Fmc:/Prg/openjdk/openjdk/control/build/WINDOW~1/tmp/obj/.map - W3 CFLAGS = -O1 -Zi -nologo -MD /D _STATIC_CPPLIB -Fdc:/Prg/openjdk/openjdk/c ontrol/build/WINDOW~1/tmp/obj/.pdb -Fec:/Prg/openjdk/openjdk/control/build/WINDO W~1/tmp/obj/.obj -Fmc:/Prg/openjdk/openjdk/control/build/WINDOW~1/tmp/obj/.map - W3 JAVA_BOOT = C:\Prg\jdk1.6.0/bin/java -client -Xmx383m -Xms128m -XX:PermSize=32 m -XX:MaxPermSize=160m JAVAC_BOOT = C:\Prg\jdk1.6.0/bin/javac -J-XX:ThreadStackSize=768 -J-client -J- Xmx383m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -target 5 JAR_BOOT = C:\Prg\jdk1.6.0/bin/jar JAVAH_BOOT = C:\Prg\jdk1.6.0/bin/javah -J-XX:ThreadStackSize=768 -J-client -J- Xmx383m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m JAVA = c:/Prg/openjdk/openjdk/control/build/WINDOW~1/bin/java -client -Xmx383m -Xms128m -XX:PermSize=32m -XX:MaxPermSize=160m JAVAC = c:/Prg/openjdk/openjdk/control/build/WINDOW~1/bin/javac -J-XX:ThreadSt ackSize=768 -J-client -J-Xmx383m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize =160m JAR = c:/Prg/openjdk/openjdk/control/build/WINDOW~1/bin/jar JAVAH = Build Platform Settings: USER = Ted PLATFORM = windows ARCH = i586 LIBARCH = i386 ARCH_FAMILY = i586 ARCH_DATA_MODEL = 32 ARCHPROP = x86 PROCESSOR_ARCHITECTURE = x86 PROCESSOR_IDENTIFIER = x86 Family 6 Model 13 Stepping 8, GenuineIntel WINDOWS_VERSION = 5 1 Service Pack 2 WINDOWS_NT_VERSION_STRING = CYGWIN_NT USING_CYGWIN = true CYGWIN_VER = 5.1 [requires at least 4.0] CYGPATH_CMD = cygpath -a -s -m OS_VERSION = 5 [requires at least 5] OS_NAME = nt TEMP_FREE_SPACE = 783328 FREE_SPACE = 783348 MB_OF_MEMORY = 511 GNU Make Settings: MAKE = make MAKE_VER = 3.81 [requires at least 3.78] MAKECMDGOALS = sanity MAKEFLAGS = w -- ARCH_DATA_MODEL=32 BUILD_MOTIF=false BUILD_HOTSPOT=true ALT_HOTSPOT_IMPORT_PATH=c:/Prg/openjdk/openjdk/control/build/WINDOW~1/hotspo t/import ALT_OUTPUTDIR=c:/Prg/openjdk/openjdk/control/build/WINDOW~1 FULL_VERSION=1.7.0-i nternal-Ted_16_jul_2007_17_17-b00 JDK_BUILD_NUMBER=b00 BUILD_NUMBER=b00 MILESTONE=internal EXTERNALSANITYCONTROL=true HOTSPOT_IMPORT_CHECK=false SHELL = /bin/sh Target Build Versions: JDK_VERSION = 1.7.0 MILESTONE = internal RELEASE = 1.7.0-internal FULL_VERSION = 1.7.0-internal-Ted_16_jul_2007_17_17-b00 BUILD_NUMBER = b00 External File/Binary Locations: USRJDKINSTANCES_PATH = C:/PROGRA~1/Java JDK_IMPORT_PATH = C:\Prg\OpenJDK\BinaryPlugs ALT_JDK_IMPORT_PATH = HOTSPOT_DOCS_IMPORT_PATH = /NO_DOCS_DIR ALT_HOTSPOT_DOCS_IMPORT_PATH = HOTSPOT_IMPORT_PATH = c:/Prg/openjdk/openjdk/control/build/WINDOW~1/hotspot/import ALT_HOTSPOT_IMPORT_PATH = c:/Prg/openjdk/openjdk/control/build/WINDOW~1/hotspot/import HOTSPOT_CLIENT_PATH = c:/Prg/openjdk/openjdk/control/build/WINDOW~1/hotspot/import/jre/bin/client ALT_HOTSPOT_CLIENT_PATH = HOTSPOT_SERVER_PATH = c:/Prg/openjdk/openjdk/control/build/WINDOW~1/hotspot/import/jre/bin/server ALT_HOTSPOT_SERVER_PATH = HOTSPOT_LIB_PATH = c:/Prg/openjdk/openjdk/control/build/WINDOW~1/hotspot/import/lib ALT_HOTSPOT_LIB_PATH = DXSDK_VER = 0x0700 DXSDK_PATH = C:/Prg/DIRECT~1 ALT_DXSDK_PATH = C:\Prg\DirectX9SDK_062005 DXSDK_INCLUDE_PATH = C:/Prg/DIRECT~1/Include ALT_DXSDK_INCLUDE_PATH = DXSDK_LIB_PATH = C:/Prg/DIRECT~1/Lib ALT_DXSDK_LIB_PATH = UNICOWS_DLL_PATH = /jre/bin ALT_UNICOWS_DLL_PATH = UNICOWS_LIB_PATH = C:/Prg/MSVS2003/VC7/PlatformSDK/Lib ALT_UNICOWS_LIB_PATH = CACERTS_FILE = ./../src/share/lib/security/cacerts ALT_CACERTS_FILE = CLOSED_BUILD_PATH = J:/re/j2se/1.7.0/promoted/latest/binaries ALT_CLOSED_BUILD_PATH = CLOSED_JDK_IMPORT_PATH = C:\Prg\OpenJDK\BinaryPlugs ALT_CLOSED_JDK_IMPORT_PATH = C:\Prg\OpenJDK\BinaryPlugs CLOSED_LIB_DIR = C:\Prg\OpenJDK\BinaryPlugs/jre/bin ALT_CLOSED_LIB_DIR = CLOSED_JAR_FILE = C:\Prg\OpenJDK\BinaryPlugs/jre/lib/rt.jar ALT_CLOSED_JAR_FILE = WARNING: You appear to be using an unsupported version of Windows Professional 2 000. The supported version is Windows Professional 2000 5 0 Service Pack 4. You appear to be using 5 1 Service Pack 2 ERROR: You do not have access to the Microsoft Layer for Unicode (MSLU) runtime files. Please check your access to /jre/bin/unicows.dll and/or check your value of ALT_UNICOWS_DLL_PATH ERROR: You do not have access to msvcrt.dll. Please check your access to C:/windows/system32/msvcrt.dll and/or check your value of ALT_MSVCRT_DLL_PATH. ERROR: You do not have access to msvcr71.dll. Please check your access to C:/windows/system32/msvcr71.dll and/or check your value of ALT_MSVCR71_DLL_PATH. ERROR: Your JAVA_HOME environment variable is set. This will most likely cause the build to fail. Please unset it and start your build again. ERROR: Can't locate pre-built libraries. Please check your access to C:\Prg\OpenJDK\BinaryPlugs/jre/bin and/or check your value of ALT_CLOSED_LIB_DIR. ERROR: Can't locate pre-built libraries. Please check your access to C:\Prg\OpenJDK\BinaryPlugs/jre/lib/rt.jar and/or check your value of ALT_CLOSED_JAR_FILE. ERROR: Can't locate t2k import library. Please check your access to C:\Prg\OpenJDK\BinaryPlugs/jre/bin/t2k.lib and/or check your value of ALT_CLOSED_LIB_DIR. Exiting because of the above error(s). > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, July 16, 2007 5:10 PM > To: Ted Neward > Cc: [EMAIL PROTECTED]; build-dev@openjdk.java.net > Subject: Re: State of the build on Windows? > > > > Ted Neward wrote: > > Having installed the patched make, and having installed all of Cygwin, I > > then run "j2se/make/jdk_generic_profile.sh" and "cd control/make && make > > sanity" from a fresh bash prompt, and I get: > > > > sanity-rules.gmk:64: *** multiple target patterns. Stop. > > > > ? Is this another bad-environment problem? > > Ted, > > I believe this is the problem referred to below. > > > You should not need to build GNU make, however there is an issue with > 3.80 > > on Windows where it doesn't work, due to it not accepting C:/ style > paths. > > See > > > http://weblogs.java.net/blog/kellyohair/archive/2007/01/jdk_builds_on_w.ht > > ml > > Download a patched cygwin make binary from > > http://www.cmake.org/files/cygwin/make.exe > > Cygwin made a major controversial change to their make binary > that causes make to no longer work with the JDK builds, > or with any makefiles that use C:/FOO style paths. > > Martin > No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.10.6/902 - Release Date: 7/15/2007 2:21 PM