On 8/23/19 9:03 PM, John Yost wrote:
> The slackbuild fails for me with:
>...
>      
> contrib/vhost-user-gpu/vugbm.c:162:28: error:
> 'GBM_BO_TRANSFER_READ_WRITE' undeclared (first use in this function)
>                             GBM_BO_TRANSFER_READ_WRITE, &stride,
>                             ^


Well, the slackbuild is fine and qemu is fine.  The error above is
because 14.2's mesa-11.2.2 is too old.  qemu with virglrenderer expects
to use mesa's GBM (Graphics Buffer Manager) and gbm_bo_* is declared in
mesa source:

.../src/gbm/main/gbm.h

GBM_BO_TRANSFER_* etc were committed on May 3, 2016
but not added until release mesa-12.0.0

Either upgrade mesa (hint: Mako is required), upgrade to
Slackware-current or revert to an earlier qemu.

"not a bug - won't fix."


Admins,
Patch attached for the qemu README.
diff --git a/system/qemu/README b/system/qemu/README
index e695450310..5ee0f972a4 100644
--- a/system/qemu/README
+++ b/system/qemu/README
@@ -43,6 +43,10 @@ libiscsi, libcacard, spice, usbredir, virglrenderer,
 device-tree-compiler, libnfs, snappy, glusterfs and vde2 are optional
 dependencies.
 
+NOTE: 
+To compile with virglrenderer, you will need to upgrade to
+mesa-12.0.0 or higher.
+
 Sphinx is optional but required in order for any of the documentation to be
 built. 
 

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
SlackBuilds-users mailing list
[email protected]
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/

Reply via email to