Mesa installation - Facing issues

sathishkumar sivagurunathan <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <CAMuvCpz=bNM0kTeUv4msQJAwH5aNP2M9WWhsYy4b1_+gX8JK3w@mail.gmail.com>
Hi,

 I am trying to build mesa with Wayland having x11 as backend. During the
make process, I am facing a few errors.

egl_dri2.c: In function 'dri2_bind_wayland_display_wl':

egl_dri2.c:1884:4: error: implicit declaration of function 'drmGetCap'
[-Werror=implicit-function-declaration]

    ret = drmGetCap(dri2_dpy->fd, DRM_CAP_PRIME, &cap);

    ^

egl_dri2.c:1899:16: error: 'struct dri2_egl_display' has no member named
'gbm_dri'

    if (dri2_dpy->gbm_dri)

                ^

egl_dri2.c:1900:15: error: 'struct dri2_egl_display' has no member named
'gbm_dri'

       dri2_dpy->gbm_dri->wl_drm = dri2_dpy->wl_server_drm;

               ^

cc1: some warnings being treated as errors

make[4]: *** [egl_dri2.lo] Error 1

make[4]: *** Waiting for unfinished jobs....

make[4]: Leaving directory
`/home/sathish/Desktop/layer_management-1_2/work/mesa/src/egl/drivers/dri2'

make[3]: *** [all-recursive] Error 1

make[3]: Leaving directory
`/home/sathish/Desktop/layer_management-1_2/work/mesa/src/egl/drivers'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory
`/home/sathish/Desktop/layer_management-1_2/work/mesa/src/egl'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory
`/home/sathish/Desktop/layer_management-1_2/work/mesa/src'

make: *** [all-recursive] Error 1

Can anybody help me with this,

Thanks,
Sathish

_______________________________________________
mesa-users mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.