<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:jfonseca@vmware.com" title="José Fonseca <jfonseca@vmware.com>"> <span class="fn">José Fonseca</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW --- - loader.c:71:19: fatal error: dlfcn.h: No such file or directory"
href="https://bugs.freedesktop.org/show_bug.cgi?id=74122">bug 74122</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>brianp@vmware.com, emil.l.velikov@gmail.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - loader.c:71:19: fatal error: dlfcn.h: No such file or directory"
href="https://bugs.freedesktop.org/show_bug.cgi?id=74122#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - loader.c:71:19: fatal error: dlfcn.h: No such file or directory"
href="https://bugs.freedesktop.org/show_bug.cgi?id=74122">bug 74122</a>
from <span class="vcard"><a class="email" href="mailto:jfonseca@vmware.com" title="José Fonseca <jfonseca@vmware.com>"> <span class="fn">José Fonseca</span></a>
</span></b>
<pre><span class="quote">> Why is DRI code being built for a windows target? Sounds like scons's windows build is wrong.</span >
Yes, it appears that there is no point to build loader for windows.
However egl-static was supposed to buil on Windows and it is now hardcoded to
depend on loader:
Linking build/windows-x86-debug/gallium/targets/egl-static/libEGL.dll ...
build/windows-x86-debug/gallium/targets/egl-static/egl.o: In function
`create_drm_screen':
/home/jfonseca/projects/opengl/mesa/src/gallium/targets/egl-static/egl.c:64:
undefined reference to `_loader_get_driver_for_fd'
build/windows-x86-debug/gallium/targets/egl-static/egl.o: In function
`loader_init':
/home/jfonseca/projects/opengl/mesa/src/gallium/targets/egl-static/egl.c:99:
undefined reference to `_loader_set_logger'
collect2: ld returned 1 exit status
scons: *** [build/windows-x86-debug/gallium/targets/egl-static/libEGL.dll]
Error 1
Not sure what to do here.
I suspect I'll have to revert
<a href="http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9800242244098fddcd2b963d8f5ccda5dea8290">http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9800242244098fddcd2b963d8f5ccda5dea8290</a>
and a few more until the cross-platform portability of loader is addressed.
Emil, if you could into this it would be appreciated. To repro all you need is
cross-mingw compilers installed, and do
scons platform=windows toolchain=crossmingw</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>