Hi Kennedy,
On 09/01/2015 07:44 AM, kennedy wrote:
Hi Alex,
I had set the correct PATH , both ALT_FREETYPE_LIB_PATH and
ALT_FREETYPE_HEADERS_PATH are correct.
Could you please specify jdk7u mercurial revision, exact paths that you
are using for FreeType options and details about FreeType binaries and
headers on those paths?
Looking again at the linker error in your previous email with the
following paths:
> ALT_FREETYPE_HEADERS_PATH = e:/freetype-2.4.7/include
> ALT_FREETYPE_LIB_PATH = e:/freetype-2.4.7/objs/x64/vc2010
it looks like it is something wrong with freetype-2.4.7 binaries you
use. ALT_FREETYPE_LIB_PATH should point to directory with the following
files:
- freetype.dll
- freetype.exp
- freetype.lib
Where freetype.lib must be a full static library from a separate static
build, not an import library for DLL from dynamic build.
PS: could you please also check that you are subscribed to
http://mail.openjdk.java.net/mailman/listinfo/jdk7u-dev list? While you
put dk7u-dev in CC, it looks like you messages are not displayed on it now.
At 2015-07-06 21:13:40, "Alex Kashchenko" <m...@alexkasko.com> wrote:
Hi kennedy,
On 07/06/2015 11:59 AM, kennedy wrote:
hi alex,
I had set the ALT_FREETYPE_LIB_PATH and ALT_FREETYPE_HEADERS_PATH, and tried
the freetype_2.5.3_win_x86_64.zip
But it still doesn't work at all, with the same error.
Could you please specify the exact paths where you placed FreeType
headers and binaries and the exact values you set for
ALT_FREETYPE_LIB_PATH and ALT_FREETYPE_HEADERS_PATH?
ALT_FREETYPE_LIB_PATH should point to directory with the following files:
- freetype.dll
- freetype.exp
- freetype.lib
ALT_FREETYPE_HEADERS_PATH should point to ../freetype/include
(freetype.h should be in that directory).
PS: please keep jdk7u-dev in CC.
At 2015-07-03 19:24:31, "Alex Kashchenko" <m...@alexkasko.com> wrote:
Hi kennedy,
On 07/01/2015 11:39 AM, kennedy wrote:
Compile openJDK 1.7 (x64) on Windows 7 (x64)
I haven't reproduced it myself but it looks like the same problem as in
this thread about jdk8 build [1]. FreeType binaries for jdk8 and jdk7
are the same, just in jdk7u you'll need to set ALT_FREETYPE_LIB_PATH and
ALT_FREETYPE_HEADERS_PATH.
If you'll want to build FreeType yourself and will have problems with it
- I can write more details on its windows build.
PS: CC'ing jdk7u-dev instead of build-dev, as it looks more relevant and
has lower traffic.
[1]
http://mail.openjdk.java.net/pipermail/build-dev/2014-October/013530.html
and the error output:
------
( cd ./jdk/make && \
make sanity HOTSPOT_IMPORT_CHECK=false JDK_TOPDIR=E:/research/open/jdk7/jdk
JDK_MAKE_SHARED_DIR=E:/research/open/jdk7/jdk/make/common/shared
EXTERNALSANITYCONTROL=true SOURCE_LANGUAGE_VERSION=7 TARGET_CLASS_VERSION=7
MILESTONE=internal BUILD_NUMBER=b00 JDK_BUILD_NUMBER=b00
FULL_VERSION=1.7.0-internal-administrator_2015_07_01_16_07-b00 PREVIOUS_JDK_VERSION=1.6.0
JDK_VERSION=1.7.0 JDK_MKTG_VERSION=7 JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=7
JDK_MICRO_VERSION=0 PREVIOUS_MAJOR_VERSION=1 PREVIOUS_MINOR_VERSION=6
PREVIOUS_MICRO_VERSION=0 ARCH_DATA_MODEL=64 COOKED_BUILD_NUMBER=0
ANT_HOME="E:/APACHE~1.5" ALT_OUTPUTDIR=e:/research/open/output_amd64
ALT_LANGTOOLS_DIST=e:/research/open/output_amd64/langtools/dist
ALT_CORBA_DIST=e:/research/open/output_amd64/corba/dist
ALT_JAXP_DIST=e:/research/open/output_amd64/jaxp/dist
ALT_JAXWS_DIST=e:/research/open/output_amd64/jaxws/dist
ALT_HOTSPOT_IMPORT_PATH=e:/research/open/output_amd64/hotspot/import BUILD_HOTSPOT=true ;
)
make[1]: Entering directory '/cygdrive/e/research/open/jdk7/jdk/make'
make[2]: *** [e:/research/open/output_amd64/btbins/freetype_versioncheck.exe]
Error 96
make[1]: Leaving directory '/cygdrive/e/research/open/jdk7/jdk/make'
Build Machine Information:
build machine = GOBIXQR4SKSVROP
Build Directory Structure:
CWD = /cygdrive/e/research/open/jdk7
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 = 4
HOTSPOT_OUTPUTDIR = e:/research/open/output_amd64/hotspot/outputdir
HOTSPOT_EXPORT_PATH = e:/research/open/output_amd64/hotspot/import
Bootstrap Settings:
BOOTDIR = c:/jdk1.6
ALT_BOOTDIR = c:/jdk1.6
BOOT_VER = 1.6.0 [requires at least 1.6]
OUTPUTDIR = e:/research/open/output_amd64
ALT_OUTPUTDIR = e:/research/open/output_amd64
ABS_OUTPUTDIR = e:/research/open/output_amd64
Build Tool Settings:
SLASH_JAVA = J:
ALT_SLASH_JAVA =
VARIANT = OPT
JDK_DEVTOOLS_DIR = J:/devtools
ALT_JDK_DEVTOOLS_DIR =
ANT_HOME = E:/APACHE~1.5
UNIXCOMMAND_PATH = /usr/bin/
ALT_UNIXCOMMAND_PATH =
COMPILER_PATH = C:/PROGRA~2/MICROS~1.0/Common7/Tools/../../Vc/bin/amd64/
ALT_COMPILER_PATH =
DEVTOOLS_PATH = /usr/bin/
ALT_DEVTOOLS_PATH =
MSVCRNN_DLL_PATH = E:/research/jdkBuild/msvcr100
ALT_MSVCRNN_DLL_PATH = e:/research/jdkBuild/msvcr100
INCLUDE = e:\Microsoft Visual Studio 10.0\VC\INCLUDE;C:\Program Files
(x86)\Microsoft SDKs\Windows7.0A\include
LIB = e:\Microsoft Visual Studio 10.0\VC\libmd64;C:\Program Files
(x86)\Microsoft SDKs\Windows7.0A\lib
COMPILER_NAME = Microsoft Visual Studio 10 (16.00.30319.01)
COMPILER_VERSION = VS2010
CC_VER = 16.00.40219.01 [requires at least 16.00.30319.01]
ZIP_VER = 3.0 [requires at least 2.2]
UNZIP_VER = 6.00 [requires at least 5.12]
LINK_VER = 10.00.40219.01 [requires at least 10.00.30319.01]
CC = C:/PROGRA~2/MICROS~1.0/Common7/Tools/../../Vc/bin/amd64/cl
LINK = C:/PROGRA~2/MICROS~1.0/Common7/Tools/../../Vc/bin/amd64/link
DUMPBIN =
C:/PROGRA~2/MICROS~1.0/Common7/Tools/../../Vc/bin/amd64/dumpbin.exe
ANT_VER = 1.9.5 [requires at least 1.7.1]
TEMPDIR = e:/research/open/output_amd64/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
SHOW_ALL_WARNINGS = false
INCREMENTAL_BUILD = false
CC_HIGHEST_OPT =
CC_HIGHER_OPT =
CC_LOWER_OPT =
CXXFLAGS = -O1 -Zi -nologo -MD /D _STATIC_CPPLIB /D
_DISABLE_DEPRECATE_STATIC_CPPLIB -Zc:wchar_t-
-Fde:/research/open/output_amd64/tmp/obj64/.pdb
-Fme:/research/open/output_amd64/tmp/obj64/.map -wd4800 -W3 -D
_CRT_SECURE_NO_DEPRECATE -D _CRT_NONSTDC_NO_DEPRECATE
CFLAGS = -O1 -Zi -nologo -MD /D _STATIC_CPPLIB /D
_DISABLE_DEPRECATE_STATIC_CPPLIB -Zc:wchar_t-
-Fde:/research/open/output_amd64/tmp/obj64/.pdb
-Fme:/research/open/output_amd64/tmp/obj64/.map -wd4800 -W3 -D
_CRT_SECURE_NO_DEPRECATE -D _CRT_NONSTDC_NO_DEPRECATE
BOOT_JAVA_CMD = c:/jdk1.6/bin/java -XX:-PrintVMOptions
-XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -Xmx512m -Xms512m
-XX:PermSize=32m -XX:MaxPermSize=160m
BOOT_JAVAC_CMD = c:/jdk1.6/bin/javac -J-XX:ThreadStackSize=1536
-J-XX:-PrintVMOptions -J-XX:+UnlockDiagnosticVMOptions -J-XX:-LogVMOutput
-J-Xmx512m -J-Xms512m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -encoding ascii
-source 6 -target 6 -XDignore.symbol.file=true
BOOT_JAR_CMD = c:/jdk1.6/bin/jar
BOOT_JARSIGNER_CMD = c:/jdk1.6/bin/jarsigner
Build Platform Settings:
USER = Administrator
PLATFORM = windows
ARCH = amd64
LIBARCH = amd64
ARCH_FAMILY = amd64
ARCH_DATA_MODEL = 64
ARCHPROP = amd64
PROCESSOR_ARCHITECTURE = AMD64
PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
USING_CYGWIN = true
CYGWIN_VER = 6.1 [requires at least 4.0]
CYGPATH_CMD = cygpath -a -s -m
OS_VERSION = 5.0 [requires at least 5.2]
OS_VARIANT_NAME = Windows2000
OS_VARIANT_VERSION = 5.0
MB_OF_MEMORY = 16278
GNU Make Settings:
MAKE = make
MAKE_VER = 4.1 [requires at least 3.81]
MAKECMDGOALS = sanity
MAKEFLAGS = w
SHELL = /bin/sh
Target Build Versions:
JDK_VERSION = 1.7.0
MILESTONE = internal
RELEASE = 1.7.0-internal
FULL_VERSION = 1.7.0-internal-administrator_2015_07_01_16_07-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 = C:/jdk1.6
ALT_JDK_IMPORT_PATH = C:\jdk1.6
LANGTOOLS_DIST =
ALT_LANGTOOLS_DIST = e:/research/open/output_amd64/langtools/dist
CORBA_DIST =
ALT_CORBA_DIST = e:/research/open/output_amd64/corba/dist
JAXP_DIST =
ALT_JAXP_DIST = e:/research/open/output_amd64/jaxp/dist
JAXWS_DIST =
ALT_JAXWS_DIST = e:/research/open/output_amd64/jaxws/dist
HOTSPOT_DOCS_IMPORT_PATH = /NO_DOCS_DIR
ALT_HOTSPOT_DOCS_IMPORT_PATH =
HOTSPOT_IMPORT_PATH = E:/research/open/output_amd64/hotspot/import
ALT_HOTSPOT_IMPORT_PATH = e:/research/open/output_amd64/hotspot/import
HOTSPOT_SERVER_PATH =
E:/research/open/output_amd64/hotspot/import/jre/bin/server
ALT_HOTSPOT_SERVER_PATH =
HOTSPOT_LIB_PATH = E:/research/open/output_amd64/hotspot/import/lib
ALT_HOTSPOT_LIB_PATH =
DXSDK_VER = 0x0900
DXSDK_PATH = E:/MICROS~1
ALT_DXSDK_PATH = E:\Microsoft DirectX SDK
DXSDK_INCLUDE_PATH = E:/MICROS~1/Include
ALT_DXSDK_INCLUDE_PATH =
DXSDK_LIB_PATH = E:/MICROS~1/Lib/x64
ALT_DXSDK_LIB_PATH =
WINDOWSSDKDIR = E:/MICROS~2/Windows/v7.1/
ALT_WINDOWSSDKDIR =
RC = E:/MICROS~2/Windows/v7.1//Bin/x64/RC.Exe
REBASE = E:/MICROS~2/Windows/v7.1//Bin/x64/ReBase.Exe
CACERTS_FILE = ./../src/share/lib/security/cacerts
ALT_CACERTS_FILE =
OpenJDK-specific settings:
FREETYPE_HEADERS_PATH = e:/freetype-2.4.7/include
ALT_FREETYPE_HEADERS_PATH = e:/freetype-2.4.7/include
FREETYPE_LIB_PATH = e:/freetype-2.4.7/objs/x64/vc2010
ALT_FREETYPE_LIB_PATH = e:/freetype-2.4.7/objs/x64/vc2010
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:/jdk1.6
ALT_PREVIOUS_RELEASE_IMAGE =
WARNING: To build Java 2 SDK 1.7.0 you need :
VS2010 - link.exe version '10.00.30319.01'
Specifically the Visual Studio 10 link.exe.
You appear to be using Linker version '10.00.40219.01'
ERROR: FreeType version 2.3.0 or higher is required.
make[2]: Entering directory
'/cygdrive/e/research/open/jdk7/jdk/make/tools/freetypecheck'
/usr/bin/mkdir -p e:/research/open/output_amd64/btbins
rm -f e:/research/open/output_amd64/btbins/freetype_versioncheck.exe
C:/PROGRA~2/MICROS~1.0/Common7/Tools/../../Vc/bin/amd64/cl /nologo /c
-Ie:/freetype-2.4.7/include -Ie:/freetype-2.4.7/include/freetype2
-DREQUIRED_FREETYPE_VERSION=2.3.0
-Foe:/research/open/output_amd64/btbins/freetype_versioncheck.obj
freetypecheck.c
freetypecheck.c
C:/PROGRA~2/MICROS~1.0/Common7/Tools/../../Vc/bin/amd64/link
e:/freetype-2.4.7/objs/x64/vc2010/freetype.lib /manifest
/OUT:e:/research/open/output_amd64/btbins/freetype_versioncheck.exe
e:/research/open/output_amd64/btbins/freetype_versioncheck.obj
Microsoft (R) Incremental Linker Version 10.00.40219.01
Copyright (C) Microsoft Corporation. All rights reserved.
LIBCMT.lib(crt0.obj) : error LNK2019: unresolved external symbol
__imp_GetCommandLineA referenced in function __tmainCRTStartup
LIBCMT.lib(longjmp.obj) : error LNK2019: unresolved external symbol RtlUnwindEx
referenced in function longjmp
LIBCMT.lib(jmpuwind.obj) : error LNK2001: unresolved external symbol RtlUnwindEx
LIBCMT.lib(malloc.obj) : error LNK2019: unresolved external symbol
__imp_HeapAlloc referenced in function _heap_alloc
LIBCMT.lib(calloc_impl.obj) : error LNK2001: unresolved external symbol
__imp_HeapAlloc
LIBCMT.lib(chsize.obj) : error LNK2001: unresolved external symbol
__imp_HeapAlloc
LIBCMT.lib(osfinfo.obj) : error LNK2019: unresolved external symbol
__imp_GetLastError referenced in function _set_osfhnd
LIBCMT.lib(commit.obj) : error LNK2001: unresolved external symbol
__imp_GetLastError
LIBCMT.lib(open.obj) : error LNK2001: unresolved external symbol
__imp_GetLastError
LIBCMT.lib(chsize.obj) : error LNK2001: unresolved external symbol
__imp_GetLastError
LIBCMT.lib(write.obj) : error LNK2001: unresolved external symbol
__imp_GetLastError
LIBCMT.lib(winsig.obj) : error LNK2001: unresolved external symbol
__imp_GetLastError
LIBCMT.lib(rand_s.obj) : error LNK2001: unresolved external symbol
__imp_GetLastError
LIBCMT.lib(inithelp.obj) : error LNK2001: unresolved external symbol
__imp_GetLastError
LIBCMT.lib(read.obj) : error LNK2001: unresolved external symbol
__imp_GetLastError
LIBCMT.lib(lseek.obj) : error LNK2001: unresolved external symbol
__imp_GetLastError
LIBCMT.lib(wctomb.obj) : error LNK2001: unresolved external symbol
__imp_GetLastError
LIBCMT.lib(lseeki64.obj) : error LNK2001: unresolved external symbol
__imp_GetLastError
LIBCMT.lib(realloc.obj) : error LNK2001: unresolved external symbol
__imp_GetLastError
LIBCMT.lib(free.obj) : error LNK2001: unresolved external symbol
__imp_GetLastError
LIBCMT.lib(tidtable.obj) : error LNK2001: unresolved external symbol
__imp_GetLastError
LIBCMT.lib(close.obj) : error LNK2001: unresolved external symbol
__imp_GetLastError
LIBCMT.lib(realloc.obj) : error LNK2019: unresolved external symbol
__imp_HeapReAlloc referenced in function realloc
LIBCMT.lib(free.obj) : error LNK2019: unresolved external symbol __imp_HeapFree
referenced in function free
LIBCMT.lib(chsize.obj) : error LNK2001: unresolved external symbol
__imp_HeapFree
LIBCMT.lib(chandler.obj) : error LNK2019: unresolved external symbol
__imp_RtlUnwindEx referenced in function __C_specific_handler
LIBCMT.lib(_file.obj) : error LNK2019: unresolved external symbol
__imp_EnterCriticalSection referenced in function _lock_file
LIBCMT.lib(stream.obj) : error LNK2001: unresolved external symbol
__imp_EnterCriticalSection
LIBCMT.lib(mlock.obj) : error LNK2001: unresolved external symbol
__imp_EnterCriticalSection
LIBCMT.lib(osfinfo.obj) : error LNK2001: unresolved external symbol
__imp_EnterCriticalSection
LIBCMT.lib(_file.obj) : error LNK2019: unresolved external symbol
__imp_LeaveCriticalSection referenced in function _unlock_file
LIBCMT.lib(mlock.obj) : error LNK2001: unresolved external symbol
__imp_LeaveCriticalSection
LIBCMT.lib(osfinfo.obj) : error LNK2001: unresolved external symbol
__imp_LeaveCriticalSection
LIBCMT.lib(rand_s.obj) : error LNK2001: unresolved external symbol
__imp_DecodePointer
LIBCMT.lib(onexit.obj) : error LNK2001: unresolved external symbol
__imp_DecodePointer
LIBCMT.lib(crtmboxw.obj) : error LNK2001: unresolved external symbol
__imp_DecodePointer
LIBCMT.lib(outputs.obj) : error LNK2001: unresolved external symbol
__imp_DecodePointer
LIBCMT.lib(outputp.obj) : error LNK2001: unresolved external symbol
__imp_DecodePointer
LIBCMT.lib(hooks.obj) : error LNK2001: unresolved external symbol
__imp_DecodePointer
LIBCMT.lib(winsig.obj) : error LNK2001: unresolved external symbol
__imp_DecodePointer
LIBCMT.lib(output.obj) : error LNK2019: unresolved external symbol
__imp_DecodePointer referenced in function _output_l
LIBCMT.lib(invarg.obj) : error LNK2001: unresolved external symbol
__imp_DecodePointer
LIBCMT.lib(crt0dat.obj) : error LNK2001: unresolved external symbol
__imp_DecodePointer
LIBCMT.lib(handler.obj) : error LNK2001: unresolved external symbol
__imp_DecodePointer
LIBCMT.lib(invarg.obj) : error LNK2019: unresolved external symbol
__imp_UnhandledExceptionFilter referenced in function _call_reportfault
LIBCMT.lib(gs_report.obj) : error LNK2001: unresolved external symbol
__imp_UnhandledExceptionFilter
LIBCMT.lib(invarg.obj) : error LNK2019: unresolved external symbol
__imp_SetUnhandledExceptionFilter referenced in function _call_reportfault
LIBCMT.lib(gs_report.obj) : error LNK2001: unresolved external symbol
__imp_SetUnhandledExceptionFilter
LIBCMT.lib(unhandld.obj) : error LNK2001: unresolved external symbol
__imp_SetUnhandledExceptionFilter
LIBCMT.lib(invarg.obj) : error LNK2019: unresolved external symbol
__imp_IsDebuggerPresent referenced in function _call_reportfault
LIBCMT.lib(gs_report.obj) : error LNK2001: unresolved external symbol
__imp_IsDebuggerPresent
LIBCMT.lib(invarg.obj) : error LNK2019: unresolved external symbol
RtlVirtualUnwind referenced in function _call_reportfault
LIBCMT.lib(gs_report.obj) : error LNK2001: unresolved external symbol
RtlVirtualUnwind
LIBCMT.lib(invarg.obj) : error LNK2019: unresolved external symbol
RtlLookupFunctionEntry referenced in function _call_reportfault
LIBCMT.lib(gs_report.obj) : error LNK2001: unresolved external symbol
RtlLookupFunctionEntry
LIBCMT.lib(invarg.obj) : error LNK2019: unresolved external symbol
__imp_RtlCaptureContext referenced in function _call_reportfault
LIBCMT.lib(gs_report.obj) : error LNK2001: unresolved external symbol
__imp_RtlCaptureContext
LIBCMT.lib(crtmboxw.obj) : error LNK2001: unresolved external symbol
__imp_EncodePointer
LIBCMT.lib(hooks.obj) : error LNK2001: unresolved external symbol
__imp_EncodePointer
LIBCMT.lib(winsig.obj) : error LNK2001: unresolved external symbol
__imp_EncodePointer
LIBCMT.lib(rand_s.obj) : error LNK2001: unresolved external symbol
__imp_EncodePointer
LIBCMT.lib(onexit.obj) : error LNK2019: unresolved external symbol
__imp_EncodePointer referenced in function _onexit
LIBCMT.lib(invarg.obj) : error LNK2001: unresolved external symbol
__imp_EncodePointer
LIBCMT.lib(tidtable.obj) : error LNK2001: unresolved external symbol
__imp_EncodePointer
LIBCMT.lib(handler.obj) : error LNK2001: unresolved external symbol
__imp_EncodePointer
LIBCMT.lib(cmiscdat.obj) : error LNK2001: unresolved external symbol
__imp_EncodePointer
LIBCMT.lib(invarg.obj) : error LNK2019: unresolved external symbol
__imp_TerminateProcess referenced in function _invoke_watson
LIBCMT.lib(gs_report.obj) : error LNK2001: unresolved external symbol
__imp_TerminateProcess
LIBCMT.lib(invarg.obj) : error LNK2019: unresolved external symbol
__imp_GetCurrentProcess referenced in function _invoke_watson
LIBCMT.lib(gs_report.obj) : error LNK2001: unresolved external symbol
__imp_GetCurrentProcess
LIBCMT.lib(crt0dat.obj) : error LNK2019: unresolved external symbol
__imp_GetProcAddress referenced in function __crtCorExitProcess
LIBCMT.lib(rand_s.obj) : error LNK2001: unresolved external symbol
__imp_GetProcAddress
LIBCMT.lib(crtmboxw.obj) : error LNK2001: unresolved external symbol
__imp_GetProcAddress
LIBCMT.lib(crt0dat.obj) : error LNK2019: unresolved external symbol
__imp_GetModuleHandleW referenced in function __crtCorExitProcess
LIBCMT.lib(crt0dat.obj) : error LNK2019: unresolved external symbol
__imp_ExitProcess referenced in function __crtExitProcess
LIBCMT.lib(crt0msg.obj) : error LNK2019: unresolved external symbol
__imp_WriteFile referenced in function _NMSG_WRITE
LIBCMT.lib(write.obj) : error LNK2001: unresolved external symbol
__imp_WriteFile
LIBCMT.lib(crt0msg.obj) : error LNK2019: unresolved external symbol
__imp_GetStdHandle referenced in function _NMSG_WRITE
LIBCMT.lib(ioinit.obj) : error LNK2001: unresolved external symbol
__imp_GetStdHandle
LIBCMT.lib(crt0msg.obj) : error LNK2019: unresolved external symbol
__imp_GetModuleFileNameW referenced in function _NMSG_WRITE
LIBCMT.lib(stdargv.obj) : error LNK2019: unresolved external symbol
__imp_GetModuleFileNameA referenced in function _setargv
LIBCMT.lib(a_env.obj) : error LNK2019: unresolved external symbol
__imp_FreeEnvironmentStringsW referenced in function __crtGetEnvironmentStringsA
LIBCMT.lib(a_loc.obj) : error LNK2001: unresolved external symbol
__imp_WideCharToMultiByte
LIBCMT.lib(a_env.obj) : error LNK2019: unresolved external symbol
__imp_WideCharToMultiByte referenced in function __crtGetEnvironmentStringsA
LIBCMT.lib(wctomb.obj) : error LNK2001: unresolved external symbol
__imp_WideCharToMultiByte
LIBCMT.lib(write.obj) : error LNK2001: unresolved external symbol
__imp_WideCharToMultiByte
LIBCMT.lib(a_map.obj) : error LNK2001: unresolved external symbol
__imp_WideCharToMultiByte
LIBCMT.lib(a_env.obj) : error LNK2019: unresolved external symbol
__imp_GetEnvironmentStringsW referenced in function __crtGetEnvironmentStringsA
LIBCMT.lib(ioinit.obj) : error LNK2019: unresolved external symbol
__imp_SetHandleCount referenced in function _ioinit
LIBCMT.lib(ioinit.obj) : error LNK2019: unresolved external symbol
__imp_InitializeCriticalSectionAndSpinCount referenced in function _ioinit
LIBCMT.lib(stream.obj) : error LNK2001: unresolved external symbol
__imp_InitializeCriticalSectionAndSpinCount
LIBCMT.lib(mlock.obj) : error LNK2001: unresolved external symbol
__imp_InitializeCriticalSectionAndSpinCount
LIBCMT.lib(osfinfo.obj) : error LNK2001: unresolved external symbol
__imp_InitializeCriticalSectionAndSpinCount
LIBCMT.lib(ioinit.obj) : error LNK2019: unresolved external symbol
__imp_GetFileType referenced in function _ioinit
LIBCMT.lib(osfinfo.obj) : error LNK2001: unresolved external symbol
__imp_GetFileType
LIBCMT.lib(open.obj) : error LNK2001: unresolved external symbol
__imp_GetFileType
LIBCMT.lib(ioinit.obj) : error LNK2019: unresolved external symbol
__imp_GetStartupInfoW referenced in function _ioinit
LIBCMT.lib(ioinit.obj) : error LNK2019: unresolved external symbol
__imp_DeleteCriticalSection referenced in function _ioterm
LIBCMT.lib(closeall.obj) : error LNK2001: unresolved external symbol
__imp_DeleteCriticalSection
LIBCMT.lib(mlock.obj) : error LNK2001: unresolved external symbol
__imp_DeleteCriticalSection
LIBCMT.lib(tidtable.obj) : error LNK2019: unresolved external symbol
__imp_FlsGetValue referenced in function __fls_getvalue
LIBCMT.lib(tidtable.obj) : error LNK2019: unresolved external symbol
__imp_FlsSetValue referenced in function __fls_setvalue
LIBCMT.lib(tidtable.obj) : error LNK2019: unresolved external symbol
__imp_FlsFree referenced in function _mtterm
LIBCMT.lib(tidtable.obj) : error LNK2019: unresolved external symbol
__imp_SetLastError referenced in function _getptd_noexit
LIBCMT.lib(tidtable.obj) : error LNK2019: unresolved external symbol
__imp_GetCurrentThreadId referenced in function _getptd_noexit
LIBCMT.lib(gs_support.obj) : error LNK2001: unresolved external symbol
__imp_GetCurrentThreadId
LIBCMT.lib(tidtable.obj) : error LNK2019: unresolved external symbol
__imp_GetCurrentThread referenced in function __threadhandle
LIBCMT.lib(tidtable.obj) : error LNK2019: unresolved external symbol
__imp_FlsAlloc referenced in function _mtinit
LIBCMT.lib(heapinit.obj) : error LNK2019: unresolved external symbol
__imp_HeapSetInformation referenced in function _heap_init
LIBCMT.lib(heapinit.obj) : error LNK2019: unresolved external symbol
__imp_GetVersion referenced in function _heap_init
LIBCMT.lib(heapinit.obj) : error LNK2019: unresolved external symbol
__imp_HeapCreate referenced in function _heap_init
LIBCMT.lib(heapinit.obj) : error LNK2019: unresolved external symbol
__imp_HeapDestroy referenced in function _heap_term
LIBCMT.lib(gs_support.obj) : error LNK2019: unresolved external symbol
__imp_QueryPerformanceCounter referenced in function __security_init_cookie
LIBCMT.lib(gs_support.obj) : error LNK2019: unresolved external symbol
__imp_GetTickCount referenced in function __security_init_cookie
LIBCMT.lib(gs_support.obj) : error LNK2019: unresolved external symbol
__imp_GetCurrentProcessId referenced in function __security_init_cookie
LIBCMT.lib(gs_support.obj) : error LNK2019: unresolved external symbol
__imp_GetSystemTimeAsFileTime referenced in function __security_init_cookie
LIBCMT.lib(close.obj) : error LNK2019: unresolved external symbol
__imp_CloseHandle referenced in function _close_nolock
LIBCMT.lib(open.obj) : error LNK2001: unresolved external symbol
__imp_CloseHandle
LIBCMT.lib(initcon.obj) : error LNK2001: unresolved external symbol
__imp_CloseHandle
LIBCMT.lib(read.obj) : error LNK2019: unresolved external symbol
__imp_MultiByteToWideChar referenced in function _read_nolock
LIBCMT.lib(a_map.obj) : error LNK2001: unresolved external symbol
__imp_MultiByteToWideChar
LIBCMT.lib(a_str.obj) : error LNK2001: unresolved external symbol
__imp_MultiByteToWideChar
LIBCMT.lib(mbtowc.obj) : error LNK2001: unresolved external symbol
__imp_MultiByteToWideChar
LIBCMT.lib(read.obj) : error LNK2019: unresolved external symbol __imp_ReadFile
referenced in function _read_nolock
LIBCMT.lib(lseek.obj) : error LNK2019: unresolved external symbol
__imp_SetFilePointer referenced in function _lseek_nolock
LIBCMT.lib(lseeki64.obj) : error LNK2001: unresolved external symbol
__imp_SetFilePointer
LIBCMT.lib(crtheap.obj) : error LNK2019: unresolved external symbol __imp_Sleep
referenced in function wait_a_bit
LIBCMT.lib(mlock.obj) : error LNK2019: unresolved external symbol
__imp_FatalAppExitA referenced in function _lockerr_exit
LIBCMT.lib(mbctype.obj) : error LNK2019: unresolved external symbol __imp_GetCPInfo
referenced in function "void __cdecl setSBUpLow(struct threadmbcinfostruct *)"
(?setSBUpLow@@YAXPEAUthreadmbcinfostruct@@@Z)
LIBCMT.lib(initctyp.obj) : error LNK2001: unresolved external symbol
__imp_GetCPInfo
LIBCMT.lib(mbctype.obj) : error LNK2019: unresolved external symbol __imp_GetACP
referenced in function "int __cdecl getSystemCP(int)" (?getSystemCP@@YAHH@Z)
LIBCMT.lib(getqloc.obj) : error LNK2001: unresolved external symbol __imp_GetACP
LIBCMT.lib(mbctype.obj) : error LNK2019: unresolved external symbol __imp_GetOEMCP
referenced in function "int __cdecl getSystemCP(int)" (?getSystemCP@@YAHH@Z)
LIBCMT.lib(mbctype.obj) : error LNK2019: unresolved external symbol
__imp_IsValidCodePage referenced in function _setmbcp_nolock
LIBCMT.lib(getqloc.obj) : error LNK2001: unresolved external symbol
__imp_IsValidCodePage
LIBCMT.lib(write.obj) : error LNK2019: unresolved external symbol
__imp_GetConsoleCP referenced in function _write_nolock
LIBCMT.lib(write.obj) : error LNK2019: unresolved external symbol
__imp_GetConsoleMode referenced in function _write_nolock
LIBCMT.lib(winsig.obj) : error LNK2019: unresolved external symbol
__imp_SetConsoleCtrlHandler referenced in function signal
LIBCMT.lib(rand_s.obj) : error LNK2019: unresolved external symbol
__imp_FreeLibrary referenced in function rand_s
LIBCMT.lib(rand_s.obj) : error LNK2019: unresolved external symbol
__imp_LoadLibraryW referenced in function rand_s
LIBCMT.lib(crtmboxw.obj) : error LNK2001: unresolved external symbol
__imp_LoadLibraryW
LIBCMT.lib(inithelp.obj) : error LNK2019: unresolved external symbol
__imp_GetLocaleInfoW referenced in function __getlocaleinfo
LIBCMT.lib(a_loc.obj) : error LNK2001: unresolved external symbol
__imp_GetLocaleInfoW
LIBCMT.lib(getqloc.obj) : error LNK2001: unresolved external symbol
__imp_GetLocaleInfoW
LIBCMT.lib(osfinfo.obj) : error LNK2019: unresolved external symbol
__imp_SetStdHandle referenced in function _set_osfhnd
LIBCMT.lib(commit.obj) : error LNK2019: unresolved external symbol
__imp_FlushFileBuffers referenced in function _commit
LIBCMT.lib(open.obj) : error LNK2019: unresolved external symbol
__imp_CreateFileA referenced in function _tsopen_nolock
LIBCMT.lib(a_map.obj) : error LNK2019: unresolved external symbol __imp_LCMapStringW
referenced in function "int __cdecl __crtLCMapStringA_stat(struct localeinfo_struct
*,unsigned long,unsigned long,char const *,int,char *,int,int,int)"
(?__crtLCMapStringA_stat@@YAHPEAUlocaleinfo_struct@@KKPEBDHPEADHHH@Z)
LIBCMT.lib(a_str.obj) : error LNK2019: unresolved external symbol __imp_GetStringTypeW
referenced in function "int __cdecl __crtGetStringTypeA_stat(struct
localeinfo_struct *,unsigned long,char const *,int,unsigned short *,int,int,int)"
(?__crtGetStringTypeA_stat@@YAHPEAUlocaleinfo_struct@@KPEBDHPEAGHHH@Z)
LIBCMT.lib(iswctype.obj) : error LNK2001: unresolved external symbol
__imp_GetStringTypeW
LIBCMT.lib(putwch.obj) : error LNK2019: unresolved external symbol
__imp_WriteConsoleW referenced in function _putwch_nolock
LIBCMT.lib(msize.obj) : error LNK2019: unresolved external symbol
__imp_HeapSize referenced in function _msize
LIBCMT.lib(chsize.obj) : error LNK2019: unresolved external symbol
__imp_SetEndOfFile referenced in function _chsize_nolock
LIBCMT.lib(chsize.obj) : error LNK2019: unresolved external symbol
__imp_GetProcessHeap referenced in function _chsize_nolock
LIBCMT.lib(getqloc.obj) : error LNK2019: unresolved external symbol
__imp_GetUserDefaultLCID referenced in function GetLcidFromDefault
LIBCMT.lib(getqloc.obj) : error LNK2019: unresolved external symbol
__imp_GetLocaleInfoA referenced in function CountryEnumProc
LIBCMT.lib(getqloc.obj) : error LNK2019: unresolved external symbol
__imp_EnumSystemLocalesA referenced in function GetLcidFromCountry
LIBCMT.lib(getqloc.obj) : error LNK2019: unresolved external symbol
__imp_IsValidLocale referenced in function __get_qualified_locale
LIBCMT.lib(initcon.obj) : error LNK2019: unresolved external symbol
__imp_CreateFileW referenced in function __initconout
e:/research/open/output_amd64/btbins/freetype_versioncheck.exe : fatal error
LNK1120: 79 unresolved externals
Makefile:68: recipe for target
'e:/research/open/output_amd64/btbins/freetype_versioncheck.exe' failed
make[2]: Leaving directory
'/cygdrive/e/research/open/jdk7/jdk/make/tools/freetypecheck'
Failed to build freetypecheck.
Exiting because of the above error(s).
make/sanity-rules.gmk:71: recipe for target 'post-sanity' failed
make: *** [post-sanity] Error 1
------
and this is my command:
---
make ARCH_DATA_MODEL=64 \
ALT_OUTPUTDIR=e:/research/open/output_amd64 \
ALT_FREETYPE_LIB_PATH=e:/freetype-2.4.7/objs/x64/vc2010 \
ALT_FREETYPE_HEADERS_PATH=e:/freetype-2.4.7/include \
ALT_BOOTDIR=c:/jdk1.6 \
ALT_DROPS_DIR=e:/research/open/ALT_DROPS_DIR \
ALT_MSVCRNN_DLL_PATH=e:/research/jdkBuild/msvcr100 \
HOTSPOT_BUILD_JOBS=4 \
PARALLEL_COMPILE_JOBS=4 \
2>&1 | tee e:/research/open/output_amd64.log
--
-Alex
--
-Alex
--
-Alex