Error building intel driver

Yan Seiner yan at seiner.com
Sat Apr 3 07:22:48 PDT 2010


I'm getting the following error building the intel driver. I've cleaned 
out all of the old code, cloned the git repositories, and started fresh 
to make sure it's not some old cruft.

Does anyone have any idea what I'm missing?

libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden 
-I/usr/local/include/xorg -I/usr/local/include/pixman-1 
-I/usr/local/include -I/usr/local/include -I/usr/local/include/drm 
-I/usr/local/include/libdrm -Wall -Wpointer-arith -Wstrict-prototypes 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs 
-fno-strict-aliasing -Wbad-function-cast -Wformat=2 
-Wold-style-definition -Wdeclaration-after-statement -fvisibility=hidden 
-I/usr/local/include/xorg -I/usr/local/include/pixman-1 
-I/usr/local/include -I/usr/local/include -I/usr/local/include/drm 
-I/usr/local/include/libdrm -I/usr/local/include/X11/dri 
-I/usr/local/include -I/usr/local/include -I../uxa 
-I../src/render_program -g -O2 -MT i830_video.lo -MD -MP -MF 
.deps/i830_video.Tpo -c i830_video.c -fPIC -DPIC -o .libs/i830_video.o
i830_video.c: In function ‘drmmode_has_overlay’:
i830_video.c:219: error: ‘I915_PARAM_HAS_OVERLAY’ undeclared (first use 
in this function)
i830_video.c:219: error: (Each undeclared identifier is reported only once
i830_video.c:219: error: for each function it appears in.)
i830_video.c: In function ‘drmmode_overlay_update_attrs’:
i830_video.c:230: error: storage size of ‘attrs’ isn’t known
i830_video.c:233: error: ‘I915_OVERLAY_UPDATE_ATTRS’ undeclared (first 
use in this function)
i830_video.c:245: error: ‘DRM_I915_OVERLAY_ATTRS’ undeclared (first use 
in this function)
i830_video.c:230: warning: unused variable ‘attrs’
i830_video.c: In function ‘drmmode_overlay_off’:
i830_video.c:255: error: storage size of ‘request’ isn’t known
i830_video.c:260: error: ‘DRM_I915_OVERLAY_PUT_IMAGE’ undeclared (first 
use in this function)
i830_video.c:255: warning: unused variable ‘request’
i830_video.c: In function ‘drmmode_overlay_put_image’:
i830_video.c:276: error: storage size of ‘request’ isn’t known
i830_video.c:281: error: ‘I915_OVERLAY_ENABLE’ undeclared (first use in 
this function)
i830_video.c:319: error: ‘I915_OVERLAY_YUV_PLANAR’ undeclared (first use 
in this function)
i830_video.c:319: error: ‘I915_OVERLAY_YUV420’ undeclared (first use in 
this function)
i830_video.c:321: error: ‘I915_OVERLAY_YUV_PACKED’ undeclared (first use 
in this function)
i830_video.c:321: error: ‘I915_OVERLAY_YUV422’ undeclared (first use in 
this function)
i830_video.c:323: error: ‘I915_OVERLAY_Y_SWAP’ undeclared (first use in 
this function)
i830_video.c:326: error: ‘DRM_I915_OVERLAY_PUT_IMAGE’ undeclared (first 
use in this function)
i830_video.c:276: warning: unused variable ‘request’
make[3]: *** [i830_video.lo] Error 1
make[3]: Leaving directory `/home/src/xorg/xorg/driver/xf86-video-intel/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/src/xorg/xorg/driver/xf86-video-intel/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/src/xorg/xorg/driver/xf86-video-intel'
make: *** [all] Error 2

-- 

   o__
   ,>/'_         o__
   (_)\(_)       ,>/'_          o__
A day may come  (_)\(_)         ,>/'_      o__
when the courage of men fails, (_)\(_)     ,>/'_ 
when we forsake our friends and break all (_)\(_)
bonds of fellowship, but it is not this day.
It is not this day!
This day we ride!




More information about the xorg mailing list