[Mesa-dev] [Bug 100259] [EGL] [GBM] undefined reference to `gbm_bo_create_with_modifiers'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 5 17:32:23 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=100259

--- Comment #23 from Roman Gilg <subdiff at gmail.com> ---
Sorry, that's what I forgot to mention: I compile libdrm from current master
with prefix /opt/drm.

In this case if

-L/opt/drm/lib

in the relink_command in mesa/src/gallium/targets/dri/gallium_dri.la

is before -lexpat, the install works. If it is behind -lexpat libtool doesn't
link my compiled libdrm in /opt/drm but apparently tries to link the system
ones in /usr/lib.

The problematic functionality in my case is btw not a GBM function, but some
new functions in libdrm_amdgpu.so used by the AMD drivers. But the problem in
principle is the same.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180305/6d331025/attachment.html>


More information about the mesa-dev mailing list