On Wed, Aug 25, 2010 at 10:21:18AM -0700, Hollis Blanchard wrote: > On 08/24/2010 05:55 PM, Hollis Blanchard wrote: > > > >The problem seems to be that jump from > >/usr/include/bits/sigcontext.h to asm/sigcontext.h inside > ><kerneldir> rather than inside /usr/include. It seems like adding > >-Ikerneldir/arch/foo/include will always be a problem, since it > >will always be used to satisfy "#include <asm/bar.h>". Only files > >built with KVM_CFLAGS would be affected, and I guess vhost_net.c > >accidentally gets into a broken include path where the other > >KVM_CFLAGS files doesn't. > > Small correction: kvm.c doesn't build either (when I configure > --disable-vhost-net). > I just add --extra-cflags=-D__EXPORTED_HEADERS__ to ./configure
-- Gleb.