<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Vulkan fails to build with Wayland errors"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=95046">95046</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Vulkan fails to build with Wayland errors
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/Vulkan/intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>jason@jlekstrand.net
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>nanleychery@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>With commit 3caf2e89aa1711e80db80d2056e0a44663d9c7d2
 anv: fix build without Wayland platform 

I can no longer build Mesa. I get the following error output:

  CC       libvulkan_intel_la-anv_allocator.lo
In file included from anv_private.h:60:0,
                 from anv_allocator.c:37:
anv_entrypoints.h:164:73: error: unknown type name
‘VkWaylandSurfaceCreateInfoKHR’
          VkResult (*CreateWaylandSurfaceKHR)(VkInstance instance, const
VkWaylandSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks*
pAllocator, VkSurfaceKHR* pSurface);
                                                                         ^
anv_entrypoints.h:1120:65: error: unknown type name
‘VkWaylandSurfaceCreateInfoKHR’
 VkResult anv_CreateWaylandSurfaceKHR(VkInstance instance, const
VkWaylandSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks*
pAllocator, VkSurfaceKHR* pSurface);
                                                                 ^
anv_entrypoints.h:1121:66: error: unknown type name
‘VkWaylandSurfaceCreateInfoKHR’
 VkResult gen7_CreateWaylandSurfaceKHR(VkInstance instance, const
VkWaylandSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks*
pAllocator, VkSurfaceKHR* pSurface);
                                                                  ^
anv_entrypoints.h:1122:67: error: unknown type name
‘VkWaylandSurfaceCreateInfoKHR’
 VkResult gen75_CreateWaylandSurfaceKHR(VkInstance instance, const
VkWaylandSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks*
pAllocator, VkSurfaceKHR* pSurface);
                                                                   ^
anv_entrypoints.h:1123:66: error: unknown type name
‘VkWaylandSurfaceCreateInfoKHR’
 VkResult gen8_CreateWaylandSurfaceKHR(VkInstance instance, const
VkWaylandSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks*
pAllocator, VkSurfaceKHR* pSurface);
                                                                  ^
anv_entrypoints.h:1124:66: error: unknown type name
‘VkWaylandSurfaceCreateInfoKHR’
 VkResult gen9_CreateWaylandSurfaceKHR(VkInstance instance, const
VkWaylandSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks*
pAllocator, VkSurfaceKHR* pSurface);
                                                                  ^
anv_entrypoints.h:1125:74: error: unknown type name
‘VkWaylandSurfaceCreateInfoKHR’
 VkResult anv_validate_CreateWaylandSurfaceKHR(VkInstance instance, const
VkWaylandSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks*
pAllocator, VkSurfaceKHR* pSurface);
                                                                          ^
Makefile:1401: recipe for target 'libvulkan_intel_la-anv_allocator.lo' failed
make[5]: *** [libvulkan_intel_la-anv_allocator.lo] Error 1
make[5]: Leaving directory '/home/nchery/repos/fdo/mesa/src/intel/vulkan'
Makefile:1658: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/home/nchery/repos/fdo/mesa/src/intel/vulkan'
Makefile:838: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/home/nchery/repos/fdo/mesa/src/intel/vulkan'
Makefile:550: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/nchery/repos/fdo/mesa/src/intel'
Makefile:690: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/nchery/repos/fdo/mesa/src'
Makefile:639: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>