Verified on both counts. Mesa was built from Git head yesterday, and I inspected the sources that make up libwayland-egl.so; it's those that lack the wl_drm_interface struct.<br><br><div class="gmail_quote">On Sun, Mar 13, 2011 at 8:43 AM, Marty Jack <span dir="ltr"><<a href="mailto:martyj19@comcast.net">martyj19@comcast.net</a>></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 class="h5"><br>
<br>
On 03/13/2011 09:33 AM, Matt Hoosier wrote:<br>
> Hi,<br>
><br>
> I ran into a link error when trying to compile the demos repository according to the instructions on the Building page:<br>
><br>
> CCLD compositor<br>
> libwayland-egl.so: undefined reference to `wl_drm_interface'<br>
> make[3]: *** [compositor] Error 1<br>
><br>
> All of the packages are freshly compiled from Git master as of yesterday.<br>
><br>
> I found that this symbol is intending to refer to the address of a global struct provided by the core 'wayland' package. In master of that repo, the struct is declared (but not defined). The 'terminal' branch does have its definition, but the 'terminal' branch looks out-of-date. (No commits since December.)<br>
><br>
> Any suggestions?<br>
><br>
><br>
><br>
</div></div>> _______________________________________________<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>
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>