[Mesa-dev] [Bug 68262] New: wayland-drm.c:110:3: error: implicit declaration of function 'wl_resource_create'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 19 01:20:37 PDT 2013


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

          Priority: medium
            Bug ID: 68262
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: wayland-drm.c:110:3: error: implicit declaration of
                    function 'wl_resource_create'
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: fabio.ped at libero.it
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: git
         Component: Mesa core
           Product: Mesa

I am getting this compile error on current git with wayland 1.1.0:
  CC     wayland-drm.lo
wayland-drm.c: In function 'create_buffer':
wayland-drm.c:110:3: error: implicit declaration of function
'wl_resource_create' [-Werror=implicit-function-declaration]
wayland-drm.c:109:19: warning: assignment makes pointer from integer without a
cast [enabled by default]
wayland-drm.c:117:2: error: implicit declaration of function
'wl_resource_set_implementation' [-Werror=implicit-function-declaration]
wayland-drm.c: In function 'bind_drm':
wayland-drm.c:214:11: warning: assignment makes pointer from integer without a
cast [enabled by default]
wayland-drm.c:217:3: error: implicit declaration of function
'wl_client_post_no_memory' [-Werror=implicit-function-declaration]
wayland-drm.c: In function 'wayland_drm_buffer_get':
wayland-drm.c:251:2: error: implicit declaration of function
'wl_resource_instance_of' [-Werror=implicit-function-declaration]
wayland-drm.c:253:3: error: implicit declaration of function
'wl_resource_get_user_data' [-Werror=implicit-function-declaration]
wayland-drm.c:253:3: warning: return makes pointer from integer without a cast
[enabled by default]
wayland-drm.c: In function 'wayland_drm_init':
wayland-drm.c:273:2: error: implicit declaration of function 'wl_global_create'
[-Werror=implicit-function-declaration]

Full log here:
https://launchpadlibrarian.net/147916809/buildlog_ubuntu-raring-i386.mesa_9.3~git1308190858.d13003~gd~r_FAILEDTOBUILD.txt.gz

When building with wayland 1.2.0 it's OK.

If 1.2 is now required as implied by:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d29b5271a2e66fc78436be31ed6748ff006f0cb
then this patch should be applied:
http://lists.freedesktop.org/archives/mesa-dev/2013-August/043210.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130819/bbd1384d/attachment.html>


More information about the mesa-dev mailing list