[Slackbuilds-users] Qemu-4.1.0

Matteo Bernardini matteo.bernardini at gmail.com
Sat Aug 24 08:51:59 UTC 2019


Il giorno sab 24 ago 2019 alle ore 09:21 MyRequiem
<mrvladislavovich at gmail.com> ha scritto:
>
> 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

I think this happens because of the introduction of vhost-user-gpu

https://patchwork.kernel.org/cover/10941551/

this seems to require a newer version of the gbm library (part of
mesa) than the one shipped with 14.2.

Matteo


More information about the SlackBuilds-users mailing list