[Mesa-dev] [Bug 74122] loader.c:71:19: fatal error: dlfcn.h: No such file or directory

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jan 28 00:36:04 PST 2014


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

José Fonseca <jfonseca at vmware.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brianp at vmware.com,
                   |                            |emil.l.velikov at gmail.com

--- Comment #2 from José Fonseca <jfonseca at vmware.com> ---
> Why is DRI code being built for a windows target?  Sounds like scons's windows build is wrong.


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
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9800242244098fddcd2b963d8f5ccda5dea8290
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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140128/f930c643/attachment-0001.html>


More information about the mesa-dev mailing list