Ubuntu will soon switch to using drm headers shipped by the kernel, but the intel driver fails to build (2.5.99.1, 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[5]: *** [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. ;)
In drm-intel-next: commit db139d606ea25e0590373d5ce6bfc42ce317a61c Author: Eric Anholt <eric@anholt.net> 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 <eric@anholt.net>
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.