When I try to build QIRA with ./install.sh, I get the following error.
util/memfd.c:43:12: error: static declaration of ‘memfd_create’ follows non-static declaration
43 | static int memfd_create(const char *name, unsigned int flags)
| ^~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/mman-linux.h:113,
from /usr/include/x86_64-linux-gnu/bits/mman.h:34,
from /usr/include/x86_64-linux-gnu/sys/mman.h:41,
from /root/qira-1.3/tracers/qemu/qemu-latest/include/qemu/osdep.h:142,
from util/memfd.c:28:
/usr/include/x86_64-linux-gnu/bits/mman-shared.h:50:5: note: previous declaration of ‘memfd_create’ was here
50 | int memfd_create (const char *__name, unsigned int __flags) __THROW;
| ^~~~~~~~~~~~
When I try to build QIRA with ./install.sh, I get the following error.