[Mesa-dev] [Bug 107170] Build fails if building against X server/libxrandr with no leases support

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jul 9 20:58:33 UTC 2018


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

            Bug ID: 107170
           Summary: Build fails if building against X server/libxrandr
                    with no leases support
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: network723 at rkmail.ru
        QA Contact: mesa-dev at lists.freedesktop.org

With recent Mesa-git versions build fails when building against X.Org 1.18.3
and libXrandr 1.5.0

[  204s]   CC       util/vk_enum_to_str.lo
[  204s] wsi/wsi_common_display.c: In function 'wsi_acquire_xlib_display':
[  204s] wsi/wsi_common_display.c:2164:4: error: unknown type name
'xcb_randr_lease_t'
[  204s]     xcb_randr_lease_t lease = xcb_generate_id(connection);
[  204s]     ^
[  204s] wsi/wsi_common_display.c:2165:4: error: unknown type name
'xcb_randr_create_lease_cookie_t'
[  204s]     xcb_randr_create_lease_cookie_t cl_c =
[  204s]     ^
[  204s] wsi/wsi_common_display.c:2166:7: error: implicit declaration of
function 'xcb_randr_create_lease' [-Werror=implicit-function-declaration]
[  204s]        xcb_randr_create_lease(connection, root, lease, 1, 1,
[  204s]        ^
[  204s] wsi/wsi_common_display.c:2168:4: error: unknown type name
'xcb_randr_create_lease_reply_t'
[  204s]     xcb_randr_create_lease_reply_t *cl_r =
[  204s]     ^
[  204s] wsi/wsi_common_display.c:2169:7: error: implicit declaration of
function 'xcb_randr_create_lease_reply' [-Werror=implicit-function-declaration]
[  204s]        xcb_randr_create_lease_reply(connection, cl_c, NULL);
[  204s]        ^
[  204s] wsi/wsi_common_display.c:2169:7: warning: initialization makes pointer
from integer without a cast [enabled by default]
[  204s] wsi/wsi_common_display.c:2174:12: error: request for member 'nfd' in
something not a structure or union
[  204s]     if (cl_r->nfd > 0) {
[  204s]             ^
[  204s] wsi/wsi_common_display.c:2175:7: error: implicit declaration of
function 'xcb_randr_create_lease_reply_fds'
[-Werror=implicit-function-declaration]
[  204s]        int *rcl_f = xcb_randr_create_lease_reply_fds(connection,
cl_r);
[  204s]        ^
[  204s] wsi/wsi_common_display.c:2175:20: warning: initialization makes
pointer from integer without a cast [enabled by default]
[  204s]        int *rcl_f = xcb_randr_create_lease_reply_fds(connection,
cl_r);
[  204s]                     ^
[  204s] cc1: some warnings being treated as errors
[  204s] Makefile:736: recipe for target 'wsi/wsi_common_display.lo' failed
[  204s] make[3]: *** [wsi/wsi_common_display.lo] Error 1

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180709/46f89f11/attachment.html>


More information about the mesa-dev mailing list