[Mesa-dev] [PATCH 11/18] anv: automake: bring back VULKAN_ENTRYPOINT_CPPFLAGS

Emil Velikov emil.l.velikov at gmail.com
Tue May 31 11:22:06 UTC 2016


On 31 May 2016 at 12:15, Alejandro Piñeiro <apinheiro at igalia.com> wrote:
> Probably you are already aware, but just in case. Since this patch got
> committed (master commit 220d8c) mesa builds fail when using some build
> options:
>
"some build options" is the key here. What are they ?

> <skip>
>
> anv_formats.c:427:6: error: no previous prototype for
> ‘anv_GetPhysicalDeviceFormatProperties’ [-Werror=missing-prototypes]
>  void anv_GetPhysicalDeviceFormatProperties(
>       ^
> anv_formats.c:440:10: error: no previous prototype for
> ‘anv_GetPhysicalDeviceImageFormatProperties’ [-Werror=missing-prototypes]
>  VkResult anv_GetPhysicalDeviceImageFormatProperties(
>           ^
> anv_formats.c:590:6: error: no previous prototype for
> ‘anv_GetPhysicalDeviceSparseImageFormatProperties’
> [-Werror=missing-prototypes]
>  void anv_GetPhysicalDeviceSparseImageFormatProperties(
>       ^
> cc1: some warnings being treated as errors
> Makefile:1305: recipe for target 'anv_formats.lo' failed
> make[4]: *** [anv_formats.lo] Error 1
> anv_image.c:255:1: error: no previous prototype for ‘anv_CreateImage’
> [-Werror=missing-prototypes]
>  anv_CreateImage(VkDevice device,
>
Looking at these ... I'm not sure how the commit can cause such an
issue. Have you tried cleaning your srcdir (via git clean -fxd) and
your builddir ?
If that does not help can you attach your generated anv_entrypoints.[ch]

Thanks
Emil


More information about the mesa-dev mailing list