[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/3] Fix libvhost-user.c compilation.
From: |
Michael S. Tsirkin |
Subject: |
Re: [PATCH 1/3] Fix libvhost-user.c compilation. |
Date: |
Fri, 7 Apr 2023 05:46:14 -0400 |
On Fri, Apr 07, 2023 at 11:29:46AM +0200, David Turner wrote:
> So it looks like that for some reason, the QEMU linux-headers directory is not
> in the include search path for this compilation command, and that the
> system-or-sysroot provided <linux/vhost.h> is picked instead. Fixing this
> might
> be a better long-term fix than what I am proposing in this patch. I am not
> sure
> how to do that yet though. Do you have any recommendations?
Check what flags are passed to the compiler :)
meson.build has:
if targetos == 'linux'
add_project_arguments('-isystem', meson.current_source_dir() /
'linux-headers',
'-isystem', 'linux-headers',
language: all_languages)
endif
--
MST
Re: [PATCH 1/3] Fix libvhost-user.c compilation., Michael S. Tsirkin, 2023/04/18
[PATCH 2/3] update-linux-headers.sh: Add missing kernel headers., David 'Digit' Turner, 2023/04/05
[PATCH 3/3] Update linux headers to v6.3rc5, David 'Digit' Turner, 2023/04/05