Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Sep 2013 12:47:21 -0400
From:      Mike Jakubik <mike.jakubik@intertainservices.com>
To:        ports@freebsd.org
Subject:   FreeBSD port: graphics/dri
Message-ID:  <5249AB19.7030706@intertainservices.com>

next in thread | raw e-mail | index | archive | help
Hello,

I am unable to compile the new DRI, i am using the new xorg here, below 
is the error.

clang: warning: argument unused during compilation: '-fno-builtin-memcmp'
   CC       i915_debug.lo
clang: warning: argument unused during compilation: '-fno-builtin-memcmp'
i915_debug.c:831:18: warning: comparison of unsigned expression >= 0 is 
always true [-Wtautological-compare]
           stream.offset >= 0)
           ~~~~~~~~~~~~~ ^  ~
1 warning generated.
   CC       i915_debug_fp.lo
clang: warning: argument unused during compilation: '-fno-builtin-memcmp'
   CC       i915_fragprog.lo
clang: warning: argument unused during compilation: '-fno-builtin-memcmp'
   CC       i915_program.lo
clang: warning: argument unused during compilation: '-fno-builtin-memcmp'
   CC       i915_state.lo
clang: warning: argument unused during compilation: '-fno-builtin-memcmp'
   CC       i915_vtbl.lo
clang: warning: argument unused during compilation: '-fno-builtin-memcmp'
   CC       intel_context.lo
clang: warning: argument unused during compilation: '-fno-builtin-memcmp'
intel_context.c:1026:14: warning: unused variable 'max_attachments' 
[-Wunused-variable]
    const int max_attachments = ARRAY_SIZE(attachments) / 2;
              ^
1 warning generated.
   CC       intel_screen.lo
clang: warning: argument unused during compilation: '-fno-builtin-memcmp'
intel_screen.c:199:6: error: use of undeclared identifier 
'__DRI_IMAGE_FOURCC_ARGB8888'
    { __DRI_IMAGE_FOURCC_ARGB8888, __DRI_IMAGE_COMPONENTS_RGBA, 1,
      ^
intel_screen.c:199:35: error: use of undeclared identifier 
'__DRI_IMAGE_COMPONENTS_RGBA'
    { __DRI_IMAGE_FOURCC_ARGB8888, __DRI_IMAGE_COMPONENTS_RGBA, 1,
                                   ^
intel_screen.c:202:6: error: use of undeclared identifier 
'__DRI_IMAGE_FOURCC_XRGB8888'
    { __DRI_IMAGE_FOURCC_XRGB8888, __DRI_IMAGE_COMPONENTS_RGB, 1,
      ^
intel_screen.c:202:35: error: use of undeclared identifier 
'__DRI_IMAGE_COMPONENTS_RGB'
    { __DRI_IMAGE_FOURCC_XRGB8888, __DRI_IMAGE_COMPONENTS_RGB, 1,
                                   ^
intel_screen.c:205:6: error: use of undeclared identifier 
'__DRI_IMAGE_FOURCC_YUV410'
    { __DRI_IMAGE_FOURCC_YUV410, __DRI_IMAGE_COMPONENTS_Y_U_V, 3,
      ^
intel_screen.c:205:33: error: use of undeclared identifier 
'__DRI_IMAGE_COMPONENTS_Y_U_V'
    { __DRI_IMAGE_FOURCC_YUV410, __DRI_IMAGE_COMPONENTS_Y_U_V, 3,
                                 ^
intel_screen.c:206:19: error: use of undeclared identifier 
'__DRI_IMAGE_FORMAT_R8'
      { { 0, 0, 0, __DRI_IMAGE_FORMAT_R8, 1 },
                   ^
intel_screen.c:207:19: error: use of undeclared identifier 
'__DRI_IMAGE_FORMAT_R8'
        { 1, 2, 2, __DRI_IMAGE_FORMAT_R8, 1 },
                   ^
intel_screen.c:208:19: error: use of undeclared identifier 
'__DRI_IMAGE_FORMAT_R8'
        { 2, 2, 2, __DRI_IMAGE_FORMAT_R8, 1 } } },
                   ^
intel_screen.c:210:6: error: use of undeclared identifier 
'__DRI_IMAGE_FOURCC_YUV411'
    { __DRI_IMAGE_FOURCC_YUV411, __DRI_IMAGE_COMPONENTS_Y_U_V, 3,
      ^
intel_screen.c:210:33: error: use of undeclared identifier 
'__DRI_IMAGE_COMPONENTS_Y_U_V'
    { __DRI_IMAGE_FOURCC_YUV411, __DRI_IMAGE_COMPONENTS_Y_U_V, 3,
                                 ^
intel_screen.c:211:19: error: use of undeclared identifier 
'__DRI_IMAGE_FORMAT_R8'
      { { 0, 0, 0, __DRI_IMAGE_FORMAT_R8, 1 },
                   ^
intel_screen.c:212:19: error: use of undeclared identifier 
'__DRI_IMAGE_FORMAT_R8'
        { 1, 2, 0, __DRI_IMAGE_FORMAT_R8, 1 },
                   ^
intel_screen.c:213:19: error: use of undeclared identifier 
'__DRI_IMAGE_FORMAT_R8'
        { 2, 2, 0, __DRI_IMAGE_FORMAT_R8, 1 } } },
                   ^
intel_screen.c:215:6: error: use of undeclared identifier 
'__DRI_IMAGE_FOURCC_YUV420'
    { __DRI_IMAGE_FOURCC_YUV420, __DRI_IMAGE_COMPONENTS_Y_U_V, 3,
      ^
intel_screen.c:215:33: error: use of undeclared identifier 
'__DRI_IMAGE_COMPONENTS_Y_U_V'
    { __DRI_IMAGE_FOURCC_YUV420, __DRI_IMAGE_COMPONENTS_Y_U_V, 3,
                                 ^
intel_screen.c:216:19: error: use of undeclared identifier 
'__DRI_IMAGE_FORMAT_R8'
      { { 0, 0, 0, __DRI_IMAGE_FORMAT_R8, 1 },
                   ^
intel_screen.c:217:19: error: use of undeclared identifier 
'__DRI_IMAGE_FORMAT_R8'
        { 1, 1, 1, __DRI_IMAGE_FORMAT_R8, 1 },
                   ^
intel_screen.c:218:19: error: use of undeclared identifier 
'__DRI_IMAGE_FORMAT_R8'
        { 2, 1, 1, __DRI_IMAGE_FORMAT_R8, 1 } } },
                   ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
gmake[6]: *** [intel_screen.lo] Error 1
gmake[6]: Leaving directory 
`/usr/ports/graphics/dri/work/Mesa-9.1.6/src/mesa/drivers/dri/i915'
gmake[5]: *** [all-recursive] Error 1
gmake[5]: Leaving directory 
`/usr/ports/graphics/dri/work/Mesa-9.1.6/src/mesa/drivers/dri'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory 
`/usr/ports/graphics/dri/work/Mesa-9.1.6/src/mesa/drivers'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory 
`/usr/ports/graphics/dri/work/Mesa-9.1.6/src/mesa'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory 
`/usr/ports/graphics/dri/work/Mesa-9.1.6/src/mesa'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-9.1.6/src'
gmake: *** [all-recursive] Error 1
*** [do-build] Error code 1


Thanks.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5249AB19.7030706>