Ubuntu will soon switch to using drm headers shipped by the kernel, but the intel driver fails to build (188.8.131.52, using libdrm master from today)
../doltcompile gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/drm -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/drm -I/usr/include/X11/dri -I../../uxa -DI830_XV -DI830_USE_XAA -DI830_USE_EXA -Wall -g -O2 -MT i830_memory.lo -MD -MP -MF .deps/i830_memory.Tpo -c -o i830_memory.lo ../../src/i830_memory.c
../../src/i830_memory.c: In function 'i830_allocator_init':
../../src/i830_memory.c:510: error: 'DRM_IOCTL_I915_GEM_INIT' undeclared (first use in this function)
../../src/i830_memory.c:510: error: (Each undeclared identifier is reported only once
../../src/i830_memory.c:510: error: for each function it appears in.)
make: *** [i830_memory.lo] Error 1
this is becoming an issue pretty quick after jaunty alpha2 which will be released this week..
Heh, building your own hacks on upstream components breaks.
I'll push a fix to drm-intel-next, but it may not land in 2.6.28.
hey, looks DRM_IOCTL_I915_GEM_EXECBUFFER is not defined too. ;)
Author: Eric Anholt <email@example.com>
Date: Wed Dec 17 22:32:14 2008 -0800
drm/i915: Add missing userland definitions for gem init/execbuffer.
fdo bug #19132.
Signed-off-by: Eric Anholt <firstname.lastname@example.org>