Help to build OpenJDK, Windows 7, VS2008 (VS2010) - Now with building Corba

Lussier, Denis denisl at openscg.com
Tue Dec 14 17:49:15 UTC 2010


Building OpenJDK Windows binaries for the first time takes patience and
perserverance.  Personally, it took me more than a week to get it right and
that was after I located oldies like VS2003 and Windows2000 for properly
building OpenJDK 6 .  Keep going.

I remember having problems with building CORBA on Windoze for OpenJDK6 that
for me eventually tracked back to the fact I was using too new of a version
of Oracle's Proprietary JDK6 as the Bootstrap compiler.

I got around it in the short run by setting an environment variable telling
OpenJDK to use CORBA binaries from the bootstrap rather than building it
myself.   I then went back and figured it out later once my frustration
level was lower.

Good Luck.

--Denis Lussier
  http://openscg.org



On Tue, Dec 14, 2010 at 12:13 PM, Dang Nhan Nguyen <nhann at chalmers.se>wrote:

>  Dear all,
>
>
>
> I continue trying to build OpenJDK. And now the building process stop at
> Corba. I have searched around, but seem no one have the same problem with
> corba like I have now.
>
> I have been struggling with building OpenJDK for 2 days already but still
> unsucceed.
>
>
>
> Any help or hint are appreciated,
>
> /Nhan
>
>
>
> The environment variable that I used is:
>
> ----------------------
>
> call C:\PROGRA~2\MICROS~1.0\VC\bin\amd64\vcvars32.bat
>
> set VSINSTALLDIR=C:/PROGRA~2/MICROS~2.0
>
> set VCINSTALLDIR=%VSINSTALLDIR%/VC
>
> set
> PATH=%VSINSTALLDIR%/VC/BIN/amd64;%VSINSTALLDIR%\Common7/IDE;C:/WINDOWS\system32;C:WINDOWS;C:\WINDOWS\System32\Wbem;c:/cygwin/bin;%ANT_HOME%/bin;C:\PROGRA~1\Java\JDK16~1.0_1\bin;D:\Programs\ft_64\lib
>
>
>
> set JAVA_HOME=
>
> set ANT_HOME=d:/Programs/APACHE~1.0
>
>
>
> set ALT_BINARY_PLUGS_PATH=Z:/Projects/openjdk/openjdk7/openjdk-binary-plugs
>
> set ALT_BOOTDIR=c:/PROGRA~1/Java/JDK16~1.0_1
>
>
>
> set ALT_OUTPUTDIR=Z:/Projects/openjdk/openjdk7b121
>
>
>
> set ALT_DXSDK_PATH=C:/PROGRA~2/MICROS~1.0SD
>
> set ALT_COMPILER_PATH=%VCINSTALLDIR%/BIN/amd64
>
> set WindowsSdkDir=C:\PROGRA~2\MIA713~1\Windows\v7.0A
>
> set INCLUDE=%VSINSTALLDIR%\vc\include;%WindowsSdkDir%\include
>
> set LIB=%VSINSTALLDIR%\vc\lib\amd64;%WindowsSdkDir%\lib\x64
>
> set ALT_MSVCRNN_DLL_PATH=%VSINSTALLDIR%/VC/redist/x64/Microsoft.VC100.CRT
>
> set ALT_MSDEVTOOLS_PATH=%VSINSTALLDIR%
>
>
>
> set ALT_FREETYPE_HEADERS_PATH=D:/Programs/ft_64/include
>
> set ALT_FREETYPE_LIB_PATH=D:/Programs/ft_64/lib
>
>
>
> bash
>
> ----------------------------------
>
> The errors messages are:
>
> -----------------------------------------
>
> <Building langtools successful>
>
> ########################################################################
>
> ########################################################################
>
> ##### Entering  corba for target  all                              #####
>
> ########################################################################
>
> (cd  ./corba/make && \
>
>  make JDK_TOPDIR=Z:/Projects/MFAGDY~3/openjdk/openjdk7/openjdk/jdk
> JDK_MAKE_SHAR
>
> ED_DIR=Z:/Projects/MFAGDY~3/openjdk/openjdk7/openjdk/jdk/make/common/shared
> EXTE
>
> RNALSANITYCONTROL=true SOURCE_LANGUAGE_VERSION=7 TARGET_CLASS_VERSION=7
> MILESTON
>
> E=internal BUILD_NUMBER=b00 JDK_BUILD_NUMBER=b00
> FULL_VERSION=1.7.0-internal-nha
>
> nn_2010_12_14_17_52-b00 PREVIOUS_JDK_VERSION=1.6.0 JDK_VERSION=1.7.0
> JDK_MKTG_VE
>
> RSION=7 JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=7 JDK_MICRO_VERSION=0
> PREVIOUS_MAJ
>
> OR_VERSION=1 PREVIOUS_MINOR_VERSION=6 PREVIOUS_MICRO_VERSION=0
> ARCH_DATA_MODEL=6
>
> 4 COOKED_BUILD_NUMBER=0 ANT_HOME="d:/Programs/APACHE~1.0"
> ALT_OUTPUTDIR=Z:/Proje
>
> cts/openjdk/openjdk7b121/corba ALT_BOOTDIR=c:/PROGRA~1/Java/JDK16~1
>
> .0_1
> ALT_JDK_IMPORT_PATH=J:/re/jdk/1.7.0/promoted/latest/binaries/windows-amd64
>
> ALT_LANGTOOLS_DIST=Z:/Projects/openjdk/openjdk7b121/langtools/dist
>
> all)
>
> make[2]: Entering directory `/cygdrive/z/Projects/openjdk/openjdk7/
>
> openjdk/corba/make'
>
> common/shared/Defs-windows.gmk:289: "WARNING: Value of JDK_IMPORT_PATH
> cannot be  empty, check or set ALT_JDK_IMPORT_PATH"   /////noted by Nhan:
> even I set ALT_JDK_IMPORT_PATH to the jdk6 (ALT_BOOTDIR) or the newly built
>
>
>                                                       //////Openjdk7b121,
> below error still occurs
>
> File not found - *-template
>
> make[3]: Entering directory
> `/cygdrive/z/Projects/openjdk/openjdk7/openjdk/corba/make/tools'
>
> make[4]: Entering directory
> `/cygdrive/z/Projects/openjdk/openjdk7/openjdk/corba/make/tools/strip_properties'
>
> make[4]: Nothing to be done for `build'.
>
> make[4]: Leaving directory
> `/cygdrive/z/Projects/openjdk/openjdk7/openjdk/corba/make/tools/strip_properties'
>
> make[4]: Entering directory
> `/cygdrive/z/Projects/openjdk/openjdk7/openjdk/corba/make/tools/idlj'
>
> make[4]: Nothing to be done for `build'.
>
> make[4]: Leaving directory
> `/cygdrive/z/Projects/openjdk/openjdk7/openjdk/corba/make/tools/idlj'
>
> make[4]: Entering directory
> `/cygdrive/z/Projects/openjdk/openjdk7/openjdk/corba/make/tools/logutil'
>
> make[4]: Nothing to be done for `build'.
>
> make[4]: Leaving directory
> `/cygdrive/z/Projects/openjdk/openjdk7/openjdk/corba/make/tools/logutil'
>
> make[3]: Leaving directory
> `/cygdrive/z/Projects/openjdk/openjdk7/openjdk/corba/make/tools'
>
> make[3]: Entering directory
> `/cygdrive/z/Projects/openjdk/openjdk7/openjdk/corba/make/javax'
>
> make[4]: Entering directory
> `/cygdrive/z/Projects/openjdk/openjdk7/openjdk/corba/make/javax/xa'
>
> make[4]: *** No rule to make target
> `Z:/Projects/openjdk/openjdk7b121/corba/classes/javax/transaction/InvalidTransactionException.class',
> needed by
>
>  `Z:/Projects/openjdk/openjdk7b121/corba/tmp/sun/javax.transaction.xa/.classes.list'.
> Stop.
>
> make[4]: Leaving directory
> `/cygdrive/z/Projects/openjdk/openjdk7/openjdk/corba/make/javax/xa'
>
> make[3]: *** [build] Error 1
>
> make[3]: Leaving directory
> `/cygdrive/z/Projects/openjdk/openjdk7/openjdk/corba/make/javax'
>
> make[2]: *** [build] Error 1
>
> make[2]: Leaving directory
> `/cygdrive/z/Projects/openjdk/openjdk7/openjdk/corba/make'
>
> make[1]: *** [corba-build] Error 2
>
> make[1]: Leaving directory `/cygdrive/z/Projects/openjdk/openjdk7/openjdk'
>
> make: *** [build_product_image] Error 2
>
>
>
>
>
> In all the directory that make[x] enter when building corba such as
> tools/strip_properties, tools/idlj, there is one Makefile in each.
>
>
>
>
>
> *From:* build-dev-bounces at openjdk.java.net [mailto:
> build-dev-bounces at openjdk.java.net] *On Behalf Of *Dang Nhan Nguyen
> *Sent:* Tuesday, December 14, 2010 4:03 PM
> *To:* build-dev at openjdk.java.net
> *Subject:* RE: Help to build OpenJDK, Windows 7, VS2008 (VS2010)
>
>
>
> Hi guys,
>
>
>
> I fixed the problem with FREETYPE.
>
> What I have done is building both freetype.lib and freetype.dll from the
> source; thanks to this:
>
>
> http://wiki.libagar.org/wiki/Install/Windows_(Visual_Studio)#Compiling_FreeType_yourself
>
>
>
> and put both of them in ALT_FREETYPE_LIB_PATH
>
>
>
> Now proceeding with building and stuck at corba,
>
> /Nhan
>
>
>
> *From:* Dang Nhan Nguyen
> *Sent:* Tuesday, December 14, 2010 12:10 PM
> *To:* 'build-dev at openjdk.java.net'
> *Subject:* Help to build OpenJDK, Windows 7, VS2008 (VS2010)
>
>
>
> Hi,
>
>
>
> I am trying to build openjdk on Windows 7, with VS2008 (or VS2010).
>
>
>
> I had problem with freetype check and all the freetype version available is
> for 32bit. So I loaded the source from Freetype and compile it by myself
> using VS2010 (64bit).
>
> I got a .lib file, changed its name to freetype.lib and included it in
> ALT_FREETYPE_LIB_PATH.
>
>
>
> But I still had error with during building freetype_check file (The errors
> is attached at the end)
>
> Could anybody help me going through this errors
>
>
>
> /Nhan Nguyen
>
>
>
> =====================configuration for building===========================
>
>
>
> I setup a file buildenv.bat as follow:
>
> ------------------------------------------------------
>
> call C:\PROGRA~2\MICROS~1.0\VC\bin\amd64\vcvars32.bat
>
>
>
> set VSINSTALLDIR=C:/PROGRA~2/MICROS~1.0  #path to VS2008, I setup path to
> VS2010 but the Makefile does not recorgnize it and
>
>
> # issue an errors and COMPILER_PATH is EMPTY
>
> set VCINSTALLDIR=%VSINSTALLDIR%/VC
>
>
>
> set
> PATH=%VSINSTALLDIR%/VC/BIN/amd64;%VSINSTALLDIR%/Common7/IDE;C:/WINDOWS\system32;C:\WINDOWS;C:
>
>
>
>
> \WINDOWS\System32\Wbem;c:/cygwin/bin;%ANT_HOME%/bin;C:\PROGRA~1\Java\JDK16~1.0_1\bin
>
> set JAVA_HOME=
>
>
>
> set ANT_HOME=d:/Programs/APACHE~1.0
>
>
>
> set ALT_BINARY_PLUGS_PATH=Z:/Projects/openjdk/openjdk7/openjdk-binary-plugs
>
> set ALT_BOOTDIR=c:/PROGRA~1/Java/JDK16~1.0_1
>
>
>
> set ALT_OUTPUTDIR=Z:/Projects/openjdk/openjdk7b121
>
>
>
> set ALT_DXSDK_PATH=C:/PROGRA~2/MICROS~1.0SD
>
> set ALT_COMPILER_PATH=%VCINSTALLDIR%/BIN/amd64
>
> set WindowsSdkDir=C:\PROGRA~2\MIA713~1\Windows\v7.0A
>
> set INCLUDE=%VSINSTALLDIR%\vc\include;%WindowsSdkDir%\include
>
> set LIB=%VSINSTALLDIR%\vc\lib\amd64;%WindowsSdkDir%\lib\x64
>
>
>
> set ALT_FREETYPE_HEADERS_PATH=D:/Programs/ft_64/include
>
> set ALT_FREETYPE_LIB_PATH=D:/Programs/ft_64/lib
>
>
>
> bash
>
>
>
>
>
> Here is the output from: make sanity
>
>
>
> Build Machine Information:
>
>    build machine = CSE-665824
>
>
>
> Build Directory Structure:
>
>    CWD = /cygdrive/z/Projects/openjdk/openjdk
>
>    TOPDIR = .
>
>    CONTROL_TOPDIR = .
>
>    LANGTOOLS_TOPDIR = ./langtools
>
>    JAXP_TOPDIR = ./jaxp
>
>    JAXWS_TOPDIR = ./jaxws
>
>    CORBA_TOPDIR = ./corba
>
>    HOTSPOT_TOPDIR = ./hotspot
>
>    JDK_TOPDIR = ./jdk
>
>
>
> Build Directives:
>
>    BUILD_LANGTOOLS = true
>
>    BUILD_JAXP = true
>
>    BUILD_JAXWS = true
>
>    BUILD_CORBA = true
>
>    BUILD_HOTSPOT = true
>
>    BUILD_JDK    = true
>
>    DEBUG_CLASSFILES =
>
>    DEBUG_BINARIES =
>
>
>
> Hotspot Settings:
>
>       HOTSPOT_BUILD_JOBS  =
>
>       HOTSPOT_OUTPUTDIR   =
> Z:/Projects/openjdk/openjdk7b121/hotspot/outputdir
>
>       HOTSPOT_EXPORT_PATH = Z:/Projects/openjdk/openjdk7b121/hotspot/import
>
>
>
>
>
>
>
>
>
>
> Bootstrap Settings:
>
>   BOOTDIR = c:/PROGRA~1/Java/JDK16~1.0_1
>
>     ALT_BOOTDIR = c:/PROGRA~1/Java/JDK16~1.0_1
>
>   BOOT_VER = 1.6.0 [requires at least 1.5]
>
>   OUTPUTDIR = Z:/Projects/openjdk/openjdk7b121
>
>     ALT_OUTPUTDIR = Z:/Projects/openjdk/openjdk7b121
>
>   ABS_OUTPUTDIR = Z:/Projects/openjdk/openjdk7b121
>
>
>
> Build Tool Settings:
>
>   SLASH_JAVA = J:
>
>     ALT_SLASH_JAVA =
>
>   VARIANT = OPT
>
>   JDK_DEVTOOLS_DIR = J:/devtools
>
>     ALT_JDK_DEVTOOLS_DIR =
>
>   ANT_HOME = d:/Programs/APACHE~1.0
>
>   UNIXCOMMAND_PATH = /usr/bin/
>
>     ALT_UNIXCOMMAND_PATH =
>
>   COMPILER_PATH = C:/PROGRA~2/MICROS~1.0/VC/BIN/amd64/
>
>     ALT_COMPILER_PATH = C:/PROGRA~2/MICROS~1.0/VC/BIN/amd64
>
>   DEVTOOLS_PATH = /usr/bin/
>
>     ALT_DEVTOOLS_PATH =
>
>   MSVCRT_DLL_PATH = C:/Windows/System32
>
>     ALT_MSVCRT_DLL_PATH = C:/Windows\System32
>
>   MSVCRNN_DLL_PATH =
> C:/PROGRA~2/MICROS~1.0/VC/redist/x86/Microsoft.VC90.CRT
>
>     ALT_MSVCRNN_DLL_PATH =
>
>   MSDEVTOOLS_PATH = C:/PROGRA~2/MICROS~1.0/VC/Bin/amd64/../../../
>
>     ALT_MSDEVTOOLS_PATH =
>
>   COMPILER_NAME = Microsoft Windows SDK with Visual Studio 9
> (6001.18000.367)
>
>   COMPILER_VERSION = VS2008
>
>   CC_VER = 15.00.30729.01 [requires at least 15.00.21022.08]
>
>   ZIP_VER = 3.0 [requires at least 2.2]
>
>   UNZIP_VER = 6.00 [requires at least 5.12]
>
>   LINK_VER = 9.00.30729.01 [requires at least 9.00.21022.08]
>
>   ANT_VER = 1.8.0 [requires at least 1.6.3]
>
>   TEMPDIR = Z:/Projects/openjdk/openjdk7b121/tmp
>
>
>
> Build Directives:
>
>   OPENJDK = true
>
>   USE_HOTSPOT_INTERPRETER_MODE =
>
>   PEDANTIC =
>
>   DEV_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 =
>
>   CC_HIGHER_OPT =
>
>   CC_LOWER_OPT =
>
>   CXXFLAGS =  -O1 -Zi -nologo -MD /D _STATIC_CPPLIB
> -FdZ:/Projects/openjdk/openjdk7b121/tmp/obj64/.pdb
> -FmZ:/Projects/openjdk/openjdk7b121/tmp/obj64/.map -wd4800 -W3 -D
> _CRT_SECURE_NO_DEPRECATE
>
>   CFLAGS =  -O1   -Zi -nologo -MD /D _STATIC_CPPLIB
> -FdZ:/Projects/openjdk/openjdk7b121/tmp/obj64/.pdb
> -FmZ:/Projects/openjdk/openjdk7b121/tmp/obj64/.map -wd4800 -W3 -D
> _CRT_SECURE_NO_DEPRECATE
>
>   BOOT_JAVA_CMD = c:/PROGRA~1/Java/JDK16~1.0_1/bin/java -XX:-PrintVMOptions
> -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -Xmx896m -Xms128m
> -XX:PermSize=32m -XX:MaxPermSize=160m
>
>   BOOT_JAVAC_CMD = c:/PROGRA~1/Java/JDK16~1.0_1/bin/javac
> -J-XX:ThreadStackSize=1536 -J-XX:-PrintVMOptions
> -J-XX:+UnlockDiagnosticVMOptions -J-XX:-LogVMOutput -J-Xmx896m -J-Xms128m
> -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -encoding ascii -source 6 -target
> 6 -XDignore.symbol.file=true
>
>   BOOT_JAR_CMD = c:/PROGRA~1/Java/JDK16~1.0_1/bin/jar
>
>   BOOT_JARSIGNER_CMD = c:/PROGRA~1/Java/JDK16~1.0_1/bin/jarsigner
>
>
>
> Build Platform Settings:
>
>   USER = nhann
>
>   PLATFORM = windows
>
>   ARCH = amd64
>
>   LIBARCH = amd64
>
>   ARCH_FAMILY = amd64
>
>   ARCH_DATA_MODEL = 64
>
>   ARCHPROP = amd64
>
>   PROCESSOR_ARCHITECTURE = x86
>
>   PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 23 Stepping 10,
> GenuineIntel
>
>   USING_CYGWIN = true
>
>   CYGWIN_VER = 6.1 [requires at least 4.0]
>
>   CYGPATH_CMD = cygpath -a -s -m
>
>   OS_VERSION = 6.1 [requires at least 5.2]
>
>   OS_VARIANT_NAME =
>
>   OS_VARIANT_VERSION = 6.1
>
>   TEMP_FREE_SPACE = 16690384
>
>   FREE_SPACE = 686704
>
>   MB_OF_MEMORY = 3965
>
>
>
> GNU Make Settings:
>
>   MAKE = make
>
>   MAKE_VER = 3.80 [requires at least 3.78]
>
>   MAKECMDGOALS = sanity
>
>   MAKEFLAGS =  --unix -w
>
>   SHELL = /bin/sh.exe
>
>
>
> Target Build Versions:
>
>   JDK_VERSION = 1.7.0
>
>   MILESTONE = internal
>
>   RELEASE = 1.7.0-internal
>
>   FULL_VERSION = 1.7.0-internal-nhann_2010_12_14_11_49-b00
>
>   BUILD_NUMBER = b00
>
>
>
> External File/Binary Locations:
>
>   USRJDKINSTANCES_PATH = C:/PROGRA~1/Java
>
>   BUILD_JDK_IMPORT_PATH = J:/re/jdk/1.7.0/promoted/latest/binaries
>
>     ALT_BUILD_JDK_IMPORT_PATH =
>
>   JDK_IMPORT_PATH = J:/re/jdk/1.7.0/promoted/latest/binaries/windows-amd64
>
>     ALT_JDK_IMPORT_PATH =
>
>   LANGTOOLS_DIST =
>
>     ALT_LANGTOOLS_DIST = Z:/Projects/openjdk/openjdk7b121/langtools/dist
>
>   CORBA_DIST =
>
>     ALT_CORBA_DIST = Z:/Projects/openjdk/openjdk7b121/corba/dist
>
>   JAXP_DIST =
>
>     ALT_JAXP_DIST = Z:/Projects/openjdk/openjdk7b121/jaxp/dist
>
>   JAXWS_DIST =
>
>     ALT_JAXWS_DIST = Z:/Projects/openjdk/openjdk7b121/jaxws/dist
>
>   HOTSPOT_DOCS_IMPORT_PATH = /NO_DOCS_DIR
>
>     ALT_HOTSPOT_DOCS_IMPORT_PATH =
>
>   HOTSPOT_IMPORT_PATH =
> Z:/Projects/MFAGDY~3/openjdk/OMJVW4~H/hotspot/import
>
>     ALT_HOTSPOT_IMPORT_PATH =
> Z:/Projects/openjdk/openjdk7b121/hotspot/import
>
>   HOTSPOT_SERVER_PATH =
> Z:/Projects/MFAGDY~3/openjdk/OMJVW4~H/hotspot/import/jre/bin/server
>
>     ALT_HOTSPOT_SERVER_PATH =
>
>   HOTSPOT_LIB_PATH =
> Z:/Projects/MFAGDY~3/openjdk/OMJVW4~H/hotspot/import/lib
>
>     ALT_HOTSPOT_LIB_PATH =
>
>   DXSDK_VER = 0x0900
>
>   DXSDK_PATH = C:/PROGRA~2/MICROS~1.0SD
>
>     ALT_DXSDK_PATH = C:/PROGRA~2/MICROS~1.0SD
>
>   DXSDK_INCLUDE_PATH = C:/PROGRA~2/MICROS~1.0SD/Include
>
>     ALT_DXSDK_INCLUDE_PATH =
>
>   DXSDK_LIB_PATH = C:/PROGRA~2/MICROS~1.0SD/Lib/x64
>
>     ALT_DXSDK_LIB_PATH =
>
>   CACERTS_FILE = ./../src/share/lib/security/cacerts
>
>     ALT_CACERTS_FILE =
>
>
>
> OpenJDK-specific settings:
>
>   FREETYPE_HEADERS_PATH = D:/Programs/ft_64/include
>
>     ALT_FREETYPE_HEADERS_PATH = D:/Programs/ft_64/include
>
>   FREETYPE_LIB_PATH = D:/Programs/ft_64/lib
>
>     ALT_FREETYPE_LIB_PATH = D:/Programs/ft_64/lib
>
>
>
> OPENJDK Import Binary Plug Settings:
>
>   IMPORT_BINARY_PLUGS = true
>
>   BINARY_PLUGS_JARFILE =
> Z:/Projects/openjdk/openjdk7/openjdk-binary-plugs/jre/lib/rt-closed.jar
>
>     ALT_BINARY_PLUGS_JARFILE =
>
>   BINARY_PLUGS_PATH = Z:/Projects/openjdk/openjdk7/openjdk-binary-plugs
>
>     ALT_BINARY_PLUGS_PATH =
> Z:/Projects/openjdk/openjdk7/openjdk-binary-plugs
>
>   BUILD_BINARY_PLUGS_PATH =
> J:/re/jdk/1.7.0/promoted/latest/openjdk/binaryplugs
>
>     ALT_BUILD_BINARY_PLUGS_PATH =
>
>   PLUG_LIBRARY_NAMES =
>
>
>
> Previous JDK Settings:
>
>   PREVIOUS_RELEASE_PATH = USING-PREVIOUS_RELEASE_IMAGE
>
>     ALT_PREVIOUS_RELEASE_PATH =
>
>   PREVIOUS_JDK_VERSION = 1.6.0
>
>     ALT_PREVIOUS_JDK_VERSION =
>
>   PREVIOUS_JDK_FILE =
>
>     ALT_PREVIOUS_JDK_FILE =
>
>   PREVIOUS_JRE_FILE =
>
>     ALT_PREVIOUS_JRE_FILE =
>
>   PREVIOUS_RELEASE_IMAGE = c:/PROGRA~1/Java/JDK16~1.0_1
>
>     ALT_PREVIOUS_RELEASE_IMAGE =
>
>
>
> WARNING: To build Java 2 SDK 1.7.0 you need :
>
>        VS2008 - link.exe version "9.00.21022.08"
>
>        Specifically the Microsoft Windows SDK with Visual Studio 9
> (6001.18000.367) link.exe.
>
>         You appear to be using Linker version "9.00.30729.01"
>
>
>
> ERROR: FreeType version  2.3.0  or higher is required.
>
>  make[2]: Entering directory
> `/cygdrive/z/Projects/openjdk/openjdk/jdk/make/tools/freetypecheck'
>
> /usr/bin/mkdir -p Z:/Projects/openjdk/openjdk7b121/btbins
>
> rm -f Z:/Projects/openjdk/openjdk7b121/btbins/freetype_versioncheck.exe
>
> C:/PROGRA~2/MICROS~1.0/VC/BIN/amd64/cl /nologo /c
> -ID:/Programs/ft_64/include -ID:/Programs/ft_64/include/freetype2
> -DREQUIRED_FREETYPE_VERSION=2.3.0
> -FoZ:/Projects/openjdk/openjdk7b121/btbins/freetype_versioncheck.obj
> freetypecheck.c
>
> freetypecheck.c
>
> C:/PROGRA~2/MICROS~1.0/VC/BIN/amd64/link D:/Programs/ft_64/lib/freetype.lib
> /manifest
> /OUT:Z:/Projects/openjdk/openjdk7b121/btbins/freetype_versioncheck.exe
> Z:/Projects/openjdk/openjdk7b121/btbins/freetype_versioncheck.obj
>
> Microsoft (R) Incremental Linker Version 9.00.30729.01
>
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
>
> freetype_versioncheck.obj : error LNK2019: unresolved external symbol
> __imp_FT_Library_Version referenced in function main
>
> freetype_versioncheck.obj : error LNK2019: unresolved external symbol
> __imp_FT_Init_FreeType referenced in function main
>
> Z:/Projects/openjdk/openjdk7b121/btbins/freetype_versioncheck.exe : fatal
> error LNK1120: 2 unresolved externals
>
> make[2]: Leaving directory
> `/cygdrive/z/Projects/openjdk/openjdk/jdk/make/tools/freetypecheck'
>
> Failed to build freetypecheck.
>
>
>
> Exiting because of the above error(s).
>
>
>
> --------------------------------------------------------
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/build-dev/attachments/20101214/adca24e2/attachment.html>


More information about the build-dev mailing list