编译OpenJDK11:fixpath Unknown argument: -nologo

简介: 编译OpenJDK11:fixpath Unknown argument: -nologo

具体错误

Creating hotspot/variant-server/libjvm/gtest/gtestLauncher.exe from 1 file(s)
fixpath Unknown argument: -nologo
make[3]: *** [lib/CompileJvm.gmk:155: /cygdrive/d/Office-3.5-project/jdk11u/build/windows-x86_64-normal-server-release/hotspot/variant-server/libjvm/objs/jvm.dll.res] Error 127
make[2]: *** [make/Main.gmk:272: hotspot-server-libs] Error 2
make[2]: *** Waiting for unfinished jobs....
Compiling 299 files for BUILD_jdk.javadoc.interim
ERROR: Build failed for target 'default (exploded-image)' in configuration 'windows-x86_64-normal-server-release' (exit code 2)
=== Output from failing command(s) repeated here ===
* For target hotspot_variant-server_libjvm_objs_jvm.dll.res:
fixpath Unknown argument: -nologo
* All command lines available in /cygdrive/d/Office-3.5-project/jdk11u/build/windows-x86_64-normal-server-release/make-support/failure-logs.
=== End of repeated output ===
No indication of failed target found.
Hint: Try searching the build log for '] Error'.
Hint: See doc/building.html#troubleshooting for assistance.
make[1]: *** [/cygdrive/d/Office-3.5-project/jdk11u/make/Init.gmk:305: main] Error 2
make: *** [/cygdrive/d/Office-3.5-project/jdk11u/make/Init.gmk:186: default] Error 2

解决办法

编译需要使用VS 2017。

目录
相关文章
|
编译器 Go 开发工具
常见问题之Golang——cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in %PATH%错误
本文主要是对我日常在使用golang时遇到的一些问题与解决方式进行的汇总,在此提供给大家便于排查一些遇到的问题,其中有更好的解决方案可在评论区留言。
943 0
常见问题之Golang——cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in %PATH%错误
|
开发工具 git
MAC编译OpenJDK8:clang: error: include path for libstdc++ headers not found(独家解决办法)
MAC编译OpenJDK8:clang: error: include path for libstdc++ headers not found(独家解决办法)
103 0
关于 CMake编译出出现错误“Could not find compiler set in environment variable RC:” 的解决方法
关于 CMake编译出出现错误“Could not find compiler set in environment variable RC:” 的解决方法
关于 CMake编译出出现错误“Could not find compiler set in environment variable RC:” 的解决方法
编译OpenJDK11:configure: error: Target CPU mismatch. We are building for x86_64 but CL is for “版“; exp
编译OpenJDK11:configure: error: Target CPU mismatch. We are building for x86_64 but CL is for “版“; exp
130 0
|
iOS开发
编译OpenJDK8报错:configure: error: Failed to determine Xcode version.
编译OpenJDK8报错:configure: error: Failed to determine Xcode version.
93 0
|
Linux
编译OpenJDK8:specified bound depends on the length of the source argument
编译OpenJDK8:specified bound depends on the length of the source argument
141 0
MAC编译OpenJDK8:clang: error: unknown argument: ‘-fpch-deps‘
MAC编译OpenJDK8:clang: error: unknown argument: ‘-fpch-deps‘
56 0
MAC编译OpenJDK8:error: invalid argument ‘-std=gnu++98‘ not allowed with ‘C‘
MAC编译OpenJDK8:error: invalid argument ‘-std=gnu++98‘ not allowed with ‘C‘
83 0
|
Unix
clang: error: unknown argument: ‘-fpch-deps‘
clang: error: unknown argument: ‘-fpch-deps‘
81 0
MAC编译OpenJDK8:error: ‘&&‘ within ‘||‘ [-Werror,-Wlogical-op-parentheses]
MAC编译OpenJDK8:error: ‘&&‘ within ‘||‘ [-Werror,-Wlogical-op-parentheses]
70 0