libwayland-egl.so missing 'wl_drm_interface'

Iskren Chernev iskren.chernev at gmail.com
Sun Mar 13 14:42:52 PDT 2011


Are you sure you make && make install the wayland library first, and then
the demo? Also double check all environmental variables from the build
tutorial. You may also add
PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
because on my system pkg-config just skipped some libraries.

Regards,
Iskren

On Sun, Mar 13, 2011 at 8:20 PM, Matt Hoosier <matt.hoosier at gmail.com>wrote:

> 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.
>
>
> On Sun, Mar 13, 2011 at 8:43 AM, Marty Jack <martyj19 at comcast.net> wrote:
>
>>
>>
>> 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.
>>
>
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20110313/37fc0406/attachment.html>


More information about the wayland-devel mailing list