Bug 82635 - vmw_screen.h:100:4: error: unknown type name 'dev_t'
Summary: vmw_screen.h:100:4: error: unknown type name 'dev_t'
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: git
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: mesa-dev
QA Contact:
Keywords: regression
Depends on:
Reported: 2014-08-14 21:57 UTC by Vinson Lee
Modified: 2014-09-22 16:49 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Description Vinson Lee 2014-08-14 21:57:45 UTC
mesa: 221d9c3e9c043d96dcd0df9f996cb15daaeffe47 (master 10.3.0-devel)

MinGW build error

Making all in winsys/svga/drm
gmake[3]: Entering directory `src/gallium/winsys/svga/drm'
  CC       vmw_buffer.lo
In file included from vmw_buffer.c:51:0:
vmw_screen.h:100:4: error: unknown type name 'dev_t'
    dev_t device;
Comment 1 Emil Velikov 2014-09-22 16:49:10 UTC
Should be resolved with
commit 40bb6f93139971a459dadf88d6dfc05791071e37)

    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@lists.freedesktop.org>
    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>

Feel free to reopen if the issue is still present in 10.2/10.3 or master.

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.