[Wayland-bugs] [Bug 48627] New: wayland-drm.c (in mesa) fails to compile (incompatible with wl_resource_destroy function signature)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 12 19:47:38 PDT 2012


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

             Bug #: 48627
           Summary: wayland-drm.c (in mesa) fails to compile (incompatible
                    with wl_resource_destroy function signature)
    Classification: Unclassified
           Product: Wayland
           Version: unspecified
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: wayland
        AssignedTo: wayland-bugs at lists.freedesktop.org
        ReportedBy: ullysses.a.eoff at intel.com


The current (as of this bug filing) mesa and wayland master HEAD's...

mesa (master) 6f03692775ed49035802d660516b7d7464c7a1ad
wayland (master) 18a770c80d59ef672e54688761bc8d0d9e660e12

...aren't compatible with one another. Mesa
egl/wayland/wayland-drm/wayland-drm.c fails to compile due to a change in the
wl_resource_destroy function signature (at wayland master commit
6802eaa68af90227b6614a84e7d3129e1f7a8303).

The following is the error output when compiling mesa with flags
"--enable-gles2 --disable-gallium-egl --with-egl-platforms=x11,wayland,drm
--enable-gbm --enable-shared-glapi":

...

gmake[2]: Entering directory `/home/uartie/wayland/src/mesa/src/egl'
gmake[3]: Entering directory `/home/uartie/wayland/src/mesa/src/egl/wayland'
Making all in wayland-drm
gmake[4]: Entering directory
`/home/uartie/wayland/src/mesa/src/egl/wayland/wayland-drm'
  GEN    wayland-drm-protocol.c
  GEN    wayland-drm-client-protocol.h
  GEN    wayland-drm-server-protocol.h
gmake  all-am
gmake[5]: Entering directory
`/home/uartie/wayland/src/mesa/src/egl/wayland/wayland-drm'
  CC     wayland-drm.lo
  CC     wayland-drm-protocol.lo
wayland-drm.c: In function 'buffer_destroy':
wayland-drm.c:70:2: error: too many arguments to function 'wl_resource_destroy'
/home/uartie/wayland/install/include/wayland-server.h:304:1: note: declared
here
gmake[5]: *** [wayland-drm.lo] Error 1
gmake[5]: Leaving directory
`/home/uartie/wayland/src/mesa/src/egl/wayland/wayland-drm'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory
`/home/uartie/wayland/src/mesa/src/egl/wayland/wayland-drm'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/home/uartie/wayland/src/mesa/src/egl/wayland'
gmake[2]: *** [subdirs] Error 1
gmake[2]: Leaving directory `/home/uartie/wayland/src/mesa/src/egl'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/uartie/wayland/src/mesa/src'
make: *** [default] Error 1

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Wayland-bugs mailing list