Help on Meson build Error
abologna at redhat.com
Fri Sep 25 07:56:34 UTC 2020
On Fri, 2020-09-25 at 10:33 +0800, Wei Wang wrote:
> In file included from ../src/util/virfile.c:42:
> /usr/include/libutil.h:43:10: fatal error: sys/_types.h: No such file or directory
> 43 | #include <sys/_types.h>
> | ^~~~~~~~~~~~~~
> compilation terminated.
> [51/908] Compiling C object src/qemu/libvirt_driver_qemu_impl.a.p/qemu_driver.c.o
> ninja: build stopped: subcommand failed
> I have /usr/include/sys/types.h, but no "_types.h"
Are you building on FreeBSD? Because that's where we expect
<libutil.h> to be included. If you're not on FreeBSD, can you check
which package /usr/include/libutil.h belongs to?
Andrea Bolognani / Red Hat / Virtualization
More information about the libvir-list