Hi Vyom,

That's probably a question to ask on the jdk-updates-dev list, which I
put in cc:

best regards,

-- daniel

On 11/01/2022 06:50, Vyom Tiwari wrote:
Hi,
I am facing the build issue with  OpenJDK11(jdk11u). I am trying to build jdk11u on Windows and I am  getting the below error.

####################
./src/java.base/windows/native/libnet/net_util_md.c(792): error C2065: 'TCP_INITIAL_RTO_NO_SYN_RETRANSMISSIONS': undeclared identifier make[3]: *** [Lib-java.base.gmk:44: /cygdrive/d/source/mirrors_github_jdk11u/build/windows-x86_64-normal-server-release/support/native/java.base/libnet/net_util_md.obj] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [make/Main.gmk:215: java.base-libs] Error 2

ERROR: Build failed for target 'images' in configuration 'windows-x86_64-normal-server-release' (exit code 2)
Stopping sjavac server
###################

I found that the back-port of JDK-8250521 <https://bugs.openjdk.java.net/browse/JDK-8250521>  is causing this failure.

My  environment details are as follows.
OS: Windows Server 2016 Standard, Visual Studio professional 2017 version 15.2(26430.14)

When I updated my Visual Studio to 15.9.42(which contains Windows 10 SDK(10.0.17134.0)) the problem went away.

My question is do we have a minimum supported Visual Studio(15.9.42) to build jdk11u(11.0.14) ?. If this is not the case then I would like to fix this build failure.

Thanks,
Vyom

Reply via email to