[Mesa-dev] [Bug 82539] vmw_screen_dri.lo In file included from vmw_screen_dri.c:41: vmwgfx_drm.h:32:17: error: drm.h: No such file or directory

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Sep 9 13:27:02 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=82539

Emil Velikov <emil.l.velikov at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #12 from Emil Velikov <emil.l.velikov at gmail.com> ---
While vmwgfx does not depend on libdrm for their header, they do depend on it
for the normal headers as well as linking purposes. The following commit should
appropriately error out.

commit 40bb6f93139971a459dadf88d6dfc05791071e37
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Fri Sep 5 14:06:20 2014 +0100

    configure: bail out if building svga without libdrm

    With recent commit we removed the NEED_NONNULL_WINSYS checks when
    selecting the hardware (inc svga) winsys. svga has only one winsys
    that explicitly requires libdrm (via it's bundled version of
    vmwgfx_drm.h) but configure.ac never really checks for it.

    Add the check early to prevent people from shooting themselves when
    they select the driver but lack libdrm.

    $ ./autogen.sh --disable-dri --disable-egl --disable-gallium-llvm
    --with-dri-drivers=swrast --with-gallium-drivers=svga,swrast

    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82539
    Cc: "10.2 10.3" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140909/7aab5845/attachment.html>


More information about the mesa-dev mailing list