Summary: | Mesa 7.8.1 does not compile against libdrm 2.4.20 | ||
---|---|---|---|
Product: | Mesa | Reporter: | Evert Vorster <evorster> |
Component: | Other | Assignee: | mesa-dev |
Status: | RESOLVED WONTFIX | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Evert Vorster
2010-04-12 23:50:30 UTC
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 <krh@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 Neither of these versions are supported anymore. |
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.