<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - [EGL] [GBM] undefined reference to `gbm_bo_create_with_modifiers'"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100259#c21">Comment # 21</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - [EGL] [GBM] undefined reference to `gbm_bo_create_with_modifiers'"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100259">bug 100259</a>
from <span class="vcard"><a class="email" href="mailto:subdiff@gmail.com" title="Roman Gilg <subdiff@gmail.com>"> <span class="fn">Roman Gilg</span></a>
</span></b>
<pre>I have run into the same problem when trying to compile mesa master on KDE Neon
(Ubuntu 16.04) in the gallium dri targets.
What I noticed: in the build directory at
mesa/src/gallium/targets/dri/gallium_dri.la
the relink command can be fixed manually by simply by putting one
-L/opt/drm/lib
before
-lexpat.
Note, that I don't linked against SELinux libs. If you do this the
-L/opt/drm/lib
must probably be put before the links of these libs as well.
I also wrote a patch to work around the problem for libdrm and the dri targets
similar to the one linked above:
<a href="https://lists.freedesktop.org/archives/mesa-dev/2018-March/187630.html">https://lists.freedesktop.org/archives/mesa-dev/2018-March/187630.html</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>