[Slackbuilds-users] Qemu-4.1.0

Willy Sudiarto Raharjo willysr at slackbuilds.org
Sat Aug 24 12:42:25 UTC 2019


>> I have the same problem (Slackware64 14.2)
>>
>>> The slackbuild fails for me with:
>>>
>>> contrib/vhost-user-gpu/vugbm.c: In function 'map_bo':
>>> contrib/vhost-user-gpu/vugbm.c:161:17: warning: implicit declaration of
>>> function 'gbm_bo_map' [-Wimplicit-function-declaration]
>>>     buf->mmap = gbm_bo_map(buf->bo, 0, 0, buf->width, buf->height,
>>>                 ^
>>> contrib/vhost-user-gpu/vugbm.c:161:5: warning: nested extern declaration
>>> of 'gbm_bo_map' [-Wnested-externs]
>>>     buf->mmap = gbm_bo_map(buf->bo, 0, 0, buf->width, buf->height,
>>>     ^
>>> 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,
>>>                            ^
>>> contrib/vhost-user-gpu/vugbm.c:162:28: note: each undeclared identifier
>>> is reported only once for each function it appears in
>>> contrib/vhost-user-gpu/vugbm.c: In function 'unmap_bo':
>>> contrib/vhost-user-gpu/vugbm.c:173:5: warning: implicit declaration of
>>> function 'gbm_bo_unmap' [-Wimplicit-function-declaration]
>>>     gbm_bo_unmap(buf->bo, buf->mmap_data);
>>>     ^
>>> contrib/vhost-user-gpu/vugbm.c:173:5: warning: nested extern declaration
>>> of 'gbm_bo_unmap' [-Wnested-externs]
>>> /tmp/SBo/qemu-4.1.0/rules.mak:69: recipe for target
>>> 'contrib/vhost-user-gpu/vugbm.o' failed
>>> make: *** [contrib/vhost-user-gpu/vugbm.o] Error 1
>>>
>>> Any suggestions ?
>>> Thanks in Advance
>>> --
>>> John David Yost
>>> AlleyTrotter
>>> pub   2048D/F3BDEB55 2014-05-23 [expires: Never]
>>
> The missing gbm_bo_map() and GBM_BO_TRANSFER_READ_WRITE are satisfied by a newer
> version of mesa than comes with 14.2 (or Current which has the same version of
> mesa)
> 
> I don't have time to pursue this further at present :(

I have just tested in my 14.2 VM and it built fine

SDL2:
  MD5SUM check for SDL2-2.0.9.tar.gz ... OK
  Building package SDL2-2.0.9-x86_64-1_SBo.tgz ... OK
  Installing package SDL2-2.0.9-x86_64-1_SBo.tgz ... OK

qemu:
  MD5SUM check for qemu-4.1.0.tar.xz ... OK
  Building package qemu-4.1.0-x86_64-1_SBo.tgz ... OK
  Installing package qemu-4.1.0-x86_64-1_SBo.tgz ... OK


-- 
Willy Sudiarto Raharjo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20190824/070d7efd/attachment-0001.asc>


More information about the SlackBuilds-users mailing list