Failed to build on Windows 7 64-bit
Henry Jen
henry.jen at oracle.com
Mon Feb 4 17:21:24 PST 2013
On 02/04/2013 05:08 PM, Kelly O'Hair wrote:
> Send me what PATH is set to in your shell
>
$ echo $PATH
/usr/local/bin:/usr/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/ACTIVE~1/BIN:cygdrive/c/Program
Files/Microsoft Platform SDK/bin/win64/x86/AMD64:/cygdrive/c/Program
Files/Microsoft Platform SDK/Bin/win64/AMD64:/cygdrive/c/Program
Files/Microsoft Platform SDK/Bin:/cygdrive/c/Program Files/Microsoft
Platform SDK/Bin/Winnt:/cygdrive/c/PROGRAM
FILES/TERATERM:/cygdrive/c/Program Files/WinZip:/cygdrive/c/Program
Files/Mercurial:/cygdrive/c/python32
Cheers,
Henry
> -kto
>
> On Feb 4, 2013, at 5:01 PM, Henry Jen wrote:
>
>> On 02/04/2013 01:09 PM, Kelly O'Hair wrote:
>>>
>>> On Feb 4, 2013, at 1:02 PM, Henry Jen wrote:
>>>
>>>> SDK\Include\atl;C:\Program Files (x86)\Intel\CPP\Compiler80\ia32e\include
>>>
>>> Looks like you have the Intel C++ compilers installed on it.
>>>
>>
>> I removed Intel C++ installation, and unset include and lib before doing
>> configure. That now allows correct setting of INCLUDE and LIB. The
>> reason they are set in lowercase is because they exist already. Then
>> configure will only find it's lowercase.
>>
>> With that, I now have following error,
>>
>> configure: error: C compiler cannot create executables
>> See `config.log' for more details
>> configure exiting with result code 77
>>
>> The config.log has following regarding the failure, any idea on what
>> this may be?
>>
>> Cheers,
>> Henry
>>
>>
>> configure:16312: Found Visual Studio installation at /cygdrive/c/Program
>> Files (x86)/Microsoft Visual Studio 10.0/ using VS100COMNTOOLS variable
>> configure:16676: Rewriting VS_ENV_CMD to
>> "/cygdrive/c/progra~2/micros~2.0/vc/bin/amd64/vcvars64.bat"
>> configure:16682: Trying to extract Visual Studio environment variables
>> configure:16736: Setting extracted environment variables
>> configure:16746: checking for Visual Studio variables
>> configure:16755: result: ok
>> configure:16785: checking for msvcr100.dll
>> configure:16806: msvcr100.dll found in VCINSTALLDIR: c:\Program Files
>> (x86)\Microsoft Visual Studio 10.0\VC\
>> configure:16826: result: c:\Program Files (x86)\Microsoft Visual Studio
>> 10.0\VC\/redist/x64/Microsoft.VC100.CRT/msvcr100.dll
>> configure:16886: Rewriting MSVCR_DLL to
>> "/cygdrive/c/progra~2/micros~2.0/vc/redist/x64/micros~1.crt/msvcr100.dll"
>> configure:18157: checking for cl
>> configure:18175: found /cygdrive/c/Program Files (x86)/Microsoft Visual
>> Studio 10.0/VC/BIN/amd64/cl
>> configure:18187: result: /cygdrive/c/Program Files (x86)/Microsoft
>> Visual Studio 10.0/VC/BIN/amd64/cl
>> configure:18491: Rewriting CC to
>> "/cygdrive/c/progra~2/micros~2.0/vc/bin/amd64/cl"
>> configure:18495: checking resolved symbolic links for CC
>> configure:18546: result: /cygdrive/c/progra~2/micros~2.0/vc/bin/amd64/cl
>> configure:18548: checking if CC is disguised ccache
>> configure:18987: result: no, keeping CC
>> configure:19049: Using Microsoft CL.EXE C compiler version
>> 16.00.30319.01 (located at /cygdrive/c/progra~2/micros~2.0/vc/bin/amd64/cl)
>> configure:19166: checking for C compiler version
>> configure:19175: /cygdrive/c/progra~2/micros~2.0/vc/bin/amd64/cl
>> --version >&5
>> Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64
>> Copyright (C) Microsoft Corporation. All rights reserved.
>>
>> cl : Command line warning D9002 : ignoring unknown option '--version'
>> cl : Command line error D8003 : missing source filename
>> configure:19186: $? = 2
>> configure:19175: /cygdrive/c/progra~2/micros~2.0/vc/bin/amd64/cl -v >&5
>> Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64
>> Copyright (C) Microsoft Corporation. All rights reserved.
>>
>> cl : Command line warning D9002 : ignoring unknown option '-v'
>> cl : Command line error D8003 : missing source filename
>> configure:19186: $? = 2
>> configure:19175: /cygdrive/c/progra~2/micros~2.0/vc/bin/amd64/cl -V >&5
>> Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64
>> Copyright (C) Microsoft Corporation. All rights reserved.
>>
>> cl : Command line error D8004 : '/V' requires an argument
>> configure:19186: $? = 2
>> configure:19175: /cygdrive/c/progra~2/micros~2.0/vc/bin/amd64/cl
>> -qversion >&5
>> Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64
>> Copyright (C) Microsoft Corporation. All rights reserved.
>>
>> cl : Command line warning D9002 : ignoring unknown option '-qversion'
>> cl : Command line error D8003 : missing source filename
>> configure:19186: $? = 2
>> configure:19206: checking whether the C compiler works
>> configure:19228: /cygdrive/c/progra~2/micros~2.0/vc/bin/amd64/cl
>> conftest.c >&5
>> Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64
>> Copyright (C) Microsoft Corporation. All rights reserved.
>>
>> conftest.c
>> c1 : fatal error C1083: Cannot open compiler intermediate file:
>> '/cygdrive/c/Program Files (x86)/Microsoft Visual Studio
>> 10.0/VC/BIN/amd64/cl EOL\_CL_c5fbaac2ex': No such file or directory
>> configure:19232: $? = 2
>> configure:19270: result: no
>> configure: failed program was:
>> | /* confdefs.h */
>> | #define PACKAGE_NAME "OpenJDK"
>> | #define PACKAGE_TARNAME "openjdk"
>> | #define PACKAGE_VERSION "jdk8"
>> | #define PACKAGE_STRING "OpenJDK jdk8"
>> | #define PACKAGE_BUGREPORT "build-dev at openjdk.java.net"
>> | #define PACKAGE_URL "http://openjdk.java.net"
>> | /* end confdefs.h. */
>> |
>> | int
>> | main ()
>> | {
>> |
>> | ;
>> | return 0;
>> | }
>> configure:19275: error: in `/cygdrive/c/ws/lambda/work':
>> configure:19277: error: C compiler cannot create executables
>> See `config.log' for more details
>>
>>
>>
>>
>>
>
More information about the build-infra-dev
mailing list