On 2013-04-29 22:30, Gabriel L. Somlo wrote: > On Mon, Apr 29, 2013 at 10:09:42PM +0200, Jan Kiszka wrote: >> On 2013-04-29 21:44, Gabriel L. Somlo wrote: >>> On Mon, Apr 29, 2013 at 09:06:37PM +0200, Jan Kiszka wrote: >>>>> Bisect says that commit 4fb60de74f93a601775dbda053b3237634d7a417 >> Linking should work as well, though is unnecessary: >> >> make LINUX=/path/to/your/repo sync >> >> That's what I'm doing all the time to test my kvm hacks on my >> not-so-recent host kernel. > > OK, I "git clone"d both kvm and kvm-kmod right alongside each other in > a test directory. I then went into kvm-kmod, and did > > ./configure > make LINUX=../kvm sync > make > > and got the same error as before: > > > make -C /lib/modules/3.8.9-200.fc18.x86_64/build M=`pwd` \ > LINUXINCLUDE="-I`pwd`/include -I`pwd`/include/uapi -Iinclude \ > -Iinclude2 > -I/lib/modules/3.8.9-200.fc18.x86_64/source/include > -I/lib/modules/3.8.9-200.fc18.x86_64/source/include/uapi > -I/lib/modules/3.8.9-200.fc18.x86_64/source/arch/x86/include > -I/lib/modules/3.8.9-200.fc18.x86_64/source/arch/x86/include/uapi \ > -Iinclude/generated/uapi -Iarch/x86/include/generated > \ > -Iarch/x86/include/generated/uapi \ > -I`pwd`/include-compat -I`pwd`/x86 \ > -include include/generated/autoconf.h \ > -include `pwd`/x86/external-module-compat.h" \ > "$@" > make[1]: Entering directory `/usr/src/kernels/3.8.9-200.fc18.x86_64' > make[3]: *** No rule to make target > `/home/somlo/FOO/kvm-kmod/x86/irqchip.o', needed by > `/home/somlo/FOO/kvm-kmod/x86/kvm.o'. Stop. > make[2]: *** [/home/somlo/FOO/kvm-kmod/x86] Error 2 > make[1]: *** [_module_/home/somlo/FOO/kvm-kmod] Error 2 > make[1]: Leaving directory `/usr/src/kernels/3.8.9-200.fc18.x86_64' > make: *** [all] Error 2 > > > This happens when I symlink (or use LINUX=../kvm with "make sync"), > but works OK with "git submodule update --init" (which I'd rather > avoid if possible). I dare to say that ../kvm/virt/kvm/irqchip.c does not exit, thus your external kvm directory is not recent enough. Jan
Attachment:
signature.asc
Description: OpenPGP digital signature