> When building with configure flag --enable-headless-only on windows x86_64, 
> we run into this linker error :
> 
> 
>  For target support_native_java.desktop_libawt_BUILD_LIBAWT_run_ld:
>    Creating library 
> C:\build_headless\support\native\java.desktop\libawt\awt.lib and object 
> C:\build_headless\support\native\java.desktop\libawt\awt.exp
> WGLGraphicsConfig.obj : error LNK2019: unresolved external symbol 
> OGLFuncs_OpenLibrary referenced in function 
> Java_sun_java2d_opengl_WGLGraphicsConfig_initWGL
> WGLGraphicsConfig.obj : error LNK2019: unresolved external symbol 
> OGLFuncs_CloseLibrary referenced in function 
> Java_sun_java2d_opengl_WGLGraphicsConfig_initWGL
> WGLGraphicsConfig.obj : error LNK2019: unresolved external symbol 
> OGLFuncs_InitPlatformFuncs referenced in function 
> Java_sun_java2d_opengl_WGLGraphicsConfig_initWGL
> WGLGraphicsConfig.obj : error LNK2019: unresolved external symbol 
> OGLFuncs_InitBaseFuncs referenced in function 
> Java_sun_java2d_opengl_WGLGraphicsConfig_initWGL
> WGLGraphicsConfig.obj : error LNK2019: unresolved external symbol 
> OGLFuncs_InitExtFuncs referenced in function WGLGC_InitExtFuncs
> WGLGraphicsConfig.obj : error LNK2019: unresolved external symbol 
> OGLContext_DestroyContextResources referenced in function 
> WGLGC_DestroyOGLContext
> WGLGraphicsConfig.obj : error LNK2019: unresolved external symbol 
> OGLContext_IsExtensionAvailable referenced in function 
> Java_sun_java2d_opengl_WGLGraphicsConfig_getWGLConfigInfo
> WGLGraphicsConfig.obj : error LNK2019: unresolved external symbol 
> OGLContext_GetExtensionInfo referenced in function 
> Java_sun_java2d_opengl_WGLGraphicsConfig_getWGLConfigInfo
> WGLGraphicsConfig.obj : error LNK2019: unresolved external symbol 
> OGLContext_IsVersionSupported referenced in function 
> Java_sun_java2d_opengl_WGLGraphicsConfig_getWGLConfigInfo
> WGLGraphicsConfig.obj : error LNK2001: unresolved external symbol 
> j2d_glGetString
> WGLGraphicsConfig.obj : error LNK2001: unresolved external symbol 
> j2d_wglCreateContext
> WGLGraphicsConfig.obj : error LNK2001: unresolved external symbol 
> j2d_wglDeleteContext
> WGLGraphicsConfig.obj : error LNK2001: unresolved external symbol 
> j2d_wglMakeCurrent
> WGLSurfaceData.obj : error LNK2001: unresolved external symbol 
> j2d_wglMakeCurrent
>    ... (rest of output omitted)

Matthias Baesken has updated the pull request incrementally with one additional 
commit since the last revision:

  Update make/autoconf/jdk-options.m4
  
  Co-authored-by: Alexey Ivanov <[email protected]>

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/30148/files
  - new: https://git.openjdk.org/jdk/pull/30148/files/3240363f..9207bbbe

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=30148&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=30148&range=01-02

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/30148.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/30148/head:pull/30148

PR: https://git.openjdk.org/jdk/pull/30148

Reply via email to