libwayland-egl.so missing 'wl_drm_interface'
Matt Hoosier
matt.hoosier at gmail.com
Sun Mar 13 16:23:20 PDT 2011
I had done all that, but was still getting the error. Finally I tracked it
down to what appears to be an internal Makefile problem in Mesa's
libwayland-egl directory. libwayland-drm.a provides this symbol, but wasn't
getting linked into the overall libwayland-egl.so binary. See the attached
proposed patch.
On Sun, Mar 13, 2011 at 4:42 PM, Iskren Chernev <iskren.chernev at gmail.com>wrote:
> 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/a87ca4ff/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Remember-to-link-DRM-implementation-into-libwayland-.patch
Type: text/x-patch
Size: 808 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20110313/a87ca4ff/attachment.bin>
More information about the wayland-devel
mailing list