On 25.07.2018 12:48, Marcel Apfelbaum wrote: > Hi, > > On 07/25/2018 10:32 AM, Thomas Huth wrote: >> On 25.07.2018 06:47, Rebecca Cran wrote: >>> In commit 18a398f6a39df4b08ff86ac0d38384193ca5f4cc, ./configure on >>> FreeBSD incorrectly detects RDMA support, > > configure is looking for the rdma related libraries, if they are there, > the rdma code will be compiled into QEMU. > > You can try and run configure with --disable-rdma flag until we find > a solution. > >>> with the build subsequently >>> failing with: >>> >>> /home/bcran/workspace/qemu/hw/rdma/vmw/pvrdma_cmd.c:19:10: fatal error: >>> 'linux/types.h' file not found >>> #include <linux/types.h> >>> ^~~~~~~~~~~~~~~ > Do you have the kernel-headers package installed?
Note that the error has been reported to happen on FreeBSD - so I doubt that this <linux/types.h> header should be here. Anyway, our include/standard-headers/linux/types.h is also empty ... so could you try whether it compiles if you simply remove this #include line, Rebecca? Thomas