[Slackbuilds-users] Qemu-4.1.0

Duncan Roe duncan_roe at optusnet.com.au
Sat Aug 24 09:22:32 UTC 2019


On Sat, Aug 24, 2019 at 11:21:05AM +0400, MyRequiem wrote:
> Re: John Yost 24.08.2019 <a1a42c9b-0d3a-ec21-cfba-c48a9137310a at gmail.com>
>
> 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 :(

Cheers ... Duncan.


More information about the SlackBuilds-users mailing list