Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8093003

[Mac] Build fails with undefined symbol on OS X 10.9.4 with Xcode 5.1.1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 8u40
    • javafx
    • FX 8u40 latest (8u-dev)
      Mac OS X 10.9.4 with Xcode 5.1.1

      The build now fails on Mac OS X 10.9.4 with Xcode 5.1.1 with the following error:


      :graphics:ccMacPrismES2
      /Users/cbensen/source/mac/javafx8/rt/modules/graphics/src/main/native-prism-es2/GLContext.c:936:14: error: use of undeclared identifier 'com_sun_prism_es2_GLContext_GL_MAX_FRAGMENT_UNIFORM_COMPONENTS'
              case com_sun_prism_es2_GLContext_GL_MAX_FRAGMENT_UNIFORM_COMPONENTS:
                   ^
      /Users/cbensen/source/mac/javafx8/rt/modules/graphics/src/main/native-prism-es2/GLContext.c:938:14: error: use of undeclared identifier 'com_sun_prism_es2_GLContext_GL_MAX_FRAGMENT_UNIFORM_VECTORS'
              case com_sun_prism_es2_GLContext_GL_MAX_FRAGMENT_UNIFORM_VECTORS:
                   ^
      /Users/cbensen/source/mac/javafx8/rt/modules/graphics/src/main/native-prism-es2/GLContext.c:940:14: error: use of undeclared identifier 'com_sun_prism_es2_GLContext_GL_MAX_TEXTURE_IMAGE_UNITS'
              case com_sun_prism_es2_GLContext_GL_MAX_TEXTURE_IMAGE_UNITS:
                   ^
      /Users/cbensen/source/mac/javafx8/rt/modules/graphics/src/main/native-prism-es2/GLContext.c:942:14: error: use of undeclared identifier 'com_sun_prism_es2_GLContext_GL_MAX_TEXTURE_SIZE'
              case com_sun_prism_es2_GLContext_GL_MAX_TEXTURE_SIZE:
                   ^
      /Users/cbensen/source/mac/javafx8/rt/modules/graphics/src/main/native-prism-es2/GLContext.c:944:14: error: use of undeclared identifier 'com_sun_prism_es2_GLContext_GL_MAX_VARYING_COMPONENTS'
              case com_sun_prism_es2_GLContext_GL_MAX_VARYING_COMPONENTS:
                   ^
      /Users/cbensen/source/mac/javafx8/rt/modules/graphics/src/main/native-prism-es2/GLContext.c:946:14: error: use of undeclared identifier 'com_sun_prism_es2_GLContext_GL_MAX_VARYING_VECTORS'
              case com_sun_prism_es2_GLContext_GL_MAX_VARYING_VECTORS:
                   ^
      /Users/cbensen/source/mac/javafx8/rt/modules/graphics/src/main/native-prism-es2/GLContext.c:948:14: error: use of undeclared identifier 'com_sun_prism_es2_GLContext_GL_MAX_VERTEX_ATTRIBS'
              case com_sun_prism_es2_GLContext_GL_MAX_VERTEX_ATTRIBS:
                   ^
      /Users/cbensen/source/mac/javafx8/rt/modules/graphics/src/main/native-prism-es2/GLContext.c:950:14: error: use of undeclared identifier 'com_sun_prism_es2_GLContext_GL_MAX_VERTEX_UNIFORM_COMPONENTS'
              case com_sun_prism_es2_GLContext_GL_MAX_VERTEX_UNIFORM_COMPONENTS:
                   ^
      /Users/cbensen/source/mac/javafx8/rt/modules/graphics/src/main/native-prism-es2/GLContext.c:952:14: error: use of undeclared identifier 'com_sun_prism_es2_GLContext_GL_MAX_VERTEX_UNIFORM_VECTORS'
              case com_sun_prism_es2_GLContext_GL_MAX_VERTEX_UNIFORM_VECTORS:
                   ^
      /Users/cbensen/source/mac/javafx8/rt/modules/graphics/src/main/native-prism-es2/GLContext.c:954:14: error: use of undeclared identifier 'com_sun_prism_es2_GLContext_GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS'
              case com_sun_prism_es2_GLContext_GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS:
                   ^
      /Users/cbensen/source/mac/javafx8/rt/modules/graphics/src/main/native-prism-es2/GLContext.c:2322:29: warning: cast to 'const void *' from smaller integer type 'GLuint' (aka 'unsigned int') [-Wint-to-void-pointer-cast]
                  VERT_3D_STRIDE, (const void*) offset);
                                  ^
      /Users/cbensen/source/mac/javafx8/rt/modules/graphics/src/main/native-prism-es2/GLContext.c:2325:29: warning: cast to 'const void *' from smaller integer type 'GLuint' (aka 'unsigned int') [-Wint-to-void-pointer-cast]
                  VERT_3D_STRIDE, (const void*) offset);
                                  ^
      /Users/cbensen/source/mac/javafx8/rt/modules/graphics/src/main/native-prism-es2/GLContext.c:2328:29: warning: cast to 'const void *' from smaller integer type 'GLuint' (aka 'unsigned int') [-Wint-to-void-pointer-cast]
                  VERT_3D_STRIDE, (const void*) offset);
                                  ^
      3 warnings and 10 errors generated.
      :graphics:ccMacPrismES2 FAILED

      FAILURE: Build failed with an exception.

      * What went wrong:
      Execution failed for task ':graphics:ccMacPrismES2'.
      > Could not call NativeCompileTask.compile() on task ':graphics:ccMacPrismES2’

            ckyang Chien Yang (Inactive)
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: