[Intel-gfx] [ANNOUNCE] xf86-video-intel 2.9.99.902

Robert Hooker sarvatt at ubuntu.com
Mon Dec 14 19:37:19 CET 2009


On Mon, Dec 14, 2009 at 3:32 AM, Tino Keitel <tino.keitel+xorg at tikei.de> wrote:
> Hi,
>
> what am I missing here? I have libdrm 2.4.16 and mesa 7.7 rc2
> installed, and tried to build git master
> (8ecf70ea553083cbc26928dc3973c8f6f8b3d9d0).
>
>  CC     i830_video.lo
> i830_video.c: In function ‘drmmode_has_overlay’:
> i830_video.c:210: error: ‘I915_PARAM_HAS_OVERLAY’ undeclared (first use
> in this function)
> i830_video.c:210: error: (Each undeclared identifier is reported only
> once
> i830_video.c:210: error: for each function it appears in.)
> i830_video.c: In function ‘drmmode_overlay_update_attrs’:
> i830_video.c:221: error: storage size of ‘attrs’ isn’t known
> i830_video.c:224: error: ‘I915_OVERLAY_UPDATE_ATTRS’ undeclared (first
> use in this function)
> i830_video.c:236: error: ‘DRM_I915_OVERLAY_ATTRS’ undeclared (first use
> in this function)
> i830_video.c:221: warning: unused variable ‘attrs’
> i830_video.c: In function ‘drmmode_overlay_off’:
> i830_video.c:246: error: storage size of ‘request’ isn’t known
> i830_video.c:251: error: ‘DRM_I915_OVERLAY_PUT_IMAGE’ undeclared (first
> use in this function)
> i830_video.c:246: warning: unused variable ‘request’
> i830_video.c: In function ‘drmmode_overlay_put_image’:
> i830_video.c:267: error: storage size of ‘request’ isn’t known
> i830_video.c:272: error: ‘I915_OVERLAY_ENABLE’ undeclared (first use in
> this function)
> i830_video.c:310: error: ‘I915_OVERLAY_YUV_PLANAR’ undeclared (first
> use in this function)
> i830_video.c:310: error: ‘I915_OVERLAY_YUV420’ undeclared (first use in
> this function)
> i830_video.c:312: error: ‘I915_OVERLAY_YUV_PACKED’ undeclared (first
> use in this function)
> i830_video.c:312: error: ‘I915_OVERLAY_YUV422’ undeclared (first use in
> this function)
> i830_video.c:314: error: ‘I915_OVERLAY_Y_SWAP’ undeclared (first use in
> this function)
> i830_video.c:317: error: ‘DRM_I915_OVERLAY_PUT_IMAGE’ undeclared (first
> use in this function)
> i830_video.c:267: warning: unused variable ‘request’
>

It requires headers from libdrm 2.4.16 or kernel 2.6.33 (which isn't
even -rc1 yet) now to build.. Your distro might package the drm
headers from the kernel and not have libdrm replace them. On debian
based distros for instance they are in linux-libc-dev and you need to
adjust the libdrm build to not remove the headers as well as have it
replace linux-libc-dev.

- Robert



More information about the Intel-gfx mailing list