[Mesa-users] Troublebuilding

Jason Gauthier jagauthier at gmail.com
Sun Mar 15 12:57:29 UTC 2020


Greetings,

  I am building from source, because my platform does not have a
distribution system (it's yocto on an embedded system).

I've build many of the dependencies already. But I can't build mesa, and
I'm not sure what it can't find.  My searches haven't reveled anything
relevant/recent.

First:
meson  -Dvalgrind=false  -Dlibunwind=false builddir/
Followed by ninja

After building for quite a while, there is a linker error when linking
libgallium_dri.so:

src/gallium/state_trackers/dri/libdri.a(dri2.c.o): In function
`dri2_interop_export_object':
/usr/src/mesa-20.0.1/builddir/../src/gallium/state_trackers/dri/dri2.c:1813:
undefined reference to `st_finalize_texture'
src/gallium/state_trackers/dri/libdri.a(dri_screen.c.o): In function
`dri_init_screen_helper':
/usr/src/mesa-20.0.1/builddir/../src/gallium/state_trackers/dri/dri_screen.c:580:
undefined reference to `st_gl_api_create'
collect2: error: ld returned 1 exit status

Appreciate any help! Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-users/attachments/20200315/a66c7381/attachment.htm>


More information about the mesa-users mailing list