[Slackbuilds-users] Qemu-4.1.0

King Beowulf kingbeowulf at gmail.com
Sun Aug 25 07:43:16 UTC 2019

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:


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."

Patch attached for the qemu README.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qemu_README-virgl.patch
Type: text/x-patch
Size: 481 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20190825/b521f1b0/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20190825/b521f1b0/attachment-0001.asc>

More information about the SlackBuilds-users mailing list