https://bugs.freedesktop.org/show_bug.cgi?id=27612
--- Comment #1 from Vinson Lee <v...@vmware.com> 2010-05-03 18:00:27 PDT --- The build is probably picking up /usr/include/drm/i915_drm.h over /usr/include/libdrm/i915_drm.h, and /usr/include/drm/i915_drm.h doesn't have I915_MADV_DONTNEED. This is likely fixed by drm commit 245d6957794648d7fd83279c680fed6e4c262147, which isn't part of a released libdrm yet. Patching your pkgconfig/libdrm.pc with the equivalent fix may solve your build issue. commit 894c86e8400f13f1ee0dfe23ca4b5f98c32d9223 Author: Kristian Høgsberg <k...@bitplanet.net> Date: Fri Apr 9 16:33:38 2010 -0400 Revert "Fix pkgconfig includes for /usr/include/drm" This reverts commit 245d6957794648d7fd83279c680fed6e4c262147. libdrm now install headers in ${includedir}/libdrm and /usr/include/drm is reserved for the kernel headers. We should only ever add one of these to the CFLAGS. diff --git a/libdrm.pc.in b/libdrm.pc.in index b218d12..b46e2a6 100644 --- a/libdrm.pc.in +++ b/libdrm.pc.in @@ -7,4 +7,4 @@ Name: libdrm Description: Userspace interface to kernel DRM services Version: @PACKAGE_VERSION@ Libs: -L${libdir} -ldrm -Cflags: -I${includedir} -I${includedir}/drm -I${includedir}/libdrm +Cflags: -I${includedir} -I${includedir}/libdrm -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev