I made some progress,but unfortunately I've got an error :
root@devuan:~/Desktop/qemu-v5.1.0# ./configure --target-list=arm-softmmu --enable-opengl --enable-gtk --enable-kvm --enable-guest-agent --enable-spice --audio-drv-list="oss pa" --enable-libusb
no errors here.
root@devuan:~/Desktop/qemu-v5.1.0# make
.......
CC hw/usb/hcd-xhci.o
hw/usb/hcd-xhci.c: In function ‘usb_xhci_realize’:
hw/usb/hcd-xhci.c:3358:66: error: ‘%d’ directive output may be truncated writing between 1 and 8 bytes into a region of size 5 [-Werror=format-truncation=]
3358 | snprintf(port->name, sizeof(port->name), "usb2 port #%d", i+1);
| ^~
hw/usb/hcd-xhci.c:3358:54: note: directive argument in the range [1, 89478486]
3358 | snprintf(port->name, sizeof(port->name), "usb2 port #%d", i+1);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:867,
from /root/Desktop/qemu-v5.1.0/include/qemu/osdep.h:85,
from hw/usb/hcd-xhci.c:22:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 13 and 20 bytes into a destination of size 16
67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hw/usb/hcd-xhci.c:3372:66: error: ‘%d’ directive output may be truncated writing between 1 and 8 bytes into a region of size 5 [-Werror=format-truncation=]
3372 | snprintf(port->name, sizeof(port->name), "usb3 port #%d", i+1);
| ^~
hw/usb/hcd-xhci.c:3372:54: note: directive argument in the range [1, 89478486]
3372 | snprintf(port->name, sizeof(port->name), "usb3 port #%d", i+1);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:867,
from /root/Desktop/qemu-v5.1.0/include/qemu/osdep.h:85,
from hw/usb/hcd-xhci.c:22:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 13 and 20 bytes into a destination of size 16
67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Mario.