libwayland-egl.so missing 'wl_drm_interface'

Marty Jack martyj19 at comcast.net
Sun Mar 13 06:43:54 PDT 2011



On 03/13/2011 09:33 AM, Matt Hoosier wrote:
> Hi,
> 
> I ran into a link error when trying to compile the demos repository according to the instructions on the Building page:
> 
>   CCLD  compositor
>   libwayland-egl.so: undefined reference to `wl_drm_interface'
>   make[3]: *** [compositor] Error 1
> 
> All of the packages are freshly compiled from Git master as of yesterday.
> 
> 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.)
> 
> Any suggestions?
> 
> 
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel

This is now provided by the EGL Wayland backend.  You will need a sufficiently recent Mesa git built --with-egl-platforms=wayland,drm

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.


More information about the wayland-devel mailing list