<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - wayland-drm.c:110:3: error: implicit declaration of function 'wl_resource_create'"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=68262">68262</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>wayland-drm.c:110:3: error: implicit declaration of function 'wl_resource_create'
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>fabio.ped@libero.it
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Mesa core
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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:
<a href="https://launchpadlibrarian.net/147916809/buildlog_ubuntu-raring-i386.mesa_9.3~git1308190858.d13003~gd~r_FAILEDTOBUILD.txt.gz">https://launchpadlibrarian.net/147916809/buildlog_ubuntu-raring-i386.mesa_9.3~git1308190858.d13003~gd~r_FAILEDTOBUILD.txt.gz</a>

When building with wayland 1.2.0 it's OK.

If 1.2 is now required as implied by:
<a href="http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d29b5271a2e66fc78436be31ed6748ff006f0cb">http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d29b5271a2e66fc78436be31ed6748ff006f0cb</a>
then this patch should be applied:
<a href="http://lists.freedesktop.org/archives/mesa-dev/2013-August/043210.html">http://lists.freedesktop.org/archives/mesa-dev/2013-August/043210.html</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>