Are you sure you make &amp;&amp; make install the wayland library first, and then the demo? Also double check all environmental variables from the build tutorial. You may also add<div>PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1</div>

<div>because on my system pkg-config just skipped some libraries.</div><div><br></div><div>Regards,</div><div>Iskren<br><br><div class="gmail_quote">On Sun, Mar 13, 2011 at 8:20 PM, Matt Hoosier <span dir="ltr">&lt;<a href="mailto:matt.hoosier@gmail.com">matt.hoosier@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Verified on both counts. Mesa was built from Git head yesterday, and I inspected the sources that make up libwayland-egl.so; it&#39;s those that lack the wl_drm_interface struct.<div>

<div></div><div class="h5"><br><br><div class="gmail_quote">On Sun, Mar 13, 2011 at 8:43 AM, Marty Jack <span dir="ltr">&lt;<a href="mailto:martyj19@comcast.net" target="_blank">martyj19@comcast.net</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div><br>
<br>
On 03/13/2011 09:33 AM, Matt Hoosier wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I ran into a link error when trying to compile the demos repository according to the instructions on the Building page:<br>
&gt;<br>
&gt;   CCLD  compositor<br>
&gt;   libwayland-egl.so: undefined reference to `wl_drm_interface&#39;<br>
&gt;   make[3]: *** [compositor] Error 1<br>
&gt;<br>
&gt; All of the packages are freshly compiled from Git master as of yesterday.<br>
&gt;<br>
&gt; I found that this symbol is intending to refer to the address of a global struct provided by the core &#39;wayland&#39; package. In master of that repo, the struct is declared (but not defined). The &#39;terminal&#39; branch does have its definition, but the &#39;terminal&#39; branch looks out-of-date. (No commits since December.)<br>




&gt;<br>
&gt; Any suggestions?<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; wayland-devel mailing list<br>
&gt; <a href="mailto:wayland-devel@lists.freedesktop.org" target="_blank">wayland-devel@lists.freedesktop.org</a><br>
&gt; <a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
<br>
This is now provided by the EGL Wayland backend.  You will need a sufficiently recent Mesa git built --with-egl-platforms=wayland,drm<br>
<br>
I find that Mesa has trouble updating the .so files during make install when they already exist.  You may want to check that you are actually using the ones you built.<br>
</blockquote></div><br>
</div></div><br>_______________________________________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
<br></blockquote></div><br></div>