[Mesa-dev] Mesa master branch vulkan/build question

Mike Lothian mike at fireburn.co.uk
Thu Aug 2 16:55:21 UTC 2018


Which distro are you using?

On Thu, 2 Aug 2018 at 17:35 Guang Bai <guang.bai at intel.com> wrote:

> This is the reason for me to look for helps from our mesa-dev community.
> Thanks,
> Guang
>
> On Thu, 2 Aug 2018 17:10:16 +0100
> Mike Lothian <mike at fireburn.co.uk> wrote:
>
> > Yeah the lease stuff was added in the newer version of xcb-protos I
> > think, I'm surprised the configure didn't error out
> >
> > On Thu, 2 Aug 2018, 17:07 Guang Bai, <guang.bai at intel.com> wrote:
> >
> > > On Thu, 2 Aug 2018 16:54:58 +0100
> > > Mike Lothian <mike at fireburn.co.uk> wrote:
> > >
> > > > Hi
> > > My mesa build was ok with 18.1 and previous versions and it's just
> > > broken with latest master and 18.2.
> > >
> > > Here are my build errors with 18.2 & master -
> > >
> > > Thanks,
> > > Guang
> > >
> > >  Making all in vulkan
> > > make[3]: Entering directory '.../mesa/src/vulkan'
> > >   CC       wsi/wsi_common_display.lo
> > >   CCLD     libvulkan_util.la
> > > ar: `u' modifier ignored since `D' is the default (see `U')
> > > wsi/wsi_common_display.c:1134:4: error: unknown field
> > > ‘sequence_handler’ specified in initializer
> > >     .sequence_handler = wsi_display_sequence_handler,
> > >     ^
> > > wsi/wsi_common_display.c:1134:24: warning: initialization from
> > > incompatible pointer type [-Wincompatible-pointer-types]
> > >     .sequence_handler = wsi_display_sequence_handler,
> > >                         ^
> > > wsi/wsi_common_display.c:1134:24: note: (near initialization for
> > > ‘event_context.page_flip_handler’)
> > > wsi/wsi_common_display.c: In function ‘wsi_register_vblank_event’:
> > > wsi/wsi_common_display.c:1516:17: error: implicit declaration of
> > > function
> > > ‘drmCrtcQueueSequence’ [-Werror=implicit-function-declaration] int
> > > ret = drmCrtcQueueSequence(wsi->fd, connector->crtc_id, ^
> > > wsi/wsi_common_display.c: In function ‘wsi_acquire_xlib_display’:
> > > wsi/wsi_common_display.c:2307:4: error: unknown type name
> > > ‘xcb_randr_lease_t’
> > >     xcb_randr_lease_t lease = xcb_generate_id(connection);
> > >     ^
> > > wsi/wsi_common_display.c:2308:4: error: unknown type name
> > > ‘xcb_randr_create_lease_cookie_t’
> > >     xcb_randr_create_lease_cookie_t cl_c =
> > >     ^
> > > wsi/wsi_common_display.c:2309:7: error: implicit declaration of
> > > function
> > > ‘xcb_randr_create_lease’ [-Werror=implicit-function-declaration]
> > > xcb_randr_create_lease(connection, root, lease, 1, 1, ^
> > > wsi/wsi_common_display.c:2311:4: error: unknown type name
> > > ‘xcb_randr_create_lease_reply_t’
> > >     xcb_randr_create_lease_reply_t *cl_r =
> > >     ^
> > > wsi/wsi_common_display.c:2312:7: error: implicit declaration of
> > > function
> > > ‘xcb_randr_create_lease_reply’ [-Werror=implicit-function-declaration]
> > > xcb_randr_create_lease_reply(connection, cl_c, NULL); ^
> > > wsi/wsi_common_display.c:2312:7: warning: initialization makes
> > > pointer from integer without a cast [-Wint-conversion]
> > > wsi/wsi_common_display.c:2317:12: error: request for member ‘nfd’ in
> > > something not a structure or union
> > >     if (cl_r->nfd > 0) {
> > >             ^
> > > wsi/wsi_common_display.c:2318:20: error: implicit declaration of
> > > function
> > > ‘xcb_randr_create_lease_reply_fds’
> [-Werror=implicit-function-declaration]
> > > int *rcl_f = xcb_randr_create_lease_reply_fds(connection, cl_r); ^
> > > wsi/wsi_common_display.c:2318:20: warning: initialization makes
> > > pointer from integer without a cast [-Wint-conversion]
> > > wsi/wsi_common_display.c: In function ‘wsi_get_swapchain_counter’:
> > > wsi/wsi_common_display.c:2456:14: error: implicit declaration of
> > > function
> > > ‘drmCrtcGetSequence’ [-Werror=implicit-function-declaration] int
> > > ret = drmCrtcGetSequence(wsi->fd, connector->crtc_id, value, NULL);
> > > ^ cc1: some warnings being treated as errors
> > > Makefile:743: recipe for target 'wsi/wsi_common_display.lo' failed
> > > make[3]: *** [wsi/wsi_common_display.lo] Error 1
> > >
> > > > It would be helpful if you posted the failure output, without it
> > > > its difficult to diagnose
> > > >
> > > > I'm not seeing any issues with the master branch on the meson
> > > > build
> > > >
> > > > Is this your first time building mesa, or has something suddenly
> > > > stopped working?
> > > >
> > > > Cheers
> > > >
> > > > Mike
> > > >
> > > > On Thu, 2 Aug 2018 at 16:46 Guang Bai <guang.bai at intel.com> wrote:
> > > >
> > > > > All,
> > > > >
> > > > > I'm seeing build failures on mesa 18.2 & master branches with
> > > > > "--with-vulkan-drivers=intel"
> > > > >
> > > > > And also notice some web-posting that libxcb-xrandr 1.13 would
> > > > > be needed to get the build successful.
> > > > >
> > > > > What's the correct solution for my build issue?
> > > > > (I'm still new to mesa)
> > > > >
> > > > > Thanks!
> > > > > Guang
> > > > > _______________________________________________
> > > > > mesa-dev mailing list
> > > > > mesa-dev at lists.freedesktop.org
> > > > > https://lists.freedesktop.org/mailman/listinfo/mesa-dev
> > > > >
> > >
> > >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180802/fe0bce1d/attachment-0001.html>


More information about the mesa-dev mailing list